p2TR {twotrials} | R Documentation |
Combined p-value from the two-trials rule
Description
This function computes the combined p-value based on two parameter estimates using the two-trials rule (also known as the maximum method)
Usage
p2TR(mu = 0, t1, t2, se1, se2, alternative = "greater")
Arguments
mu |
Null value. Defaults to |
t1 |
Parameter estimate from trial 1 |
t2 |
Parameter estimate from trial 2 |
se1 |
Standard error of the parameter estimate from trial 1 |
se2 |
Standard error of the parameter estimate from trial 2 |
alternative |
One-sided alternative hypothesis. Can be either
|
Value
The combined p-value based on the two-trials rule
Author(s)
Samuel Pawel
See Also
Examples
## p-value for H0: logRR = 0 in RESPIRE trials
p2TR(mu = 0, t1 = -0.4942, t2 = -0.1847, se1 = 0.1833, se2 = 0.1738,
alternative = "less")
[Package twotrials version 0.6 Index]