Yamane95: Yamane Equation for Sampling 95

View source: R/Yamane95.R

Yamane95R Documentation

Yamane Equation for Sampling 95

Description

Computes sample size for known Population at 95 percent Level of Confidence preferred for social science studies

Usage

Yamane95(x)

Arguments

x

Population to be used for computation of Sample

Value

Returns a vector which is the computed sample for the given population rounded up with ceiling function.

Author(s)

Paolo G. Hilado

References

Yamane, T. (1967). Statistics, An Introductory Analysis, 2nd Ed., New York: Harper and Row.

Examples

Yamane95(700)
[1] 255
## The function is currently defined as
function (x)
{
  y <- x/(1 + x*0.0025)
  z <- ceiling(y)
  print(z)
}


Dcroix/RSamplingz documentation built on April 30, 2022, 8:33 a.m.