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 Wt | Nmiss | Mean (std) | Median | IQR | Range | Nmiss | Mean (std) | Median | IQR | Range | P_value | P-value | |
Birth Weight | VLBW | 0 | 1093.05 (284.4) | 1140 | 846-1346 | (525, 1500) | 0 | 899.10 (277.24) | 840 | 700-1159 | (430, 1495) | <.0001 | <.0001 | |
(gram) | Non-VLBW | 0 | 2830.32 (783.4) | 2825 | 2160-3455 | (1529, 4735) | 0 | 2592.59 (764.4) | 2410 | 1956-3118 | (1505, 4224) | 0.0343 | 0.0301 | |
Head Circ | VLBW | 14 | 25.417 (2.561) | 25.5 | 23-27.7 | (20, 30.8) | 9 | 24.203 (2.65) | 24 | 22-26.3 | (20, 30) | 0.0068 | 0.0064 | |
(cm) | Non-VLBW | 48 | 32.675 (2.675) | 33 | 31-34.5 | (23, 37.7) | 12 | 31.83 (2.793) | 32 | 30-34 | (26, 42) | 0.0559 | 0.0157 |
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.
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?
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!
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.