BookmarkSubscribeRSS Feed
Anjana22
Calcite | Level 5

Hello,

I want to calculate sample size for the marginal structural model using SAS. 

I really appreciate any help 

Thanks in advance.

Regards,

Anjana

1 REPLY 1
SteveDenham
Jade | Level 19

I consider myself as pretty good at sample size determination, but there is not enough information here to do much. To successfully calculate this, we would need:

 

Some idea of what the particular marginal structural model looks like (number of factors, relationship between factors)

A statement of what size difference you wish to detect in the various factors

A preliminary estimate of the variability (this can be addressed using multiple runs at various levels)

A preliminary estimate of the correlations between factors (for instance, the off-diagonal entries in a matrix)

The acceptable risk for both Type I and Type II errors

 

From this, a simulation approach could be used, as I doubt very much that any of the closed-form methods available in PROC POWER are good candidates for structural models. I suspect that you are going to have to go through the literature at a fairly detailed level to set up a reasonable null model and alternative model.

 

SteveDenham

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 1 reply
  • 571 views
  • 1 like
  • 2 in conversation