tDist-class: Class "tDist"

Description Objects from the Class Slots Extends Methods Author(s) See Also Examples

Description

This class provides objects representing scaled t distributions.

Objects from the Class

Objects can be created by calls of the form new("tDist", mean, var, df).

mean:

Location parameter.

var:

Scale parameter.

df:

Degrees of freedom.

The distribution has density

f(x; mean, var, df) = gamma((df+1)/2)/{sqrt[var * pi * df (1 + (x - mean)^2 / (var * df))^(df + 1)] * gamma(df/2)}

Slots

components:

Object of class "matrix" with columns weight, mean, variance, and df. For objects of class "tDist" this matrix has only one row and weight is always 1.

Extends

Class "contDist", directly. Class "dist", by class "contDist", distance 2.

Methods

sampleObs

signature(dist = "tDist", size = "numeric"): Sample size observations from dist.

Author(s)

Peter Humburg

See Also

contHMM

Examples

1
showClass("tDist")

tileHMM documentation built on May 30, 2017, 3:41 a.m.