Zheng et al (2006) Group Prevalence Model
zheng_gp.Rd
Bayesian model for ARD...
zheng_gp_count
-- model for count responses
zheng_gp_dichotomous
-- model for dichotmous responses proposed by Baum & Marsden (2023).
Arguments
- N
integer; population size
- K
integer; number of sub-populations
- y
integer matrix; ARD
- ...
other arguments passed to
cmdstanr::sample()
Value
Object of class cmdstanr::CmdStanMCMC containing the samples.
Details
Calling this function(s) will load the model object using
get_model()
and sample from the posterior using the cmdstanr::sample()
method.
References
Baum, D. S., & Marsden, P. V. (2023). Uses and limitations of dichotomous aggregate relational data. Social Networks, 74, 42–61. doi:10.1016/j.socnet.2023.02.001
Zheng, T., Salganik, M. J., & Gelman, A. (2006). How Many People Do You Know in Prison? Using Overdispersion in Count Data to Estimate Social Structure in Networks. Journal of the American Statistical Association, 101(474), 409–423. doi:10.1198/016214505000001168
See also
Use get_model()
to return Stan model object of class
cmdstanr::CmdStanModel without fitting it.
Other models in this package:
maltiel_bem
,
maltiel_rdm
,
test_model()
,
zheng_bem
Other models of Zheng et al (2006):
zheng_bem