{"id":3897,"date":"2023-07-14T21:42:28","date_gmt":"2023-07-14T21:42:28","guid":{"rendered":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/"},"modified":"2023-07-14T21:42:28","modified_gmt":"2023-07-14T21:42:28","slug":"sas-proc-univariat-nach-gruppe","status":"publish","type":"post","link":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/","title":{"rendered":"Sas: so verwenden sie proc univariate nach gruppe"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Sie k\u00f6nnen <strong>proc univariate<\/strong> in SAS mit der <b>by-<\/b> Anweisung verwenden, um deskriptive Statistiken f\u00fcr jede numerische Variable in einem Datensatz zu berechnen, gruppiert nach einer bestimmten Variablen.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Dieses Verfahren verwendet die folgende grundlegende Syntax:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #800080;\">proc univariate<\/span> <span style=\"color: #3366ff;\">data<\/span> <span style=\"color: #000000;\">=my_data<\/span> <span style=\"color: #3366ff;\">normal<\/span> <span style=\"color: #000000;\">;\n    <\/span><span style=\"color: #3366ff;\">by<\/span> <span style=\"color: #000000;\">group_variable;\n<\/span><span style=\"color: #800080;\">run<\/span> <span style=\"color: #000000;\">;<\/span><\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">Das folgende Beispiel zeigt, wie Sie dieses Verfahren in der Praxis anwenden k\u00f6nnen.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Beispiel: Proc Univariate nach Gruppe in SAS<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Angenommen, wir haben in SAS den folgenden Datensatz, der Informationen \u00fcber verschiedene Basketballspieler enth\u00e4lt:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><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 $pointsrebounds;\n    <span style=\"color: #3366ff;\">datalines<\/span> ;\nAt 12 8\nAt 12 8\nAt 12 8\nAt 23 9\nAt 20 12\nAt 14 7\nAt 14 7\nB 20 2\nB 20 5\nB 29 4\nB 14 7\nB 20 2\nB 20 2\nB 20 5\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;\n<\/strong><\/span><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-31374 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/trier1.jpg\" alt=\"\" width=\"220\" height=\"369\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Wir k\u00f6nnen <strong>proc univariate<\/strong> mit der <b>by-<\/b> Anweisung verwenden, um deskriptive Statistiken f\u00fcr die <strong>Punkte-<\/strong> und <strong>Rebounds<\/strong> -Variablen zu berechnen, gruppiert nach der <strong>Teamvariablen<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span><strong><span style=\"color: #800080;\">proc univariate<\/span> <span style=\"color: #3366ff;\">data<\/span> <span style=\"color: #000000;\">=my_data<\/span> <span style=\"color: #000000;\">;\n    <\/span><span style=\"color: #3366ff;\">by<\/span> <span style=\"color: #000000;\">team;\n<\/span><span style=\"color: #800080;\">run<\/span> <span style=\"color: #000000;\">;<\/span><\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">Dieses Verfahren f\u00fchrt zu folgenden Ergebnissen:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">Beschreibende Statistik der <strong>Punkte<\/strong> von Team <strong>A<\/strong><\/span><\/li>\n<li> <span style=\"color: #000000;\">Beschreibende Statistik f\u00fcr <b>die Rebounds<\/b> von Team <strong>B<\/strong><\/span><\/li>\n<li> <span style=\"color: #000000;\">Beschreibende Statistik der <strong>Punkte<\/strong> von Team <strong>A<\/strong><\/span><\/li>\n<li> <span style=\"color: #000000;\">Beschreibende Statistik f\u00fcr <strong>die Rebounds<\/strong> von Team <strong>B<\/strong><\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">So sehen die deskriptiven Statistiken f\u00fcr die <strong>Punktevariable<\/strong> von Team <strong>A<\/strong> aus:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-31394 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/unigroupe1.jpg\" alt=\"\" width=\"393\" height=\"521\" srcset=\"\" sizes=\"\"><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-31395 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/unigroupe2.jpg\" alt=\"\" width=\"324\" height=\"502\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Wenn Sie nur deskriptive Statistiken f\u00fcr eine bestimmte Variable, gruppiert nach einer anderen Variablen, berechnen m\u00f6chten, k\u00f6nnen Sie die <strong>var-<\/strong> Anweisung verwenden.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Sie k\u00f6nnen beispielsweise die folgende Syntax verwenden, um deskriptive Statistiken nur f\u00fcr die <strong>Punktevariable<\/strong> zu berechnen, gruppiert nach der <strong>Teamvariable<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #800080;\">proc univariate<\/span> <span style=\"color: #3366ff;\">data<\/span> <span style=\"color: #000000;\">=my_data<\/span> <span style=\"color: #000000;\">;\n    <span style=\"color: #3366ff;\">var<\/span> points;\n    <\/span><span style=\"color: #3366ff;\">by<\/span> <span style=\"color: #000000;\">team;\n<span style=\"color: #800080;\">run<\/span> ;<\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Sie k\u00f6nnen beliebig viele Variablen in den <strong>var-<\/strong> und <strong>by<\/strong> -Anweisungen angeben, um deskriptive Statistiken f\u00fcr die gew\u00fcnschten Variablen zu berechnen.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Zus\u00e4tzliche Ressourcen<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">In den folgenden Tutorials wird erl\u00e4utert, wie Sie andere h\u00e4ufige Aufgaben in SAS ausf\u00fchren:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/de\/sas-proc-univariater-normalitatstest\/\" target=\"_blank\" rel=\"noopener\">So verwenden Sie Proc Univariate f\u00fcr Normalit\u00e4tstests in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/zusammenfassendes-verfahren-in-sas\/\" target=\"_blank\" rel=\"noopener\">So verwenden Sie die Verfahrenszusammenfassung in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/proc-tabulate-sas\/\" target=\"_blank\" rel=\"noopener\">So verwenden Sie Proc Tabulate in SAS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sie k\u00f6nnen proc univariate in SAS mit der by- Anweisung verwenden, um deskriptive Statistiken f\u00fcr jede numerische Variable in einem Datensatz zu berechnen, gruppiert nach einer bestimmten Variablen. Dieses Verfahren verwendet die folgende grundlegende Syntax: proc univariate data =my_data normal ; by group_variable; run ; Das folgende Beispiel zeigt, wie Sie dieses Verfahren in der [&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>SAS: Verwendung von Proc Univariate nach Gruppe \u2013 Statistik<\/title>\n<meta name=\"description\" content=\"In diesem Tutorial wird anhand eines Beispiels erkl\u00e4rt, wie man univariate proc by group in SAS verwendet.\" \/>\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\/de\/sas-proc-univariat-nach-gruppe\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SAS: Verwendung von Proc Univariate nach Gruppe \u2013 Statistik\" \/>\n<meta property=\"og:description\" content=\"In diesem Tutorial wird anhand eines Beispiels erkl\u00e4rt, wie man univariate proc by group in SAS verwendet.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-14T21:42:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/trier1.jpg\" \/>\n<meta name=\"author\" content=\"Dr. Benjamin Anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr. Benjamin Anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/\",\"url\":\"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/\",\"name\":\"SAS: Verwendung von Proc Univariate nach Gruppe \u2013 Statistik\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/de\/#website\"},\"datePublished\":\"2023-07-14T21:42:28+00:00\",\"dateModified\":\"2023-07-14T21:42:28+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\"},\"description\":\"In diesem Tutorial wird anhand eines Beispiels erkl\u00e4rt, wie man univariate proc by group in SAS verwendet.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/#breadcrumb\"},\"inLanguage\":\"de-DE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Heim\",\"item\":\"https:\/\/statorials.org\/de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sas: so verwenden sie proc univariate nach gruppe\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/de\/#website\",\"url\":\"https:\/\/statorials.org\/de\/\",\"name\":\"Statorials\",\"description\":\"Ihr Leitfaden f\u00fcr statistische Kompetenz !\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de-DE\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\",\"name\":\"Dr. Benjamin Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de-DE\",\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr. Benjamin Anderson\"},\"description\":\"Hallo, ich bin Benjamin, ein pensionierter Statistikprofessor, der sich zum engagierten Statorials-Lehrer entwickelt hat. Mit umfassender Erfahrung und Fachwissen auf dem Gebiet der Statistik bin ich bestrebt, mein Wissen zu teilen, um Studenten durch Statorials zu bef\u00e4higen. Mehr wissen\",\"sameAs\":[\"https:\/\/statorials.org\/de\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SAS: Verwendung von Proc Univariate nach Gruppe \u2013 Statistik","description":"In diesem Tutorial wird anhand eines Beispiels erkl\u00e4rt, wie man univariate proc by group in SAS verwendet.","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\/de\/sas-proc-univariat-nach-gruppe\/","og_locale":"de_DE","og_type":"article","og_title":"SAS: Verwendung von Proc Univariate nach Gruppe \u2013 Statistik","og_description":"In diesem Tutorial wird anhand eines Beispiels erkl\u00e4rt, wie man univariate proc by group in SAS verwendet.","og_url":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/","og_site_name":"Statorials","article_published_time":"2023-07-14T21:42:28+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/trier1.jpg"}],"author":"Dr. Benjamin Anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr. Benjamin Anderson","Gesch\u00e4tzte Lesezeit":"2 Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/","url":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/","name":"SAS: Verwendung von Proc Univariate nach Gruppe \u2013 Statistik","isPartOf":{"@id":"https:\/\/statorials.org\/de\/#website"},"datePublished":"2023-07-14T21:42:28+00:00","dateModified":"2023-07-14T21:42:28+00:00","author":{"@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0"},"description":"In diesem Tutorial wird anhand eines Beispiels erkl\u00e4rt, wie man univariate proc by group in SAS verwendet.","breadcrumb":{"@id":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/#breadcrumb"},"inLanguage":"de-DE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/de\/sas-proc-univariat-nach-gruppe\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Heim","item":"https:\/\/statorials.org\/de\/"},{"@type":"ListItem","position":2,"name":"Sas: so verwenden sie proc univariate nach gruppe"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/de\/#website","url":"https:\/\/statorials.org\/de\/","name":"Statorials","description":"Ihr Leitfaden f\u00fcr statistische Kompetenz !","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de-DE"},{"@type":"Person","@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0","name":"Dr. Benjamin Anderson","image":{"@type":"ImageObject","inLanguage":"de-DE","@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","caption":"Dr. Benjamin Anderson"},"description":"Hallo, ich bin Benjamin, ein pensionierter Statistikprofessor, der sich zum engagierten Statorials-Lehrer entwickelt hat. Mit umfassender Erfahrung und Fachwissen auf dem Gebiet der Statistik bin ich bestrebt, mein Wissen zu teilen, um Studenten durch Statorials zu bef\u00e4higen. Mehr wissen","sameAs":["https:\/\/statorials.org\/de"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/3897"}],"collection":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/comments?post=3897"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/3897\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/media?parent=3897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/categories?post=3897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/tags?post=3897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}