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

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