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
-
ddi_sampleSize()
provides the targeted sample size in integer format. -
ddi_sampleSizeFormula()
includes the formula that was used to determine the sample size.
Value
A ddi_node object.
References
targetSampleSize 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]