| stapreg-objects | R Documentation |
The rstap model-fitting functions return an object of class
'stapreg', which is a list containing at a minimum the components listed
below. Each stapreg object will also have additional classes (e.g. 'glm')
stapreg objectscoefficientsPoint estimates, as described in print.stapreg.
sesStandard errors based on mad, as described in
print.stapreg.
residualsResiduals of type 'response'.
fitted.valuesFitted mean values. For GLMs the linear predictors are transformed by the inverse link function.
linear.predictorsLinear fit on the link scale. For linear models this is the same as
fitted.values.
covmatVariance-covariance matrix for the coefficients based on draws from the posterior distribution.
model,x,y,zIf requested, the latent samples, model frame, model matrix and response variable used, respectively.
familyThe family object used.
callThe matched call.
formulaThe model formula.
data,offset,weightsThe data, offset, and weights arguments.
prior.infoA list with information about the prior distributions used.
stapfit,stan_summaryThe object of stanfit-class returned by RStan and a
matrix of various summary statistics from the stanfit object.
rstan_versionThe version of the rstan package that was used to fit the model.
stapreg-methods
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.