| cpsrmRun | R Documentation |
cpsrm_run insteadcpsrmRun has been renamed to cpsrm_run.
Key argument changes: course.id -> location_id;
actor.dummies -> actor_dummies;
partner.dummies -> partner_dummies;
zero.rho -> zero_rho; zero.actor -> zero_actor;
zero.partner -> zero_partner;
zero.group -> zero_group;
zero.course -> zero_location;
weight.partners -> weight_partners;
fixed.effects -> fixed_effects;
stage1.maxit -> stage1_maxit;
stage2.maxit -> stage2_maxit;
se.method -> se_method;
rho.boundary -> rho_boundary;
verbose.every -> verbose_every.
cpsrmRun(
dv,
actor.id,
group.id,
actor.dummies,
partner.dummies,
data,
course.id = NULL,
zero.rho = FALSE,
zero.actor = FALSE,
zero.partner = FALSE,
zero.group = FALSE,
zero.course = FALSE,
weight.partners = TRUE,
fixed.effects = NULL,
stage1.maxit = 1000L,
stage2.maxit = 1000L,
se.method = c("hessian", "none"),
rho.boundary = 0.99,
verbose.every = 50L,
...
)
dv |
string; name of the outcome variable |
actor.id |
string; name of the actor identifier variable |
group.id |
string; name of the group identifier variable |
actor.dummies |
character vector of actor dummy column names |
partner.dummies |
character vector of partner dummy column names |
data |
a |
course.id |
string or |
zero.rho |
logical; fix actor-partner correlation at zero |
zero.actor |
logical; fix actor variance at zero |
zero.partner |
logical; fix partner variance at zero |
zero.group |
logical; fix group variance at zero |
zero.course |
logical; fix course/location variance at zero |
weight.partners |
logical; weight partner dummies |
fixed.effects |
character vector or |
stage1.maxit |
integer; stage 1 iterations |
stage2.maxit |
integer; stage 2 iterations |
se.method |
character; |
rho.boundary |
numeric; boundary threshold |
verbose.every |
integer; verbose print frequency |
... |
additional arguments passed to |
see cpsrm_run
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.