Description Usage Arguments Details Value References
Calculates sample size and composition to estimate a total from a two-stage cluster sampling design. This function is deprecated, see details.
1 2 | Calculate2StageSampleSize(psu.ssu = NULL, psu.x = NULL,
conf.level = 0.95, error = 0.1, cost = 4, minimum.ssu = 15)
|
psu.ssu |
|
psu.x |
|
conf.level |
the confidence level required. It must be |
error |
the maximum relative difference between the estimate and the unknown population value. It must be |
cost |
the ratio of the cost of sampling a PSU to the cost of sampling a SSU. |
minimum.ssu |
integer to define the minimum number of SSU to be selected per PSU. If the calculated number of SSU to be selected is lesser than |
It is assumed that PSU from the pilot are selected with probability proportional to size (PPS) and with replacement. SSU are assumed to be selected via simple (systematic) random sampling.
PSU must have the same identifiers in psu.ssu
and in psu.x
.
This function is deprecated because a study (Baquero et. al, 2018a) showed that the calculated sample size are too large for practical purposes. The same study found predefined sample compositions that result in estimates with precision equivalent to that achieved with the algorithm implemented in this function.
The predefined sample compositions are (PSU * SSU): 65 \* 15, 50 \* 20, and 30 \* 30. If possible, take larger samples.
Matrix with the sample size and composition and with variability estimates.
Baquero, O. S., Marconcin, S., Rocha, A., & Garcia, R. D. C. M. (2018). Companion animal demography and population management in Pinhais, Brazil. Preventive Veterinary Medicine.
Baquero, O. S., Marconcin, S., Rocha, A., & Garcia, R. D. C. M. (2018). Companion animal demography and population management in Pinhais, Brazil. Preventive Veterinary Medicine.
Levy P and Lemeshow S (2008). Sampling of populations: methods and applications, Fourth edition. John Wiley and Sons, Inc.
http://oswaldosantos.github.io/capm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.