pred.mvt: Function to predict mean and variance of marginal...

Description Usage Arguments Author(s) See Also

View source: R/pred.mvt.r

Description

It takes a fitted gjrm object produced by gjrm() and produces predictions and respective intervals.

Usage

1
pred.mvt(x, eq, fun = "mean", n.sim = 100, prob.lev = 0.05, smooth.no = NULL, ...)

Arguments

x

A fitted gjrm object.

eq

The equation number.

fun

Either mean, variance or tau.

n.sim

The number of simulated coefficient vectors from the posterior distribution of the estimated model parameters. This is used to calculate intervals. It may be increased if more precision is required.

prob.lev

Probability of the left and right tails of the posterior distribution used for interval calculations.

smooth.no

Smooth number if the interest is in a particular smooth and not the additive predictor(s).

...

Other parameters.

Author(s)

Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk

See Also

gjrm


KironmoyDas/KD-STAT0035-GMupdate documentation built on Feb. 15, 2021, 12:17 a.m.