ddi_targetSampleSize: 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(...)
Value
A ddi_node object.
Arguments
...
Child nodes or attributes.
Details
Parent nodes
targetSampleSize is contained in dataColl.
targetSampleSize specific child nodes
ddi_sampleSize() provides the targeted sample size in integer format.
ddi_sampleSizeFormula() includes the formula that was used to determine
the sample size.
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")