BookmarkSubscribeRSS Feed
thowald
Calcite | Level 5

I have aggregated data for group i including number of observations ,mean, Std, + 1 independent variable. I want to estimate a linear random effect model with group as random effect like mean = independent variable + group. As said before, since I deal with aggregated data mean and Std (and so standard error SE) for mean is known. How can I put in the known Std or equivalently SE for the mean into SAS proc mixed in a simple way?

I did in Winbugs but would like to compare the results with SAS proc mixed or any other SAS proc in SAS 9.4 TS 1M6.

 

Any hint very welcome

Thomas

2 REPLIES 2
pau13rown
Lapis Lazuli | Level 10

use proc glm and a random statement with 'inverse' option in the model statement to incorporate SE as weights?

 

although anne whitehead says in her book on meta-analysis, section 4.2.4 on weighted LS regression, regarding SAS: "It should be noted that the standard error and test statistics displayed for the intercept parameter are incorrect for the required model, because they assume that var(εi) = σ2/wi, where σ2 is to be estimated from the data, instead of equal to 1. This will also be the case for other statistical packages."

 

i'm not sure if this is helpful ....

thowald
Calcite | Level 5

Thanks for your suggestion. Since the SE depends on SD as well as N, how do I include N i.e. the number of observations each mean is based on into the model?

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 420 views
  • 0 likes
  • 2 in conversation