rds-object
from a data.frame.
rds-object
with the components required by the Estimate.b.k
function for estimation.
initializeRdsObject(rds.sample, bin=1L, seeds=1L)
rds.sample$interviewDt
Estimate.b.k
Estimate.b.k
.
The function allows for recruiters to enter and exit the sampling snowball.
The number of seed recruiters is typically not specified in an RDS file.
The seeds
argument is a workaround that allows to specify directly this number.The rds.sample
object is assumed to be a data frame with the following column names:
See brazil
for a sample data.frame.
If the sample is short, stabilization of degree estimates can be achieved by binning degrees together. This can be done with the bin
argument. Note however that the interpretation of the estimated degree counts is now different as the k'th degree is actually the k'th bin, which is only proportional to $k$. An exception is the function getTheta
which also accepts a bin
argument for proper estimation of $theta$.
Estimate.b.k
,
makeRdsSample
,
brazil