{"id":3472,"date":"2013-07-18T17:57:46","date_gmt":"2013-07-18T22:57:46","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=3472"},"modified":"2013-07-18T17:57:46","modified_gmt":"2013-07-18T22:57:46","slug":"sas-on-demand-nice-statistics-teaching-tool-with-graphics-possibly-cookies","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/sas-on-demand-nice-statistics-teaching-tool-with-graphics-possibly-cookies\/","title":{"rendered":"SAS On-Demand &#8211; Nice statistics teaching tool, with graphics &#038; possibly cookies"},"content":{"rendered":"<p>I&#8217;ve been working with SAS Enterprise Guide 6.1 with SAS On-Demand on Virtual Box and I can&#8217;t find much to complain about. It is slow, but since I&#8217;m usually doing 14 things at once, while I&#8217;m writing for a task to complete I can read an email, download a file or answer a phone call. Why bother? Why not just use something quicker? \u00a0Well, there is the free part. I expect to be teaching at a different university this fall with a higher proportion of low-income students (stay tuned), so &#8220;free&#8221; would be good. Virtual Box is also free.<\/p>\n<p>Then there is the ease of explanation of some topics with graphics, a big soapbox issue for me. Also, the SASHELP library has some ready to use data sets. Here is just one example, from the Heart data set.<\/p>\n<p><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/deathrates.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3473\" alt=\"deathrates\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/deathrates.png\" width=\"681\" height=\"580\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/deathrates.png 681w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/deathrates-300x255.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/a>I opened the Heart dataset from the SASHELP library.<\/p>\n<p>Then I selected from TASKS &gt; GRAPH and clicked on the picture of a stacked bar chart.<\/p>\n<p>I dragged sex under <strong>Column to Chart<\/strong> and Status under<strong> Stack<\/strong>.<\/p>\n<p>Under the ADVANCED tab I selected Percentage as the <strong>Statistic used to calculate bar<\/strong> and clicked the box next to <strong>Specify one statistical value to show for bars<\/strong> and picked percentage from the drop down menu.<\/p>\n<p>With a little pointing and clicking I have a good first look at our data. It is obvious that there were more women than men in the sample &#8211; 55% to 45%. It&#8217;s also obvious that the odds of a man dying were much greater. While men were about equally likely to be alive as dead, women were twice as likely as being alive as dead.<\/p>\n<p>So, from this little chart we can start talking about odds, then move to odds ratios. We can also raise objections to looking at just a single variable related to death. Were the women in this sample younger? Certainly age would be related to death. What other variables should we include?<\/p>\n<p>So, here you have a sneak peek at the<a href=\"http:\/\/www.wuss.org\/\"> beginning of my class on categorical data analysis at WUSS in November. <\/a>You should come. It will be fun. There will be pictures. And cookies.<\/p>\n<p><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/cookie.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3474\" alt=\"chocolate chip cookie\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/cookie.jpg\" width=\"120\" height=\"117\" \/><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/cookie.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"chocolate chip cookie\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2013\/07\/cookie.jpg\" width=\"120\" height=\"117\" \/><\/a><\/a><\/p>\n<p>Even potentially pictures of cookies. I have to go now because I am hungry.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working with SAS Enterprise Guide 6.1 with SAS On-Demand on Virtual Box and I can&#8217;t find much to complain about. It is slow, but since I&#8217;m usually doing 14 things at once, while I&#8217;m writing for a task to complete I can read an email, download a file or answer a phone call&#8230;.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,11,8],"tags":[],"class_list":["post-3472","post","type-post","status-publish","format-standard","hentry","category-software","category-statistics","category-technology"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/3472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/comments?post=3472"}],"version-history":[{"count":1,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/3472\/revisions"}],"predecessor-version":[{"id":3475,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/3472\/revisions\/3475"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=3472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=3472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=3472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}