Description Usage Arguments References Examples

View source: R/TwoSampleSurvival.Equality.R

H0: the difference between the hazard rates of two samples is equal to

Ha: not equal to 0

The test is finding whether there is a difference between the hazard rates of the test drug and the reference drug.

1 | ```
TwoSampleSurvival.Equality(alpha, beta, lam1, lam2, k, ttotal, taccrual, gamma)
``` |

`alpha` |
significance level |

`beta` |
power = 1-beta |

`lam1` |
the hazard rates of control group |

`lam2` |
the hazard rates of a test drug |

`k` |
k=n1/n2 sample size ratio |

`ttotal` |
Total trial time |

`taccrual` |
accrual time period |

`gamma` |
parameter for exponential distribution. Assume Uniform patient entry if gamma =0 |

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

1 2 | ```
Example.7.2.4<-TwoSampleSurvival.Equality(0.05,0.2,1,2,1,3,1,0.00001)
Example.7.2.4
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.