BookmarkSubscribeRSS Feed
Woop122
Calcite | Level 5

Hi,

 

I have a data set and I'm trying to re-create a summary table of statistics from a prior analysis.

 

I'm able to re-create everything except for the t-test and wilcoxon p-value. 

 

When I try proc univariate or proc ttest, all the p-values I get are always <0.0001 no matter what variable I'm looking at. Any suggestions?

 

Variable Birth WtNmissMean (std)MedianIQRRangeNmissMean (std)MedianIQRRangeP_valueP-value
Birth WeightVLBW01093.05 (284.4)1140846-1346(525, 1500)0899.10 (277.24)840700-1159(430, 1495)<.0001<.0001
(gram) Non-VLBW02830.32 (783.4)28252160-3455(1529, 4735)02592.59 (764.4)24101956-3118(1505, 4224)0.03430.0301
Head Circ VLBW1425.417 (2.561)25.523-27.7(20, 30.8)924.203 (2.65)2422-26.3(20, 30)0.00680.0064
(cm) Non-VLBW4832.675 (2.675)3331-34.5(23, 37.7)1231.83 (2.793)3230-34(26, 42)0.05590.0157
2 REPLIES 2
ballardw
Super User

You really should show the code you are using. And you may need to provide some example data.

 

Test results are results of the combination of requested tests, options and data.

Reeza
Super User

You're doing something wrong. I'd tell you what but I can't see your data, code, log, results, etc.

 

Isn't Wilcoxon from PROC NPAR1WAY?

 

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
  • 2 replies
  • 1261 views
  • 0 likes
  • 3 in conversation