summary.bamlss.Rd
The function takes an object of class "bamlss"
and produces summaries
of optimizer and sampler function outputs.
An object of class "bamlss".
An oject of class "summary.bamlss"
.
Character or integer, specifies the model for which a summary should be computed.
Function that should be applied on samples, see also function coef.bamlss
.
If an optimizer function is applied within the bamlss
call, should
the values of the estimated parameters be part of the summary?
Controls number of digits printed in output.
Other arguments.
If the fitted model contains samples, summaries according to the supplied function can be
computed, e.g., different quantiles of samples. See also function coef.bamlss
that extracts the coefficient summaries.
If an optimizer function was used within the bamlss
call, estimated parameters
will be included per default into the summary.
Note that summaries not based on samples can be user defined, e.g., as returned from function
samplestats
or the return values of optimizer function, e.g., see function
opt_bfit
.
summary.bamlss
produces the following summary:
The initial bamlss
call.
The family that is used for modeling.
The model formula.
Summary of parameteric terms.
Summary of smooth terms.
Other model statistics, e.g., as returned from
optimizer functions and/or produces by function samplestats
.
if (FALSE) ## Generate some data.
d <- GAMart()
## Model formula.
f <- list(
num ~ s(x1) + s(x2),
sigma ~ s(x3) + te(lon,lat)
)
## Estimate model.
b <- bamlss(f, data = d)
#> Error in eval(expr, envir, enclos): object 'd' not found
## Print the summary.
print(summary(b))
#> Error in eval(expr, envir, enclos): object 'b' not found