Learn R Programming

CoSMoS (version 2.1.0)

fitACS: Autocorrelation structure fit

Description

Autocorrelation structure fit

Auxiliary function passed to fitACS

Usage

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

Run this code
# NOT RUN {
x <- AR1(1000, .8)

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

# }

Run the code above in your browser using DataLab