BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Toni2
Lapis Lazuli | Level 10

hi, not sure what is the issue here but for some reason the proc npar1way does not stop running even with low number of obs. Any idea?

 

below is a part of the final dataset: 

 

675 smp
515 smp
548 smp
599 smp
500 smp
715 smp
500 smp
0 pop
100 pop
666 pop
100 pop
752 pop
648 pop
500 pop
500 pop
100 pop

 

 

data final;
set smp (obs=100) pop (obs=100);
run;

ods graphics on;
proc npar1way edf data=final;
class source;
var application_score;
exact ks;
run;
ods graphics off;

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

What happens if you take the EXACT command out and run it?

--
Paige Miller

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

What happens if you take the EXACT command out and run it?

--
Paige Miller
Toni2
Lapis Lazuli | Level 10
thanks, i removed the EXACT and works!
tonya_sas
SAS Employee

As you have observed, the EXACT statement can cause long run times in PROC NPAR1WAY.   Adding the MC option to the EXACT statement requests a Monte Carlo estimate of the exact p-value.  This calculation can be a good compromise when the exact computations are too computationally intensive to wait for. With the MC option, the exact tests will not be computed.

 

Toni2
Lapis Lazuli | Level 10
thanks 🙂

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 4 replies
  • 856 views
  • 9 likes
  • 3 in conversation