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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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