p_rmle: restricted maximum likelihood estimate: proportion difference

Description Usage Arguments Details Value Examples

View source: R/p_rmle.R

Description

calculates restricted maximum likelihood estimate under the null hypothesis of difference in binomial proportions

Usage

1
p_rmle(m2, nt, nc, pc, pt)

Arguments

m2

numeric, difference in binomial proportions under the null

nt

integer, number of observations in group 't'

nc

integer, number rof observation in group 'c'

pc

numeric, estimated binomial proportion in group 'c'

pt

numeric, estimated binomial proportion in group 't't

Details

returns resticted maximum likelihood estimate for binomial proportion in group C

Value

numeric

Examples

1
p_rmle(0.1, 100, 100, 0.65, 0.57)

yuliasidi/bin2mi documentation built on March 11, 2021, 8:10 p.m.