View source: R/param_est_logistic.R
Given the data, this function estimates the imputation parameters.
This function is a wrapper for fcr
if cond.y
is set to TRUE,
and face.sparse
if cond.y
is set to FALSE.
1 2 3 4 5 6 7 8 9 | param_est_logistic(
dat,
workGrid,
cond.y = TRUE,
p,
fcr.args = list(use_bam = T, niter = 1),
k = -1,
face.args = list(knots = 12, pve = 0.95)
)
|
dat |
A data frame with n rows (where N is the number of subjects,
each with m_i observations, so that ∑_{i=1}^N m_i = n)
expected to have either 3 or 4. If |
workGrid |
A length M vector of the unique desired grid points on which to evaluate the function. |
cond.y |
A logical indicator to determine whether imputation will be done conditional on Y. |
p |
The (estimated) value of p, the probability of success associated with the response, Y. |
fcr.args |
A list of arguments to be passed to the underlying function |
k |
Dimension of the smooth terms used in |
face.args |
A list of arguments to be passed to the underlying function |
nPhi |
An integer value, indicating the number of random effects to include in the model. This is
passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.