{"id":3899,"date":"2023-07-14T21:42:28","date_gmt":"2023-07-14T21:42:28","guid":{"rendered":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/"},"modified":"2023-07-14T21:42:28","modified_gmt":"2023-07-14T21:42:28","slug":"sas-proc-univariate-per-groep","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/","title":{"rendered":"Sas: proc univariate gebruiken per groep"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">U kunt <strong>proc univariate<\/strong> in SAS gebruiken met de instructie <b>by<\/b> om beschrijvende statistieken te berekenen voor elke numerieke variabele in een gegevensset, gegroepeerd op een bepaalde variabele.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Deze procedure gebruikt de volgende basissyntaxis:<\/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;\">Het volgende voorbeeld laat zien hoe u deze procedure in de praktijk kunt gebruiken.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Voorbeeld: Proc Univariate per groep in SAS<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Stel dat we de volgende dataset in SAS hebben die informatie bevat over verschillende basketbalspelers:<\/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=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">We kunnen <strong>proc univariate<\/strong> gebruiken met de <b>by-<\/b> instructie om beschrijvende statistieken te berekenen voor de <strong>punten-<\/strong> en <strong>rebounds-<\/strong> variabelen, gegroepeerd op de <strong>teamvariabele<\/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;\">Deze procedure levert de volgende resultaten op:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">Beschrijvende statistieken van team <strong>A<\/strong> <strong>-punten<\/strong><\/span><\/li>\n<li> <span style=\"color: #000000;\">Beschrijvende statistieken voor <b>rebounds<\/b> van team <strong>B<\/strong><\/span><\/li>\n<li> <span style=\"color: #000000;\">Beschrijvende statistieken van team <strong>A<\/strong> <strong>-punten<\/strong><\/span><\/li>\n<li> <span style=\"color: #000000;\">Beschrijvende statistieken voor <strong>rebounds<\/strong> van team <strong>B<\/strong><\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">Zo zien de beschrijvende statistieken eruit voor de <strong>puntenvariabele<\/strong> van team <strong>A<\/strong> :<\/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=\"auto, \"><\/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=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">Als u alleen beschrijvende statistieken wilt berekenen voor een specifieke variabele gegroepeerd door een andere variabele, kunt u de instructie <strong>var<\/strong> gebruiken.<\/span><\/p>\n<p> <span style=\"color: #000000;\">U kunt bijvoorbeeld de volgende syntaxis gebruiken om alleen beschrijvende statistieken te berekenen voor de <strong>puntenvariabele<\/strong> , gegroepeerd op de <strong>teamvariabele<\/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;\">Voel je vrij om zoveel variabelen op te geven als je wilt in de <strong>var<\/strong> en <strong>door middel van<\/strong> instructies om beschrijvende statistieken te berekenen voor de gewenste variabelen.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Aanvullende bronnen<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">In de volgende zelfstudies wordt uitgelegd hoe u andere veelvoorkomende taken in SAS kunt uitvoeren:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/nl\/sas-proc-univariate-normaliteitstest\/\" target=\"_blank\" rel=\"noopener\">Proc Univariate gebruiken voor normaliteitstesten in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/kort-geding-procedure-in-sas\/\" target=\"_blank\" rel=\"noopener\">Procedureoverzicht gebruiken in SAS<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/proc-tabel-sas\/\" target=\"_blank\" rel=\"noopener\">Proc-tabel gebruiken in SAS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>U kunt proc univariate in SAS gebruiken met de instructie by om beschrijvende statistieken te berekenen voor elke numerieke variabele in een gegevensset, gegroepeerd op een bepaalde variabele. Deze procedure gebruikt de volgende basissyntaxis: proc univariate data =my_data normal ; by group_variable; run ; Het volgende voorbeeld laat zien hoe u deze procedure in de [&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":[],"class_list":["post-3899","post","type-post","status-publish","format-standard","hentry","category-gids"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SAS: Hoe Proc Univariate per groep te gebruiken - Statorials<\/title>\n<meta name=\"description\" content=\"In deze zelfstudie wordt met een voorbeeld uitgelegd hoe u univariate proc per groep in SAS kunt gebruiken.\" \/>\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\/nl\/sas-proc-univariate-per-groep\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SAS: Hoe Proc Univariate per groep te gebruiken - Statorials\" \/>\n<meta property=\"og:description\" content=\"In deze zelfstudie wordt met een voorbeeld uitgelegd hoe u univariate proc per groep in SAS kunt gebruiken.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/\" \/>\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\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/\",\"url\":\"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/\",\"name\":\"SAS: Hoe Proc Univariate per groep te gebruiken - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-14T21:42:28+00:00\",\"dateModified\":\"2023-07-14T21:42:28+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"In deze zelfstudie wordt met een voorbeeld uitgelegd hoe u univariate proc per groep in SAS kunt gebruiken.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sas: proc univariate gebruiken per groep\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/nl\/#website\",\"url\":\"https:\/\/statorials.org\/nl\/\",\"name\":\"Statorials\",\"description\":\"Uw gids voor statistische competentie\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder\",\"sameAs\":[\"http:\/\/statorials.org\/nl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SAS: Hoe Proc Univariate per groep te gebruiken - Statorials","description":"In deze zelfstudie wordt met een voorbeeld uitgelegd hoe u univariate proc per groep in SAS kunt gebruiken.","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\/nl\/sas-proc-univariate-per-groep\/","og_locale":"de_DE","og_type":"article","og_title":"SAS: Hoe Proc Univariate per groep te gebruiken - Statorials","og_description":"In deze zelfstudie wordt met een voorbeeld uitgelegd hoe u univariate proc per groep in SAS kunt gebruiken.","og_url":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/","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\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/","url":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/","name":"SAS: Hoe Proc Univariate per groep te gebruiken - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-14T21:42:28+00:00","dateModified":"2023-07-14T21:42:28+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"In deze zelfstudie wordt met een voorbeeld uitgelegd hoe u univariate proc per groep in SAS kunt gebruiken.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/sas-proc-univariate-per-groep\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Sas: proc univariate gebruiken per groep"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/nl\/#website","url":"https:\/\/statorials.org\/nl\/","name":"Statorials","description":"Uw gids voor statistische competentie","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder","sameAs":["http:\/\/statorials.org\/nl"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/3899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/comments?post=3899"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/3899\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=3899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=3899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=3899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}