model_run.frequentist: Run a frequentist model

View source: R/analyze.r

model_run.frequentistR Documentation

Run a frequentist model

Description

This internal function runs a frequentist model and returns the results.

Usage

model_run.frequentist(idx, formula.parsed, model.functions)

Arguments

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.

Value

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.


jacobaro/danalyze documentation built on Oct. 20, 2022, 8:09 a.m.