Question: Construction a functionConstruction a function called ci.for.proportion which calculates confidence # intervals for proportions. Your function should take three arguments, # ci.for.proportion(phat, n, conf) phat
Construction a functionConstruction a function called ci.for.proportion which calculates confidence # intervals for proportions. Your function should take three arguments, # ci.for.proportion(phat, n, conf) phat is the sample proportion, n is the sample # size, and conf is the level of confidence, expressed as a real number # between 0 and 1. called ci.for.proportion which calculates confidence # intervals for proportions. Your function should take three arguments, # ci.for.proportion(phat, n, conf) phat is the sample proportion, n is the sample # size, and conf is the level of confidence, expressed as a real number # between 0 and 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
