pl_theta | R Documentation |
This function returns the value of the profile log-likelihood for parameters theta
of the
analysis model P(Y|X,C) after perturbing element k
of theta
by some small amount h_N
.
pl_theta(
k,
theta,
h_N,
n,
N,
Y_unval,
Y_val,
X_unval,
X_val,
C,
Bspline,
comp_dat_all,
theta_pred,
gamma_pred,
gamma0 = NULL,
p0 = NULL,
p_val_num = NULL,
TOL,
MAX_ITER
)
k |
A numeric index between 1 and the dimension of theta for the element of theta to be perturbed |
theta |
Parameters for the analysis model (a column vector) at convergence, resulting from the EM algorithm |
h_N |
Size of the small perturbation in |
n |
Phase II sample size |
N |
Phase I sample size |
Y_unval |
Column names with the unvalidated outcome. If |
Y_val |
Column names with the validated outcome. |
X_unval |
Column name(s) with the unvalidated predictors. If |
X_val |
Column name(s) with the validated predictors. If |
C |
(Optional) Column name(s) with additional error-free covariates. |
Bspline |
Vector of column names containing the B-spline basis functions. |
comp_dat_all |
Augmented dataset containing rows for each combination of unvalidated subjects' data with values from Phase II (a matrix) |
theta_pred |
Vector of columns in |
gamma_pred |
Vector of columns in |
gamma0 |
Starting values for |
p0 |
Starting values for |
p_val_num |
Contributions of validated subjects to the numerator for |
TOL |
Tolerance between iterations in the EM algorithm used to define convergence. |
MAX_ITER |
Maximum number of iterations allowed in the EM algorithm. |
Validated |
Column name with the validation indicator. The validation indicator can be defined as |
Profile likelihood for theta
after perturbing element k
by h_N
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.