BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
scarico
Calcite | Level 5

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

1 ACCEPTED SOLUTION

Accepted Solutions
Keith
Obsidian | Level 7

The TDIST equivalent function in SAS is PROBT (or more precisely 1-PROBT)

View solution in original post

2 REPLIES 2
Keith
Obsidian | Level 7

The TDIST equivalent function in SAS is PROBT (or more precisely 1-PROBT)

Rick_SAS
SAS Super FREQ

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

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