kp.individual.estimator.Rd
In most situations, the known population method will be
used to estimate the average personal network size;
this can be done with kp.estimator_
. If, instead, you wish
to estimate the personal network size of each individual
respondent, then you can use this function.
kp.individual.estimator( resp.data, known.populations, total.kp.size = 1, alter.popn.size, dropmiss = FALSE ) kp.individual.estimator_( resp.data, known.populations, total.kp.size = 1, alter.popn.size, dropmiss = FALSE )
resp.data | the respondent (survey) data |
---|---|
known.populations | the names of the known populations |
total.kp.size | the sum of the sizes of all of the known populations |
alter.popn.size | the size of the population respondents
are reporting about connections to; typically this will
be the frame population, so |
dropmiss | see the dropmiss argument of |
a data frame with an estimate of each individual respondent's personal network size
Note that this is not making inference about any larger population; it estimates a property of each individual respondent. So the sampling weights are not used here.
make unit tests