summary.DDPstar: Summary method for DDPstar objects

View source: R/summary.DDPstar.R

summary.DDPstarR Documentation

Summary method for DDPstar objects

Description

Default summary method for objects fitted with function DDPstar.

Usage

## S3 method for class 'DDPstar'
summary(object, ...)

Arguments

object

An object of class DDPstar as produced by DDPstar().

...

Further arguments passed to or from other methods. Not yet implemented.

Details

The information printed includes: (1) the call to the function and (2) the sample size. If required, the function aso provides the log pseudo marginal likelihood (LPML), the widely applicable information criterion (WAIC) and/or the deviance information criterion (DIC).

Value

No return value, called for side effects

See Also

DDPstar

Examples

library(DDPstar)
data(dde)
dde$GAD <- dde$GAD/7 # GAD in weeks

set.seed(10) # For reproducibility
fit_dde <- DDPstar(formula = GAD ~ f(DDE, bdeg = 3, nseg = 20, pord = 2, atau = 1, btau = 0.005), 
  data = dde, mcmc = list(nburn = 20000, nsave = 15000, nskip = 1), 
  prior = list(a = 2, b = 0.5, aalpha = 2, balpha = 2, L = 20), 
  standardise = TRUE, compute.lpml = TRUE, compute.WAIC = TRUE, compute.DIC = TRUE)
summary(fit_dde)



DDPstar documentation built on April 3, 2025, 8:46 p.m.