Description Usage Arguments Value Examples

Compute Power for Regression Interaction (R2 Change Approach)

1 |

`R2Mod` |
Full Model R2 |

`R2Ch` |
Change in R2 Added by Interaction |

`mod_pred` |
Full Model Number of Predictors |

`ch_pred` |
Change Model Number of Predictors |

`nlow` |
starting sample size |

`nhigh` |
ending sample size |

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

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

Power for Regression Interaction (R2 Change Approach)

1 |

```
n R2 Change) Power
1 100 0.032 0.4448
2 120 0.032 0.5181
3 140 0.032 0.5847
4 160 0.032 0.6444
5 180 0.032 0.6974
6 200 0.032 0.7439
7 220 0.032 0.7843
8 240 0.032 0.8192
9 260 0.032 0.8491
10 280 0.032 0.8745
11 300 0.032 0.8960
12 320 0.032 0.9142
13 340 0.032 0.9294
14 360 0.032 0.9421
15 380 0.032 0.9526
16 400 0.032 0.9614
```

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.