fitACS function

Autocorrelation structure fit

Autocorrelation structure fit

Autocorrelation structure fit

Auxiliary function passed to fitACS

fitACS(acf, ID, start = NULL, lag = NULL) optimACS(par, id, eACS, error = "MSE")

Arguments

  • acf: vector of autocorrelation function values from lag 0
  • ID: ACS id
  • start: starting parameter value
  • lag: acf lag
  • par: parameter value
  • id: ACS id
  • eACS: empirical ACS
  • error: which error to minimize

Examples

x <- AR1(1000, .8) acsfit <- fitACS(acf(x, plot = FALSE)$acf, 'weibull', c(1, 1))

Other functions in CoSMoS

Related functions from the same R package