R/gen.Params.tsm.R

`gen.Params.tsm` <-
function(fmla, ...){
  make.Ind.Par <- function(size){ 2 * runif(size) - 1}
  list(AR.Pars = make.Ind.Par(as.numeric(fmla$model$AR)), MA.Pars = make.Ind.Par(as.numeric(fmla$model$MA)),
  SAR.Pars = make.Ind.Par(as.numeric(fmla$seasonal$model$AR)), SMA.Pars = make.Ind.Par(as.numeric(fmla$seasonal$model$MA)))
}

Try the CombMSC package in your browser

Any scripts or data that you put into this service are public.

CombMSC documentation built on May 2, 2019, 2:32 p.m.