- Home
- CRAN
**TrialSize**: R functions in Chapter 3,4,6,7,9,10,11,12,14,15**RelativeRisk.Equality**: Relative Risk in Parallel Design test for Equality

# Relative Risk in Parallel Design test for Equality

### Description

Ho: OR=1

Ha: not equal to 1

### Usage

1 | ```
RelativeRisk.Equality(alpha, beta, or, k, pt, pc)
``` |

### Arguments

`alpha` |
significance level |

`beta` |
power = 1-beta |

`or` |
or=pt(1-pc)/pc(1-pt) |

`k` |
k=nT/nC |

`pt` |
the probability of observing an outcome of interest for a patient treatment by a test treatment |

`pc` |
the probability of observing an outcome of interest for a patient treatment by a control |

### References

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

### Examples

1 2 | ```
Example.4.6.4<-RelativeRisk.Equality(0.05,0.2,2,1,0.4,0.25)
Example.4.6.4
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.

- ABE: Average Bioequivalence
- AB.withDescalation: A + B Escalation Design with Dose De-escalation
- AB.withoutDescalation: A + B Escalation Design without Dose De-escalation
- ANOVA.Repeat.Measure: ANOVA with Repeat Measures
- Carry.Over: Test the Carry-over effect
- Cochran.Armitage.Trend: Cochran-Armitage's Test for Trend
- Cox.Equality: Test for equality in Cox PH model.
- Cox.Equivalence: Test for Equivalence in Cox PH model.
- Cox.NIS: Test for non-inferiority/superiority in Cox PH model.
- CrossOver.ISV.Equality: Test for Equality of Intra-Subject Variabilities in Crossover...
- CrossOver.ISV.Equivalence: Test for Similarity of Intra-Subject Variabilities in...
- CrossOver.ISV.NIS: Test for Non-Inferiority/Superiority of Intra-Subject...
- Dose.Min.Effect: Williams' Test for Minimum effective dose (MED)
- Dose.Response.binary: Linear Contrast Test for Binary Dose Response Study
- Dose.Response.Linear: Linear Contrast Test for Dose Response Study
- Dose.Response.time.to.event: Linear Contrast Test for Time-to-Event Endpoint in dose...
- Example.3.1.4: One Sample Mean Equality
- gof.Pearson: Test Goodness of Fit by Pearson's Test
- gof.Pearson.twoway: Test Goodness of Fit by Pearson's Test for two-way table
- IBE: Individual Bioequivalence
- InterSV.Equality: Test for Equality of Inter-Subject Variabilities
- InterSV.NIS: Test for Equality of Inter-Subject Variabilities
- ISCV.Equality: Test for Equality of Intra-Subject CVs
- ISCV.Equivalence: Test for Equivalence of Intra-Subject CVs
- ISCV.NIS: Test for Non-Inferiority/Superiority of Intra-Subject CVs
- ISV.Equality: Test for Equality of Intra-Subject Variabilities
- ISV.Equivalence: Test for Similarity of Intra-Subject Variabilities
- ISV.NIS: Test for Non-Inferiority/Superiority of Intra-Subject...
- McNemar.Test: McNemar Test in 2 by 2 table
- MeanWilliamsDesign.Equality: Test for Equality in Multiple-Sample William Design
- MeanWilliamsDesign.Equivalence: Test for Equivalence in Multiple-Sample William Design
- MeanWilliamsDesign.NIS: Test for Non-Inferiority/Superiority in Multiple-Sample...
- Multiple.Testing: Multiple Testing procedures
- Nonpara.Independ: Test for independence for nonparametric study
- Nonpara.One.Sample: One Sample Location problem in Nonparametric
- Nonpara.Two.Sample: Two sample location problem for Nonparametric
- OneSampleMean.Equality: One Sample Mean Test for Equality
- OneSampleMean.Equivalence: One Sample Mean Test for Equivalence
- OneSampleMean.NIS: One Sample Mean Test for Non-Inferiority/Superiority
- OneSampleProportion.Equality: One sample proportion test for equality
- OneSampleProportion.Equivalence: One sample proportion test for equivalence
- OneSampleProportion.NIS: One sample proportion test for Non-inferiority/Superiority
- OneSide.fixEffect: One-Sided Tests with fixed effect sizes
- OneSide.varyEffect: One-Sided Tests with varying effect sizes
- OneWayANOVA.pairwise: Pairwise Comparison for Multiple-Sample One-Way ANOVA
- OneWayANOVA.PairwiseComparison: One-way ANOVA pairwise comparison
- PBE: Population Bioequivalence
- Propensity.Score.nostrata: Propensity Score ignoring strata
- Propensity.Score.strata: Propensity Score with Stratas
- QOL: Quality of life
- QT.crossover: Crossover Design in QT/QTc Studies without covariates
- QT.parallel: Parallel Group Design in QT/QTc Studies without covariates
- QT.PK.crossover: Crossover Design in QT/QTc Studies with PK response as...
- QT.PK.parallel: Parallel Group Design in QT/QTc Studies with PK response as...
- RelativeRiskCrossOver.Equality: Relative Risk in Crossover Design test for Equality
- RelativeRiskCrossOver.Equivalence: Relative Risk in Crossover Design test for Equivalence
- RelativeRiskCrossOver.NIS: Relative Risk in Crossover Design test for...
- RelativeRisk.Equality: Relative Risk in Parallel Design test for Equality
- RelativeRisk.Equivalence: Relative Risk in Parallel Design test for Equivalence
- RelativeRisk.NIS: Relative Risk in Parallel Design test for...
- Sensitivity.Index: Calculate the power for Sensitivity Index
- Stuart.Maxwell.Test: Stuart-Maxwell Test
- TrialSize-package: Sample Size calculation in Clinical Research
- TwoSampleCrossOver.Equality: Two Sample Crossover Design Test for Equality
- TwoSampleCrossOver.Equivalence: Two Sample Crossover Design Test for Equivalence
- TwoSampleCrossOver.NIS: Two Sample Crossover Design Test for...
- TwoSampleMean.Equality: Two Sample Mean Test for Equality
- TwoSampleMean.Equivalence: Two Sample Mean Test for Equivalence
- TwoSampleMean.NIS: Two Sample Mean Test for Non-Inferiority/Superiority
- TwoSampleProportion.Equality: Two sample proportion test for equality
- TwoSampleProportion.Equivalence: Two sample proportion test for equivalence
- TwoSampleProportion.NIS: Two sample proportion test for Non-Inferiority/Superiority
- TwoSampleSeqCrossOver.Equality: Two sample proportion Crossover design test for equality
- TwoSampleSeqCrossOver.Equivalence: Two sample proportion Crossover design test for equivalence
- TwoSampleSeqCrossOver.NIS: Two sample proportion Crossover design for...
- TwoSampleSurvival.Conditional: Test for two sample conditional data in exponential model for...
- TwoSampleSurvival.Equality: Test for two sample equality in exponential model for...
- TwoSampleSurvival.Equivalence: Test for two sample equivalence in exponential model for...
- TwoSampleSurvival.NIS: Test for two sample Non-Inferiority/Superiority in...
- TwoSide.fixEffect: Two-Sided Tests with fixed effect sizes
- TwoSide.varyEffect: Two-Sided Tests with varying effect sizes
- Vaccine.CEM: Composite Efficacy Measure(CEM) for Vaccine clinical trials.
- Vaccine.ELDI: The evaluation of vaccine efficacy with Extremely Low Disease...
- Vaccine.RDI: Reduction in Disease Incidence(RDI) for Vaccine clinical...
- Vitro.BE: In Vitro Bioequivalence
- WilliamsDesign.Equality: William Design test for equality
- WilliamsDesign.Equivalence: Williams Design test for equivalence
- WilliamsDesign.NIS: Williams Design test for Non-inferiority/Superiority