Description Usage Arguments References Examples

View source: R/OneSampleMean.Equality.R

H0: margin is equal to 0 Ha: margin is not equal to 0

The test is finding whether there is a difference between the mean response of the test *\bar{x}* and the reference value *μ_0*

1 | ```
OneSampleMean.Equality(alpha, beta, sigma, margin)
``` |

`alpha` |
significance level |

`beta` |
power = 1-beta |

`sigma` |
standard deviation |

`margin` |
the difference between the true mean response of a test |

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

1 2 | ```
Example.3.1.4<-OneSampleMean.Equality(0.05,0.2,1,0.5)
Example.3.1.4 # 32
``` |

```
[1] 31.39552
```

TrialSize documentation built on May 30, 2017, 7:18 a.m.

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.