mue_confidence_interval {mueRelativeRisk}R Documentation

Generate the exact bootstrap interval for the MUE estimate.

Description

This function enumerates the exact bootstrap confidence interval for the MUE-based estimate of the relative risk.

Usage

mue_confidence_interval(n1, p1, n2, p2, alpha)

Arguments

n1

Sample size for group 1.

p1

MUE estimate calculated by the dobeta function for group 1.

n2

Sample size for group 2.

p2

MUE estimate calculated by the dobeta function for group 2.

alpha

The significance level for the confidence interval.

Value

Returns a matrix of the upper and lower limits for the confidence interval.


[Package mueRelativeRisk version 0.1.1 Index]