Desktop productivity for business analysts and programmers

Changing default options on Describe>Summary Statistics

Accepted Solution Solved
Reply
Contributor
Posts: 46
Accepted Solution

Changing default options on Describe>Summary Statistics

 

 

How is it that on SAS E.G. 5.1 I can change the select default options on Describe>Summary Statistics>Statistics>Basic?

 

My default options are as shown below.

 

Delete.jpg

 


Accepted Solutions
Solution
‎07-21-2016 09:39 AM
Community Manager
Posts: 2,696

Re: Changing default options on Describe>Summary Statistics

I think what you want to use is a Task Template -- so much easier than building a custom task!

 

First, select the options/stats that you want.  Then, drop down the Run button and select Create Template.

 

tempmenu.png

 

You'll specify a name for the template, then you'll have it available in your menu under Tasks->Task Templates.  It will also appear in the Task List/Browser.  Here's a screenshot from EG 6.1.  v7.1 looks a little different, but same idea.

 

templateseg61.png

 

Launch the task from the template and you'll have your customized "presets" all selected for you.

View solution in original post


All Replies
Grand Advisor
Posts: 17,360

Re: Changing default options on Describe>Summary Statistics

I don't think you can. If this is something you do frequently enough perhaps accustom task is in order. 

 

A basic macro would be easy to code. 

Contributor
Posts: 46

Re: Changing default options on Describe>Summary Statistics

I had never heard of custom tasks. I read about it, but nowhere can I find how to create a custom task.
Can you please point me in the right direction?
Trusted Advisor
Posts: 1,056

Re: Changing default options on Describe>Summary Statistics

Our esteemed Communities manager, Chris Hemedinger, literally "wrote the book" on the topic!

 

https://support.sas.com/publishing/authors/extras/61874.pdf

Solution
‎07-21-2016 09:39 AM
Community Manager
Posts: 2,696

Re: Changing default options on Describe>Summary Statistics

I think what you want to use is a Task Template -- so much easier than building a custom task!

 

First, select the options/stats that you want.  Then, drop down the Run button and select Create Template.

 

tempmenu.png

 

You'll specify a name for the template, then you'll have it available in your menu under Tasks->Task Templates.  It will also appear in the Task List/Browser.  Here's a screenshot from EG 6.1.  v7.1 looks a little different, but same idea.

 

templateseg61.png

 

Launch the task from the template and you'll have your customized "presets" all selected for you.

Contributor
Posts: 46

Re: Changing default options on Describe>Summary Statistics

[ Edited ]

Close! It looks very promising, but it isn't 100% what I want because using this method one needs to feed the "Task roles" field with variables.
I'd like a template that doesn't depend on the variables, but let's me choose them whenever I want to run this template.
The only thing I want to always be the same are the options in the screen show on my post.

Community Manager
Posts: 2,696

Re: Changing default options on Describe>Summary Statistics

Actually, if I understand you correctly, I think a Task Template is exactly what you need.  Templates store most task settings except for variable assignments, which will vary based on the input data.  You might need to select some variables to seed the template (and create a "valid" task instance), but those vars won't become part of the template that appears on your menu.

Contributor
Posts: 46

Re: Changing default options on Describe>Summary Statistics

You're right. The fact that you can't create the template before selecting the variables led me to think the variables were part of the template.
Thank you very much.
Trusted Advisor
Posts: 1,056

Re: Changing default options on Describe>Summary Statistics

No, No, do it the hard way, build the custom task! Imagine the feeling of accomplishment you'll have afterwards!

 

Besides, then you'll have to buy a copy of Chris's book, and he'll move up the bestseller lists!

 

Tom

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 8 replies
  • 672 views
  • 4 likes
  • 4 in conversation