I'm running a regression procedure 30,000 times. By using the following I've been able to suppress all logs, listing, & HTML:
ods html close ;
ods listing close;
options nosource nonotes;
Here's the regression equation code:
proc reg data = hr_reg ;
model hr = timepoint;
title "Regression of hr on time";
ods output ParameterEstimates=beta FitStatistics = rsquare;
run;
quit;
Even though the output is suppressed, the Results window continues to accumulate "beta" & "rsquare" SAS data sets. Is there any way to prevent that from occurring? Thanks! Andrew
Follow the instructions in the article "Turn off ODS when running simulations in SAS."
And since I don't see a BY statement in your code, I also suggest that you read "Simulation in SAS: The slow way or the BY way"
If you intend to do a lot of simulation in SAS, you might want to read the paper "Ten Tips for Simulating Data with SAS" (Wicklin, 2015)
Follow the instructions in the article "Turn off ODS when running simulations in SAS."
And since I don't see a BY statement in your code, I also suggest that you read "Simulation in SAS: The slow way or the BY way"
If you intend to do a lot of simulation in SAS, you might want to read the paper "Ten Tips for Simulating Data with SAS" (Wicklin, 2015)
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.