Description Usage Arguments References Examples

View source: R/TwoSampleMean.Equivalence.R

Ho: *|margin| ≥ delta *
Ha: |margin| < delta

This test is whether the test drug is equivalent to the control in average if the null hypothesis is rejected at significant level alpha

1 | ```
TwoSampleMean.Equivalence(alpha, beta, sigma, k, delta, margin)
``` |

`alpha` |
significance level |

`beta` |
power = 1-beta |

`sigma` |
pooled standard deviation of two groups |

`k` |
k=n1/n2 Example: k=2 indicates a 1 to 2 test-control allocation. |

`delta` |
the superiority or non-inferiority margin |

`margin` |
the true mean difference between a test mu2 and a control mu1 |

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

1 2 | ```
Example.3.2.4<-TwoSampleMean.Equivalence(0.1,0.1,0.1,1,0.05,0.01)
Example.3.2.4 #107
``` |

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.