makeQA_CIproportion: Make a Confidence Interval for Proportion Question

Description Usage Arguments Value Examples

Description

Make a Confidence Interval for Proportion Question

Usage

1
2
3
makeQA_CIproportion(n = NULL, numPositive = NULL, C = 0.95,
  population = NULL, individuals = "individuals", question = NULL,
  answer = NULL)

Arguments

n

sample size

numPositive

number of positive samples (number of individuals who gave positive responses)

C

confidence level (default is 0.95)

population

population size (optional)

individuals

title of individuals (default is "individuals")

question

"survey question to be asked to individuals" (optional)

answer

survey answer choice to be considered a positive response

Value

a vector with first element as question, second element as correct answer, and other elements as other answer choices.

Examples

1

kristynpantoja/statexams documentation built on June 3, 2019, 5:25 a.m.