fit_t: Estimation of the Student-t Distribution

View source: R/fit_margins.R

fit_tR Documentation

Estimation of the Student-t Distribution

Description

Performs the estimation on the Student-t distribution (univariate and multivariate). Wrappers fit.tuv and fit.tmv.

Usage

fit_t(x, symmetric = FALSE)

## Default S3 method:
fit_t(x, symmetric = FALSE)

## S3 method for class 'tbl'
fit_t(x, symmetric = FALSE)

## S3 method for class 'xts'
fit_t(x, symmetric = FALSE)

## S3 method for class 'matrix'
fit_t(x, symmetric = FALSE)

Arguments

x

A tabular (non-tidy) data structure.

symmetric

A logical flag. Should the fitted distribution be symmetric? Defaults to FALSE.

Value

A list of the the class cma_fit with 21 components.

See Also

fit_ghd fit_hyp fit_nig fit_vg fit_normal

Examples

x <- matrix(diff(log(EuStockMarkets)), ncol = 4)

# multivariate estimation
fit_t(x)

# univariate estimation
fit_t(x[ , 4, drop = FALSE])

Reckziegel/CMA documentation built on July 13, 2022, 10:31 p.m.