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-2024.png

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.

 

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