Time Series Analysis
Time Series Analysis
where,
𝜇 is the mean.
is the time series at time t .
Where,
is the time series at time t
is the model parameters
is white noise
Auto Regression (AR)
• During training, the model learns the optimal
parameters by minimising a loss function such as
the Mean Squared Error (MSE):
where:
L = Maximum likelihood function of the model
k = Number of estimated parameters (including error
variance )
AIC is better when you need better forecasting accuracy
(allows more parameters).
Bayesian Information Criterion (BIC)
BIC is similar to AIC but applies a stronger penalty for the number
of parameters. It is used to select the simplest model that fits
the data well.
where:
L = Maximum likelihood function of the model
k = Number of estimated parameters
T = Number of observations in the dataset
BIC is better when you want a simpler model (stronger penalty
for complexity).
AIC and BIC for MA model
Log Likelihood for MA(1) 2.961
No. of parameters for MA(1)= 3
AIC = - 2 (2.961) + 2 * 3 = 0.078
BIC = - 2 (2.961) + 3 * ln(11) = 1.27168