BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ekomaroff
Calcite | Level 5

I wrote a SAS macro that simulates many random variables and runs t-tests on SAS onDemand for Academics.  I want students in my online "Intro to Stats" course to use the macro when studying the concepts of null hypothesis testing and sampling distributions. However, the macro looks intimidating, but worse can get corrupted with key stroke errors and can be difficult to fix.  Is there a way to program a point-click wrapper on the macro that would work on SAS onDemand for Academics? This app would run macro "under the hood" but allow the user to click "buttons" to change sample sizes, number of runs, null parameters, and effect sizes.  

1 ACCEPTED SOLUTION

Accepted Solutions
SASJedi
SAS Super FREQ

SAS on Demand for academics uses SAS Studio 3.81 as the coding interface. You can create a custom task to execute your macro. The task can collect user input, and then generate the macro code behind the scenes. See SAS® Studio 3.8: Writing Your First Custom Task for more info.

Check out my Jedi SAS Tricks for SAS Users

View solution in original post

3 REPLIES 3
SASJedi
SAS Super FREQ

SAS on Demand for academics uses SAS Studio 3.81 as the coding interface. You can create a custom task to execute your macro. The task can collect user input, and then generate the macro code behind the scenes. See SAS® Studio 3.8: Writing Your First Custom Task for more info.

Check out my Jedi SAS Tricks for SAS Users
JackieJ_SAS
SAS Employee

Hi, In addition to the documentation mentioned in the previous reply, SAS also offers a free e-learning course on how to create a custom task:

Course: Writing a Custom Task for SAS® Studio

 

Creating a task yourself for the first time is onerous, but it gets a lot easier once you have done it once.

 

I have taught this course in the past and have programs for this e-learning available on SAS OnDemand for Academics through a course. I'll email you separately with instructions.

 

ekomaroff
Calcite | Level 5

Thank you for offering instructive examples.  Please email to ekomaroff@keiseruniversity.edu

Eugene

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 552 views
  • 5 likes
  • 3 in conversation