{"id":4572,"date":"2015-04-26T17:49:07","date_gmt":"2015-04-26T22:49:07","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=4572"},"modified":"2015-04-26T17:49:07","modified_gmt":"2015-04-26T22:49:07","slug":"sas-studio-tasks-awesomeness-you-might-be-missing","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/sas-studio-tasks-awesomeness-you-might-be-missing\/","title":{"rendered":"SAS Studio Tasks: Awesomeness You Might Be Missing"},"content":{"rendered":"<p class=\"p1\">I finally am getting around to something in SAS Studio that I think is really cool &#8211; the tasks.<\/p>\n<p class=\"p1\">Although they don\u2019t look identical to SAS Enterprise Guide just because the screen layout is a little different, these are really, really similar to the tasks you would see in EG.<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4573\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio0.png\" alt=\"screens for SAS studio tasks\" width=\"450\" height=\"179\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio0.png 450w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio0-300x119.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">If you are using this with a real beginner class, you can start out with using the sashelp directory. Otherwise, the only programming they will need is to assign their directory at the beginning. Run that program and away you go .<\/p>\n<p class=\"p1\">Let\u2019s take an example with SASHELP.<\/p>\n<p class=\"p1\">1. Log into your SAS on-demand account and select SAS Studio<\/p>\n<p class=\"p1\">2. Click on tasks in the left pane.<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio1a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4574\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio1a.png\" alt=\"tasks pane\" width=\"450\" height=\"535\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio1a.png 667w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio1a-252x300.png 252w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">3. Select statistics<\/p>\n<p class=\"p1\">4. Select distribution analysis<\/p>\n<p class=\"p1\">Note that Studio will show you the type of variables required for your analysis<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2.tiff\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-4575\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2.tiff\" alt=\"Window with option for distribution analysis\" \/><\/a> <a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4576\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2.png\" alt=\"Window with option for distribution analysis\" width=\"450\" height=\"711\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2.png 450w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2-190x300.png 190w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">It will also tell you in the right window pane whether you are unable to run your analysis and, if so, what you are missing<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4577\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2a.png\" alt=\"code windown telling what you are missing\" width=\"450\" height=\"210\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2a.png 1080w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2a-300x140.png 300w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio2a-1024x478.png 1024w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">To select a variable, just click the + sign and you\u2019ll see a list of the variables in your data set<\/p>\n<p class=\"p1\">Select the desired variables for the roles and click your little running guy at the top. (This will be greyed out until you have all of the required fields filled in.)<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4578\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3a.png\" alt=\"running guy\" width=\"450\" height=\"131\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3a.png 777w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3a-300x88.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">Your results will appear in the right window pane.<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4579\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3.png\" alt=\"charts of distribution by married or not\" width=\"450\" height=\"337\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3.png 450w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio3-300x225.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">If you want to see the code, click on the code button.<\/p>\n<p><code>\u00a0<\/code><\/p>\n<p>proc univariate data=SASHELP.BWEIGHT noprint ;<\/p>\n<p>class married ;<\/p>\n<p>histogram Weight ;<\/p>\n<p>run ;<\/p>\n<p class=\"p1\">To keep your program, copy the code<\/p>\n<ul>\n<li class=\"p1\">Click on folders<\/li>\n<li class=\"p1\">Click on the far left button and select new program<\/li>\n<\/ul>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4581\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio4.png\" alt=\"location of new program button\" width=\"450\" height=\"325\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio4.png 450w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio4-300x217.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">paste in your code.<\/p>\n<p class=\"p1\">Save your program.<\/p>\n<p class=\"p1\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4582\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio5.png\" alt=\"program pasted from tasks\" width=\"450\" height=\"145\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio5.png 450w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2015\/04\/studio5-300x97.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"p1\">You could do a whole bunch of analyses this way and come up with a lot of results and a long SAS program without knowing anything about programming SAS. Some people would find that horrifying but I think it\u2019s really cool.<\/p>\n<p class=\"p1\">A really interesting assignments for students would be to take a data set in the sashelp library, do as many tasks as they can and see what interesting results and conclusions they can find.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally am getting around to something in SAS Studio that I think is really cool &#8211; the tasks. Although they don\u2019t look identical to SAS Enterprise Guide just because the screen layout is a little different, these are really, really similar to the tasks you would see in EG. If you are using this&#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":[11,8],"tags":[],"class_list":["post-4572","post","type-post","status-publish","format-standard","hentry","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\/4572","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=4572"}],"version-history":[{"count":1,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/4572\/revisions"}],"predecessor-version":[{"id":4583,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/4572\/revisions\/4583"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=4572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=4572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=4572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}