Description Usage Arguments Value Examples

Compute Power for Regression Interaction (Correlation/Coefficient Approach)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 |

`Group1` |
Estimates (r or b) for Group 1 |

`Group2` |
Estimates (r or b) for Group 2 |

`sx1` |
Standard deviation of predictor, group 1 (defaults to 1) |

`sx2` |
Standard deviation of predictor, group 2 (defaults to 1) |

`sy1` |
Standard deviation of outcome, group 1 (defaults to 1) |

`sy2` |
Standard deviation of outcome, group 2 (defaults to 1) |

`nlow` |
starting sample size |

`nhigh` |
ending sample size |

`alpha` |
Type I error (default is .05) |

`Prop_n1` |
Proportion of Sample in First Group (defaults to equal sample sizes) |

`by` |
incremental increase in sample (e.g. nlow = 10, nhigh = 24, by = 2, produces estimates of 10, 12, and 14) |

`Estimates` |
1 for Correlations (default), 2 for coefficients |

Power for Regression Interaction (Correlation/Coefficient Approach)

1 |

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.