TDist {demest} | R Documentation

## Specify a vector of independent t-distributed variables

### Description

Specify a vector of `n` t-distributed variables, each of which has degrees of freedom `df[i]`, mean `mean[i]`, and scale `scale[i]`.

### Usage

    TDist(df = 7, mean = 0, scale = NULL, mult = 1)

### Arguments

`df` | Degrees of freedom. A vector with length equal to 1 or to the number of variables required. Defaults to 4.
`mean` | Mean parameter. A vector with length equal to 1 or to the number of variables required. Defaults to 0.
`scale` | Scale parameter. A vector with length equal to 1 or to the number of variables required. Defaults to 1.
`mult` | Multiplier applied to `scale`, if `sd` is generated automatically. Defaults to 1.

### Value

Object of class `TDist`.

### See Also

`Covariates`

### Examples

    TDist()
    TDist(mean = c(-1, 0, 0))
    TDist(df = c(4, 4, 7),
          mean = c(-1, 0.2, 0.1),
          scale = c(1, 2, 1))

[Package demest version 0.0.0.3.1 Index]