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

When trying do a wilcoxon rank sum test on a small comma-delimited input text file (96 obs) in PROC NPAR1WAY, the program keeps running (like stuck in an endless loop) and never completes.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Without your code or log we can barely guess. 

It could be as simple as not including a RUN or semicolon.

 

Please post the code you've used. 

If it is a small dataset, the frequencies of the groups you're looking at may be required as well. If you're doing an exact calculation it may take a while, though SAS usually warns you about that.

 

 

View solution in original post

5 REPLIES 5
PGStats
Opal | Level 21

How do you transform your text file into an input dataset for npar1way?

PG
r1231
Calcite | Level 5

not sure what you mean. I just read the comma-delimited text file with an infile statement. That's not a problem.

Reeza
Super User

Without your code or log we can barely guess. 

It could be as simple as not including a RUN or semicolon.

 

Please post the code you've used. 

If it is a small dataset, the frequencies of the groups you're looking at may be required as well. If you're doing an exact calculation it may take a while, though SAS usually warns you about that.

 

 

r1231
Calcite | Level 5

Thanks! I removed the exact statement and the code ran fine.

PGStats
Opal | Level 21

If you have an EXACT statement, add option MC

 

EXACT WILCOXON / MC N=100000;

PG

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 5 replies
  • 4906 views
  • 5 likes
  • 3 in conversation