Description Usage Arguments Value Author(s) See Also Examples
This function is used by bestModels
1 2  | best_glp_models(z, glp = c("ARTFIMA", "ARFIMA", "ARIMA"), p = 2, q = 2, 
   likAlg = c("exact", "Whittle"), d=0, ...)
 | 
z | 
 time series  | 
glp | 
 glp is equal to one of the following choices: "ARTFIMA", "ARFIMA" or "ARIMA"  | 
p | 
 maximum order of AR component  | 
q | 
 maximum order of MA component  | 
likAlg | 
 likAlg = c("exact", "Whittle")) either "exact" or "Whittle"  | 
d | 
 regular integer differencing parameter  | 
... | 
 optional arguments for artfima such as lambdaMax  | 
A list with 4 entries:
LL | 
 log-likelihood of models  | 
artfima_time | 
 total time  | 
aic | 
 list with best aic models  | 
bic | 
 list with best bic models  | 
Each of the components aic and bic is a list with three components:
bestaic | 
 best aic models  | 
bestbicModel | 
 best model  | 
aic | 
 plausability  | 
Similarly for the bic component.
A. I. McLeod
1 2 3 4 5 6 7 8 9 10 11 12  | ## Not run: 
#takes about 4 minutes. Checking result for bestmodels()
z<-tseg(1000, "BJARMA11")
ansARIMA <- best_glp_models(z, glp = "ARIMA", p=2, q=2)
ansARFIMA <- best_glp_models(z, glp = "ARFIMA", p=2, q=2)
ansARTFIMA <- best_glp_models(z, glp = "ARTFIMA", p=2, q=2)
ansARIMA$bic$bic
ansARFIMA$bic$bic
ansARTFIMA$bic$bic
bestModels(z)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.