SscStr: Sample size calculator in each stratum under Stratified...

View source: R/SscStr.R

SscStrR Documentation

Sample size calculator in each stratum under Stratified Random Sampling

Description

The SscStr function calculates sample size in each stratum under different allocation methods in Stratified Random Sampling without replacement design which is required for estimation of population mean and proportion based upon the availability of prior information on sizes of the strata, standard deviations of the strata and costs of drawing a sampling unit in the strata.

Usage

SscStr(Allocation, n, Strata_Size, Strata_Standard_deviation, Strata_Cost)

Arguments

Allocation

The method of allocation of sample sizes in the strata. It can be Equal, Proportional, Neyman and Optimum. For Equal and Proportional allocation, n and Strata_Size are to be provided whereas for Neyman allocation, n, Strata_Size and Strata_Standard_deviation are required. For, Optimum allocation, n, Strata_Size, Strata_Standard_deviation and Strata_Cost are to be provided.

n

Total sample size that is to be allocated.

Strata_Size

Sizes of the strata in the population.

Strata_Standard_deviation

Standard deviations of the strata in the population.

Strata_Cost

Costs of drawing a sampling unit in the strata.

Details

This function returns the allocated sample size in each stratum under Stratified Random Sampling without replacement design which is required for estimation of population mean and proportion.

Value

A list with the following components:

Strata wise allocated sample size

Allocated sample size in each strata.

References

Cochran, W. G. (1977). Sampling Techniques, 3rd Edition. New York: John Wiley & Sons, Inc.

Singh, D. and Chaudhary, F.S. (1986). Theory and Analysis of Sample Survey Designs. New York: John Wiley & Sons, Inc.

Sukhatme, P.V., Sukhatme, B.V., Sukhatme, S. and Asok, C. (1984). Sampling Theory of Surveys with Applications. Iowa State University Press, Ames and Indian Society of Agricultural Statistics, New Delhi.

Examples

# Calculates sample size in each stratum under Equal allocation
SscStr("Equal", 100, c(500,300,200), NA, NA)
# Calculates sample size in each stratum under Proportional allocation
SscStr("Proportional", 100, c(500,300,200), NA, NA)
# Calculates sample size in each stratum under Neyman's allocation
SscStr("Neyman", 100, c(500,300,200), c(10,20,30), NA)
# Calculates sample size in each stratum under Optimum allocation
SscStr("Optimum", 100, c(500,300,200), c(10,20,30), c(5,10,15))

SampleSizeCalculator documentation built on Aug. 27, 2025, 5:11 p.m.