The rstap model-fitting functions return an object of class
'stapreg', which is a list containing at a minimum the components listed
stapreg object will also have additional classes (e.g. 'glm')
and several additional components depending on the model and estimation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A fitted model object returned by one of the
rstap modeling functions. See
Other arguments passed to methods. For a
get_z, a matrix. For
a vector or a matrix, depending on how the response variable was specified.
Point estimates, as described in
Standard errors based on
mad, as described in
Residuals of type
Fitted mean values. For GLMs the linear predictors are transformed by the inverse link function.
Linear fit on the link scale. For linear models this is the same as
Variance-covariance matrix for the coefficients based on draws from the posterior distribution, the variational approximation, or the asymptotic sampling distribution, depending on the estimation algorithm.
If requested, the the model frame, model matrix and response variable used, respectively. Note that z corresponds to the fixed covariates, z to the spatial aggregated covariates, and y the response.
family object used.
The matched call.
A list with information about the prior distributions used.
The object of
stanfit-class returned by RStan and a
matrix of various summary statistics from the stapfit object.
The version of the rstan package that was used to fit the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.