{"id":4221,"date":"2023-07-12T18:22:33","date_gmt":"2023-07-12T18:22:33","guid":{"rendered":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/"},"modified":"2023-07-12T18:22:33","modified_gmt":"2023-07-12T18:22:33","slug":"statistica-descrittiva-in-sas","status":"publish","type":"post","link":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/","title":{"rendered":"Come calcolare le statistiche descrittive in sas"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>Le statistiche descrittive<\/strong> sono valori che descrivono un insieme di dati.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Ci aiutano a capire dove si trova <a href=\"https:\/\/statorials.org\/it\/misura-la-tendenza-centrale\/\" target=\"_blank\" rel=\"noopener\">il centro<\/a> del set di dati e la distribuzione dei valori nel set di dati.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Esistono due modi comuni per calcolare le statistiche descrittive per le variabili in SAS:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>1.<\/strong> Utilizzare <strong>PROC MEANS<\/strong> per calcolare le statistiche riepilogative<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>2.<\/strong> Utilizzare <strong>PROC UNIVARIATE<\/strong> per calcolare statistiche descrittive dettagliate<\/span><\/p>\n<p> <span style=\"color: #000000;\">I seguenti esempi mostrano come utilizzare ciascun metodo nella pratica con il seguente set di dati in SAS:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*create dataset*\/\n<\/span><span style=\"color: #800080;\">data<\/span> my_data;\n    <span style=\"color: #3366ff;\">input<\/span> team $points assists;\n    <span style=\"color: #3366ff;\">datalines<\/span> ;\nAt 10 2\nAt 17 5\nAt 17 6\nAt 18 3\nAt 15 0\nB 10 2\nB 14 5\nB 13 4\nB 29 0\nB 25 2\nC 12 1\nC 30 1\nC 34 3\nC 12 4\nC 11 7\n;\n<span style=\"color: #800080;\">run<\/span> ;\n\n<span style=\"color: #008000;\">\/*view dataset*\/\n<\/span><span style=\"color: #800080;\">proc print<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-33383 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc1.jpg\" alt=\"\" width=\"212\" height=\"405\" srcset=\"\" sizes=\"\"><\/p>\n<h2> <strong><span style=\"color: #000000;\">Esempio 1. Utilizzare PROC MEANS per calcolare le statistiche riassuntive<\/span><\/strong><\/h2>\n<p> <span style=\"color: #000000;\">Il codice seguente mostra come utilizzare <strong>PROC MEANS<\/strong> per calcolare le statistiche di riepilogo per la variabile <strong>punti<\/strong> nel set di dati:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*calculate summary statistics for points variable*\/\n<\/span><span style=\"color: #800080;\">proc means<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">var<\/span> points;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-33385\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc2.jpg\" alt=\"statistica descrittiva in SAS utilizzando PROC MEANS\" width=\"423\" height=\"130\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">La procedura <strong>PROC MEANS<\/strong> calcola le seguenti statistiche descrittive:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>N<\/strong> : Il numero totale di osservazioni<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Media<\/strong> : il valore medio dei punti<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Std<\/strong> Dev: la deviazione standard dei punti<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Minimo<\/strong> : il valore minimo dei punti<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Massimo<\/strong> : il valore massimo dei punti<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">Tieni inoltre presente che puoi utilizzare l&#8217;istruzione class per calcolare statistiche descrittive per una variabile, raggruppata da un&#8217;altra variabile.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Ad esempio, possiamo utilizzare il codice seguente per calcolare le statistiche riassuntive per la variabile <strong>punti<\/strong> , raggruppate per la variabile <strong>squadra<\/strong> :<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*calculate summary statistics for points, grouped by team*\/\n<\/span><span style=\"color: #800080;\">proc means<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">classteam<\/span> ;\n    <span style=\"color: #3366ff;\">var<\/span> points;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-33386 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc3.jpg\" alt=\"\" width=\"504\" height=\"177\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">L&#8217;output visualizza le statistiche di riepilogo per la variabile <strong>punti<\/strong> , raggruppate per ciascuno dei valori univoci <strong>della squadra<\/strong><\/span> <span style=\"color: #000000;\">.<\/span><\/p>\n<h2> <strong><span style=\"color: #000000;\">Esempio 2. Utilizzare PROC UNIVARIATE per calcolare statistiche descrittive dettagliate<\/span><\/strong><\/h2>\n<p> <span style=\"color: #000000;\">Il codice seguente mostra come utilizzare <strong>PROC UNIVARIATE<\/strong> per calcolare statistiche descrittive dettagliate per la variabile <strong>points<\/strong> :<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*calculate detailed descriptive statistics for points variable*\/\n<\/span><span style=\"color: #800080;\">proc univariate<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">var<\/span> points;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-33387 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc4.jpg\" alt=\"\" width=\"419\" height=\"531\" srcset=\"\" sizes=\"\"><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-33388 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc5.jpg\" alt=\"\" width=\"215\" height=\"509\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">La procedura <strong>PROC UNIVARIATE<\/strong> calcola statistiche descrittive dettagliate per la variabile <strong>punto<\/strong> , tra cui media, mediana, moda, deviazione standard, varianza, intervallo, intervallo interquartile, ecc.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Possiamo anche utilizzare l&#8217;istruzione <strong>class<\/strong> per calcolare queste statistiche descrittive dettagliate per la variabile <strong>punti<\/strong> , raggruppate per la variabile <strong>squadra<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">\/*calculate detailed descriptive statistics for points, grouped by team*\/\n<\/span><span style=\"color: #800080;\">proc univariate<\/span> <span style=\"color: #3366ff;\">data<\/span> =my_data;\n    <span style=\"color: #3366ff;\">classteam<\/span> ;\n    <span style=\"color: #3366ff;\">var<\/span> points;\n<span style=\"color: #800080;\">run<\/span> ;<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Ci\u00f2 produrr\u00e0 tre gruppi di tabelle di output che visualizzano statistiche descrittive dettagliate per la variabile <strong>punti<\/strong> , raggruppate in base a ciascuno dei valori univoci <strong>della squadra<\/strong> .<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Risorse addizionali<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">I seguenti tutorial spiegano come eseguire altre attivit\u00e0 comuni in SAS:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/it\/tabella-delle-frequenze-sas\/\" target=\"_blank\" rel=\"noopener\">Come creare tabelle di frequenza in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/it\/sas-percentili\/\" target=\"_blank\" rel=\"noopener\">Come calcolare i percentili in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/it\/tavolo-pivot-sas\/\" target=\"_blank\" rel=\"noopener\">Come creare tabelle pivot in SAS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Le statistiche descrittive sono valori che descrivono un insieme di dati. Ci aiutano a capire dove si trova il centro del set di dati e la distribuzione dei valori nel set di dati. Esistono due modi comuni per calcolare le statistiche descrittive per le variabili in SAS: 1. Utilizzare PROC MEANS per calcolare le statistiche [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Come calcolare la statistica descrittiva in SAS - Statorials<\/title>\n<meta name=\"description\" content=\"Questo tutorial spiega come calcolare le statistiche descrittive in SAS, con un esempio.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Come calcolare la statistica descrittiva in SAS - Statorials\" \/>\n<meta property=\"og:description\" content=\"Questo tutorial spiega come calcolare le statistiche descrittive in SAS, con un esempio.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-12T18:22:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc1.jpg\" \/>\n<meta name=\"author\" content=\"Benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/\",\"url\":\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/\",\"name\":\"Come calcolare la statistica descrittiva in SAS - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/it\/#website\"},\"datePublished\":\"2023-07-12T18:22:33+00:00\",\"dateModified\":\"2023-07-12T18:22:33+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae\"},\"description\":\"Questo tutorial spiega come calcolare le statistiche descrittive in SAS, con un esempio.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Casa\",\"item\":\"https:\/\/statorials.org\/it\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Come calcolare le statistiche descrittive in sas\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/it\/#website\",\"url\":\"https:\/\/statorials.org\/it\/\",\"name\":\"Statorials\",\"description\":\"La tua guida all&#039;alfabetizzazione statistica!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/it\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae\",\"name\":\"Benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/statorials.org\/it\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Benjamin anderson\"},\"description\":\"Ciao, sono Benjamin, un professore di statistica in pensione diventato insegnante dedicato di Statorials. Con una vasta esperienza e competenza nel campo della statistica, sono ansioso di condividere le mie conoscenze per potenziare gli studenti attraverso Statorials. Scopri di pi\u00f9\",\"sameAs\":[\"https:\/\/statorials.org\/it\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Come calcolare la statistica descrittiva in SAS - Statorials","description":"Questo tutorial spiega come calcolare le statistiche descrittive in SAS, con un esempio.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/","og_locale":"it_IT","og_type":"article","og_title":"Come calcolare la statistica descrittiva in SAS - Statorials","og_description":"Questo tutorial spiega come calcolare le statistiche descrittive in SAS, con un esempio.","og_url":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/","og_site_name":"Statorials","article_published_time":"2023-07-12T18:22:33+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/desc1.jpg"}],"author":"Benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Benjamin anderson","Est. reading time":"2 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/","url":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/","name":"Come calcolare la statistica descrittiva in SAS - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/it\/#website"},"datePublished":"2023-07-12T18:22:33+00:00","dateModified":"2023-07-12T18:22:33+00:00","author":{"@id":"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae"},"description":"Questo tutorial spiega come calcolare le statistiche descrittive in SAS, con un esempio.","breadcrumb":{"@id":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/it\/statistica-descrittiva-in-sas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Casa","item":"https:\/\/statorials.org\/it\/"},{"@type":"ListItem","position":2,"name":"Come calcolare le statistiche descrittive in sas"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/it\/#website","url":"https:\/\/statorials.org\/it\/","name":"Statorials","description":"La tua guida all&#039;alfabetizzazione statistica!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/it\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"it-IT"},{"@type":"Person","@id":"https:\/\/statorials.org\/it\/#\/schema\/person\/0896f191fb9fb019f2cd8623112cb3ae","name":"Benjamin anderson","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/statorials.org\/it\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/it\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Benjamin anderson"},"description":"Ciao, sono Benjamin, un professore di statistica in pensione diventato insegnante dedicato di Statorials. Con una vasta esperienza e competenza nel campo della statistica, sono ansioso di condividere le mie conoscenze per potenziare gli studenti attraverso Statorials. Scopri di pi\u00f9","sameAs":["https:\/\/statorials.org\/it"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/posts\/4221"}],"collection":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/comments?post=4221"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/posts\/4221\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/media?parent=4221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/categories?post=4221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/it\/wp-json\/wp\/v2\/tags?post=4221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}