pd_lm.fit | R Documentation |
If there is no location and variance moderation and no missing values, the model is fitted with 'lm'.
pd_lm.fit(
y,
X,
dropout_curve_position,
dropout_curve_scale,
location_prior_mean = NULL,
location_prior_scale = NULL,
variance_prior_scale = NULL,
variance_prior_df = NULL,
location_prior_df = 3,
method = c("analytic_hessian", "analytic_grad", "numeric"),
verbose = FALSE
)
a list with the following entries
a named vector with the fitted values
the estimated "size" of the data set (n_hat - variance_prior_df)
the estimated degrees of freedom (n_hat - p)
the estimated unbiased variance
the number of response values that were not 'NA'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.