BookmarkSubscribeRSS Feed
nadiaf
Calcite | Level 5

Hello!

I've trying to estimate the SD of the difference between two means. I have the means, SD and n for each dataset. Below an example of how I have my dataset. I'd appreciate any help with this. Thanks!

agessexnmean ASD Amean BSD BMean diff
19-30males8827.458252.6194446.21152.150556-1.24675
19-30females8975.588752.1562964.6661.774074-0.92275
31-50males20777.5912.5462966.323252.089815-1.26775
31-50females22885.832752.1737044.869751.78963-0.963
2 REPLIES 2
PaigeMiller
Diamond | Level 26

Your table seems to be just the summary statistics. If you have the raw data, then PROC TTEST does this easily, see figure 125.4 here: https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_ttest_gettingstarted02.htm

 

If you don't have the raw data, the formula for pooled standard deviation is given in many textbooks, web sites and even at Wikipedia, and I urge you to do a search to find the proper formula.

--
Paige Miller

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 391 views
  • 0 likes
  • 3 in conversation