sample_size: Estimate the sample size for a categorical variable.

Description Usage Arguments Value

Description

Estimate the sample size for a categorical variable.

Usage

1
sample_size(max, min = 1, z = 1.96, error = 0.05)

Arguments

max

A number as the maximum value of the possible categories.

min

A number as the minimum value of the possible categories.

z

A number as the confidence coefficient.

error

Admissible sampling error.

Value

The sample size for a categorical variable based on a variance heuristic approximation.


msu documentation built on May 2, 2019, 6:43 a.m.

Related to sample_size in msu...