Learn R Programming

spTDyn (version 2.0.3)

summary.spTD: Summary statistics of the parameters.

Description

This function is used to obtain MCMC summary statistics.

Usage

# S3 method for spTD
summary(object, digits=4, package="spTDyn", coefficient=NULL, ...)

##

Value

sig2eps

Summary statistics for \(\sigma_\epsilon^2\).

sig2eta

Summary statistics for \(\sigma_\eta^2\).

phi

Summary statistics for spatial decay parameter \(\phi\), if estimated using decay.

...

Summary statistics for other parameters used in the models.

Arguments

object

Object of class inheriting from "spTD".

digits

Rounds the specified number of decimal places (default 4).

package

If "coda" then summary statistics are given using coda package. Defaults value is "spTDyn".

coefficient

Takes values: "spatial", "temporal" and "rho" for summary statistics of spatial, temporal and rho coefficients respectively. If NULL then provides parameter summary without spatial and temporal coefficients.

...

Other arguments.

See Also

GibbsDyn.

Examples

Run this code
if (FALSE) {
##

summary(out) # where out is the output from spT class
summary(out, digit=2) # where out is the output from spT class
summary(out, pack="coda") # where out is the output from spT class
summary(out, coefficient="spatial") # for spatially varying coefficients
summary(out, coefficient="temporal") # for temporally varying coefficients

##
}

Run the code above in your browser using DataLab