fit_ar2: Estimate ar2 coefficients from iid time series

View source: R/placebo-simulations.R

fit_ar2R Documentation

Estimate ar2 coefficients from iid time series

Description

Estimate ar2 coefficients from iid time series

Usage

fit_ar2(E)

Arguments

E,

a matrix with those time series as rows

Value

a vector of ar2 coefficients: c(lag-1-coefficient, lag-2-coefficient)


synth-inference/synthdid documentation built on Jan. 26, 2024, 7:21 a.m.