coef.RiskMap {RiskMap} | R Documentation |
Extract Parameter Estimates from a "RiskMap" Model Fit
Description
This coef
method for the "RiskMap" class extracts the
maximum likelihood estimates from model fits obtained from the glgpm
function.
Usage
## S3 method for class 'RiskMap'
coef(object, ...)
Arguments
object |
An object of class "RiskMap" obtained as a result of a call to |
... |
other parameters. |
Details
The function processes the RiskMap
object to extract and name the estimated parameters appropriately, transforming them if necessary.
Value
A list containing the maximum likelihood estimates:
beta |
A vector of coefficient estimates. |
sigma2 |
The estimate for the variance parameter |
phi |
The estimate for the spatial range parameter |
tau2 |
The estimate for the nugget effect parameter |
sigma2_me |
The estimate for the measurement error variance |
sigma2_re |
A vector of variance estimates for the random effects, if applicable. |
Note
This function handles both Gaussian and non-Gaussian families, and accounts for fixed and random effects in the model.
Author(s)
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Claudio Fronterre c.fronterr@lancaster.ac.uk