ddi_targetSampleSize {rddi}R Documentation

targetSampleSize and its children nodes

Description

Provides both the target size of the sample (this is the number in the original sample, not the number of respondents) as well as the formula used for determining the sample size. More information on these elements, especially their allowed attributes, can be found in the references.

Usage

ddi_targetSampleSize(...)

ddi_sampleSize(...)

ddi_sampleSizeFormula(...)

Arguments

...

Child nodes or attributes.

Details

Parent nodes

targetSampleSize is contained in dataColl.

targetSampleSize specific child nodes

Value

A ddi_node object.

References

targetSampleSize documentation

sampleSize documentation

sampleSizeFormula documentation

Examples

ddi_targetSampleSize()

# Functions that need to be wrapped in ddi_targetSampleSize()

ddi_sampleSize(385)

ddi_sampleSizeFormula("n0=Z2pq/e2=(1.96)2(.5)(.5)/(.05)2=385 individuals")


[Package rddi version 0.1.1 Index]