Dear SAS-Community,
I estimated regression coefficients their standard error and the corresponding t-statistic.
Is there a possibility in SAS to calculate the p-value out of the given values? (Comparable to "TDIST" in Excel?)
Thank you very much!
Holger
The TDIST equivalent function in SAS is PROBT (or more precisely 1-PROBT)
The TDIST equivalent function in SAS is PROBT (or more precisely 1-PROBT)
PROBT is an older function. Use the CDF function instead, like this:
prob = 1 - CDF("T", x, df);
For reasos why you should use CDF instead of PROBT, see reasons 4-6 of this article: Six reasons you should stop using the RANUNI function to generate random numbers - The DO Loop
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.