pm: Sample proportion

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Calculates the sample proportion.

Usage

1
pm(s, n)

Arguments

s

Total number of successes.

n

Total sample size.

Details

For fixed designs the sample propotion is an unbiased (maximum likelihood) estimator of the response rate, but in group sequential designs (e.g., Simon's) it is biased.

Value

Estimate of the response rate.

Author(s)

Arsenio Nhacolo

See Also

pg, pu, pp and pk.

Examples

1
pm(21, 54)

arsenionhacolo/InferenceBEAGSD documentation built on May 9, 2019, 4:10 a.m.