BookmarkSubscribeRSS Feed
Lolapo
Calcite | Level 5

I have a problem when iterating my simple random sampling for more than 20 times. <=20, all good. If more iterations, errors arise. 

 

The data set used is attached. Projekt_data.csv

 

What I do: 

 

1) run Projekt.sas until line 151 
2) run the whole code in Projekt_Makro.sas I only added added line 12 "reps=&repeat". (If no iterations used, everything works)
3) run further Projekt.sas from line 152  (added line 166 "%let repeat=2000;" everything works if %let repeat=1 or even %let repeat=20;). Everything works up to the line 172 all iterations appear in the "Output data") No function works from the 177.
4) I've attached the error message. (Projekt_error.png)

 

I'm using SAS Studio online for students. 

 

I thank all of you for any kind of help.


Projekt_error.PNG

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!

What is ANOVA?

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.

Discussion stats
  • 0 replies
  • 1099 views
  • 0 likes
  • 1 in conversation