- ard
The `n_i x n_k` matrix of non-negative ARD integer responses,
where the `(i,k)th` element corresponds to the number of people that
respondent `i` knows in subpopulation `k`.
- known_sizes
The known subpopulation sizes corresponding to a subset of
the columns of ard.
- known_ind
The indices that correspond to the columns of ard
with known_sizes. By default, the function assumes the first n_known
columns, where n_known corresponds to the number of
known_sizes.
- G1_ind
A vector of indices denoting the columns of `ard` that
correspond to the primary scaling groups, i.e. the collection of rare
girls' names in Zheng, Salganik, and Gelman (2006). By default, all
known_sizes are used. If G2_ind and B2_ind are not provided, `C = C_1`, so
only G1_ind are used. If G1_ind is not provided, no scaling is performed.
- G2_ind
A vector of indices denoting the columns of `ard` that
correspond to the subpopulations that belong to the first secondary scaling
groups, i.e. the collection of somewhat popular girls' names.
- B2_ind
A vector of indices denoting the columns of `ard` that
correspond to the subpopulations that belong to the second secondary
scaling groups, i.e. the collection of somewhat popular boys' names.
- N
The known total population size.
- chains
A positive integer specifying the number of Markov chains.
- cores
A positive integer specifying the number of cores to use to run
the Markov chains in parallel.
- warmup
A positive integer specifying the total number of samples for
each chain (including warmup). Matches the usage in stan.
- iter
A positive integer specifying the number of warmup samples for
each chain. Matches the usage in stan.
- thin
A positive integer specifying the interval for saving posterior
samples. Default value is 1 (i.e. no thinning).
- return_fit
A logical indicating whether the fitted Stan model should
be returned instead of the rstan::extracted and scaled parameters. This is
FALSE by default.
- ...
Additional arguments to be passed to stan.