- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 04-20-2010 11:34 AM
(2458 views)
I just wonder if i can get t-statistic from proc corr. I tried many ways to make sas show t-statistic instead of p-value in proc corr because i need t-statistic to do an analysis. I don't know whether i can get it or i need to use another way.
Thank in advance. Your help is always appreciated.
Chaoji
Thank in advance. Your help is always appreciated.
Chaoji
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think PROC CORR was designed to produce t-statistics, as it doesn't do t-tests.
Depending on specifically what t-tests you are interested in, you could use PROC MEANS, PROC TTEST and probably a dozen other SAS procedures.
Depending on specifically what t-tests you are interested in, you could use PROC MEANS, PROC TTEST and probably a dozen other SAS procedures.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think that CORR will do that directly. You can readily output the correlation coefficient and the sample size and compute one in a subsequent data step. See
http://www.xycoon.com/ttest_statistic.htm
http://www.xycoon.com/ttest_statistic.htm