07-23-2013 02:42 AM
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!
07-24-2013 09:18 AM
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
Need further help from the community? Please ask a new question.