New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
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-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 729 views
  • 0 likes
  • 3 in conversation