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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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