inst/snippets/Example6.3.R

p.hat <- 52/100; p.hat            
SE <- sqrt(p.hat * (1 - p.hat) / 100); SE    # est. SE
p.hat - 1.96 * SE                            # lower end of CI 
p.hat + 1.96 * SE                            # upper end of CI
rpruim/Lock5withR documentation built on May 28, 2019, 1:31 a.m.