Learn R Programming

EcoMetrics (version 0.1.1)

fit_arima: Fit ARIMA models to univariate data

Description

Fit ARIMA models to univariate data

Usage

fit_arima(data, p, d, q)

Value

A tibble containing the estimate, SE and p-value

Arguments

data

a univariate class object or a vector

p

AR order

d

differencing order

q

MA order

Examples

Run this code
data(keconomy)
attach(keconomy)
fit_arima(UR, p=2,d=0,q=3)

Run the code above in your browser using DataLab