Help using Base SAS procedures

T value calculation with known mean and standard deviation

Reply
Occasional Contributor
Posts: 17

T value calculation with known mean and standard deviation

Dear all,

Does SAS has a simple function or procedure to calculate the t statitics and p_value for known mean and sd from samples?

I only have the mean, sd, and sample size for each group. Original dataset are not available.

Thanks,

PROC Star
Posts: 7,492

T value calculation with known mean and standard deviation

Take a look at the following macro:

http://www.datavis.ca/sasmac/stat2dat.html

It takes summary data and de-aggregates it so that one can run the desired procs.

Occasional Contributor
Posts: 17

T value calculation with known mean and standard deviation

It works! Thanks!

Ask a Question
Discussion stats
  • 2 replies
  • 119 views
  • 3 likes
  • 2 in conversation