data(smi.stocks)
# Multivariate case:
stepAIC.ghyp(smi.stocks[,2:5], dist=c("ghyp","hyp","t"), symmetric=NULL,
control=list(maxit=500), silent=T, nit=500)
# Univariate case:
stepAIC.ghyp(smi.stocks[,"SMI"], dist=c("ghyp","NIG","VG"), symmetric=TRUE,
control=list(maxit=500), silent=T)
Run the code above in your browser using DataLab