Internal BACps helper functions for the 1st Stage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | logL(N, y, U, alpha, delta)
MH.delta(
N,
y,
U,
delta0,
alpha0,
delta.mle.model.alpha0,
delta.cov.model.alpha0
)
MH.alpha.s1_a(N, y, U, alpha0, alpha1, delta0, delta_t_1, q_delta_j)
MH.alpha.s1_b(N, y, U, alpha0, alpha1, delta0, delta_t_1, q_delta_j)
MH.delta.intercept(N, y, U, alpha0, delta0)
countpattern(x, matching = FALSE)
logL_PS(x, U, alphaX, gamma)
logL_Outcome(y, x, U, alphaX, gamma, Yparams)
## S3 method for class 'params'
update(
y,
x,
U,
gamma_mle,
gamma_cov,
outcome_mle,
outcome_cov,
nparams,
ngamma_t,
params_t,
alphaX,
likhood_t
)
## S3 method for class 'params_when_alpha_0'
update(y, x, U, nparams, ngamma_t, params_t, alphaX, likhood_t)
updatemodel(N, p, y, x, U, ngamma_t, params_t, alphaX_t, likhood_t, MX.nsims)
|
These functions are not intended for use by users.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.