mu2TR {twotrials}R Documentation

Combined estimation function from the two-trials rule

Description

This function computes parameter estimates from the combined estimation function based on the two-trials rule

Usage

mu2TR(a = 0.5, t1, t2, se1, se2, alternative = "greater", ...)

Arguments

a

P-value function quantile corresponding to the parameter estimate. Defaults to 0.5, which corresponds to the median estimate. Set to a = c(0.025, 0.975) to obtain limits of a 95% confidence interval

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 "greater" or "less". Defaults to "greater"

...

Additional arguments (for consistency with other estimation functions)

Value

The parameter estimate based on the two-trials rule

Author(s)

Samuel Pawel

See Also

p2TR

Examples

## 95% CI and median estimate for logRR in RESPIRE trials
mu2TR(a = c(0.975, 0.5, 0.025), t1 = -0.4942, t2 = -0.1847, se1 = 0.1833,
      se2 = 0.1738, alternative = "less")


[Package twotrials version 0.6 Index]