turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Converting a t-statistic to a p-value

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

11-24-2012 11:56 AM

Hi,

Can someone tell me how I can calculate in SAS 9.2 a p-value if I already have the t-statistic (and other sample statistics such as mean, sample size, degrees of freedom, etc). There are internet sites where you just give the t-stat, degrees of freedom, and select one or two-tail test and you get the desired p-value. It is just a look up table operation. How do you do this in SAS?

I know PROC MEANS can calculate p-values using the PRT option and giving the sample data etc, but it is not helpful in my (simple) problem. My t-stat comes from an event study in which I calculate the Patell t-statistic using other characteristics of the sample. All I need to do is convert it to a p-value.

Thanks.

Ian.

Accepted Solutions

Solution

11-24-2012
12:08 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to iank131

11-24-2012 12:08 PM

All Replies

Solution

11-24-2012
12:08 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to iank131

11-24-2012 12:08 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to iank131

11-24-2012 12:37 PM

Thanks Arthur. I knew the answer was as simple as that. I just couldn't find the function.

This is the good thing about this forum. Really fast responses!!

Ian.