Power/Sample Size Calculation for Mediation Analysis

minEffect.SLR | Minimum detectable slope |

minEffect.VSMc | Minimum detectable slope for mediator in linear regression... |

minEffect.VSMc.cox | Minimum detectable slope for mediator in cox regression based... |

minEffect.VSMc.logistic | Minimum detectable slope for mediator in logistic regression... |

minEffect.VSMc.poisson | Minimum detectable slope for mediator in poisson regression... |

powerInteract2by2 | Power Calculation for Interaction Effect in 2x2 Two-Way ANOVA... |

powerLogisticBin | Calculating power for simple logistic regression with binary... |

powerLogisticCon | Calculating power for simple logistic regression with... |

powerLong | Power calculation for longitudinal study with 2 time point |

powerLongFull | Power calculation for longitudinal study with 2 time point |

powerLong.multiTime | Power calculation for testing if mean changes for 2 groups... |

powerMediation.Sobel | Power for testing mediation effect (Sobel's test) |

powerMediation.VSMc | Power for testing mediation effect in linear regression based... |

powerMediation.VSMc.cox | Power for testing mediation effect in cox regression based on... |

powerMediation.VSMc.logistic | Power for testing mediation effect in logistic regression... |

powerMediation.VSMc.poisson | Power for testing mediation effect in poisson regression... |

powerPoisson | Power calculation for simple Poisson regression |

power.SLR | Power for testing slope for simple linear regression |

power.SLR.rho | Power for testing slope for simple linear regression |

sizePoisson | Sample size calculation for simple Poisson regression |

SSizeLogisticBin | Calculating sample size for simple logistic regression with... |

SSizeLogisticCon | Calculating sample size for simple logistic regression with... |

ssLong | Sample size calculation for longitudinal study with 2 time... |

ssLongFull | Sample size calculation for longitudinal study with 2 time... |

ssLong.multiTime | Sample size calculation for testing if mean changes for 2... |

ssMediation.Sobel | Sample size for testing mediation effectd (Sobel's test) |

ssMediation.VSMc | Sample size for testing mediation effect in linear regression... |

ssMediation.VSMc.cox | Sample size for testing mediation effect in cox regression... |

ssMediation.VSMc.logistic | Sample size for testing mediation effect in logistic... |

ssMediation.VSMc.poisson | Sample size for testing mediation effect in poisson... |

ss.SLR | Sample size for testing slope for simple linear regression |

ss.SLR.rho | Sample size for testing slope for simple linear regression... |

testMediation.Sobel | P-value and confidence interval for testing mediation effect... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.