skew.t_fit: Fit Skewed Student-t Distribution to a vector of returns/stock prices.
Description
This function fits the Skewed Student-t Distribution to a given data vector using the skew.t_fit function from
the fGarch package. It returns the estimated parameters along with the AIC and BIC values for the fitted
distribution.
Usage
skew.t_fit(vec)
Value
A list with the following elements:
params
A numeric vector of length 4 containing the fitted Skewed Student-t parameters: degrees of freedom, skewness, scale, and location.
aic
The Akaike Information Criterion (AIC) for the fitted model.
bic
The Bayesian Information Criterion (BIC) for the fitted model.