model_run.frequentist | R Documentation |
This internal function runs a frequentist model and returns the results.
model_run.frequentist(idx, formula.parsed, model.functions)
idx |
A numeric vector of observations in the data to use (for bootstrapping). |
formula.parsed |
The parsed formula object. |
model.functions |
The model object to run on the data. |
A return list formatted to allow compatibility with 'rstanarm'. The list has the following items: 'alpha' is the intercept, 'beta' is the vector of coefficients, 'aux' is the auxiliary paratmeter for the model, 'mean_PPD' is the mean prediction using the response scale, 'lp_' is the performance metric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.