kp.individual.estimator: Individual personal network size estimates using the known...

View source: R/known_population.r

kp.individual.estimatorR Documentation

Individual personal network size estimates using the known population method

Description

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.

Usage

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
)

Arguments

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 alter.popn.size should be the size of the frame population, N.F

dropmiss

see the dropmiss argument of kp.estimator_

Details

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.

Value

a data frame with an estimate of each individual respondent's personal network size

TODO

  • make unit tests


dfeehan/networkreporting documentation built on May 17, 2023, 1:06 a.m.