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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

From SAS Users blog
Want more? Visit our blog for more articles like these.
5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

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