Example #1
0
 public GARCHModel(GARCHType modelType, int dataOrder, int intrinsicOrder)
 {
     this.modelType      = modelType;
     this.dataOrder      = dataOrder;
     this.intrinsicOrder = intrinsicOrder;
     LocalInitializeParameters();
 }
Example #2
0
 /// <summary>
 ///     basic constructor for an GARCH(m,s) model.
 /// </summary>
 /// <param name="modelType">Type of GARCH model to user</param>
 /// <param name="dataOrder">m order</param>
 /// <param name="intrinsicOrder">s order</param>
 /// <param name="data">data to associate with this model</param>
 public GARCHModel(GARCHType modelType, int dataOrder, int intrinsicOrder, Data.TimeSeries data)
 {
     this.modelType      = modelType;
     this.dataOrder      = dataOrder;
     this.intrinsicOrder = intrinsicOrder;
     values = data;
     LocalInitializeParameters();
 }