# What happens if we forget a trivial assumption ?

Last week, @dmonniaux published an interesting post entitled l’erreur n’a rien d’original  on  his blog. He was asking the following question : let $a$, $b$ and $c$ denote three real-valued coefficients, under which assumption on those three coefficients does $ax^2+bx+c$ has a real-valued root ?

Everyone aswered $b^2-4ac\geq 0$, but no one mentioned that it is necessary to have a proper quadratic equation, first. For instance, if both $a$ and $b$ are null, there are no roots.

It reminds me all my time series courses, when I define $ARMA(p,q)$ processes, i.e.

$\Phi(L) X_t=\Theta(L)\varepsilon_t$

To have a proper $ARMA(p,q)$ process, $\Phi(\cdot)$ has to be a polynomial of order $p$, and $\Theta(\cdot)$ has to be a polynomial of order $q$. But that is not enough ! Roots of $\Phi(\cdot)$ and $\Theta(\cdot)$ have to be differents ! If they have one root in common then we do not deal with a $ARMA(p,q)$ process.

It sounds like something trivial, but most of the time, everyone forgets about it. Just like the assumption that $a$ and $b$ should be non-null in @dmonniaux‘s problem.

And most of the time, those theoretical problems are extremely important in practice ! I mean, assume that you have an $AR(1)$ time series,

$(1-\phi L)X_t=\varepsilon_t$

but you don’t know it is an $AR(1)$, and you fit an $ARMA(2,1)$,

$(1-\phi L)(1-\theta L)X_t=(1-\theta L)\varepsilon_t$

Most of the time, we do not look at the roots of the polynomials, we just mention the coefficients of the polynomials,

$(1-[\phi +\theta] L+\theta\phi L^2)X_t=(1-\theta L)\varepsilon_t$

The statistical interpreration is that the model is mispecified, and we have a non-identifiable parameter here. Is our inference procedure clever enough to understand that $\theta$ should be null ? What kind of coefficients $\phi_1$ and $\phi_2$ do we get ? Is the first one close to $\phi$ and the second one close to $0$ ? Because that is the true model, somehow….

Let us run some monte carlo simulations to get some hints

> ns=1000
> fit2=matrix(NA,ns,3)
> for(s in 1:ns){
+ X=arima.sim(n = 240, list(ar=0.7,sd=1))
+ fit=try( arima(X,order=c(2,0,1))$coef[1:3] ) + if(!inherits(fit, "try-error")) fit2[s,]=fit + } If we just focus on the estimations that did run well, we get > library(ks) > H=diag(c(.01,.01)) > U=as.data.frame(fit2) > U=U[!is.na(U[,1]),] > fat=kde(U,H,xmin=c(-2.05,-1.05),xmax=c(2.05,1.05)) > z=fat$estimate
> library(RColorBrewer)
> reds=colorRampPalette(brewer.pal(9,"Reds"))(100)
> image(seq(-2.05,2.05,length=151),
+ seq(-1.05,1.05,length=151),
+ z,col=reds)

The black dot is were we expect to be : $\phi_1$ close to $\phi$ and $\phi_2$ close to $0$. (the stationnarity triangle for $ARMA(2,1)$ time series was added on the graph) But the numerical output is far away from what we were expecting.

So yes, the theoretical assumption to have distinct roots is very import, even if everyone forgets about it ! From a numerical point of view, we can get almost anything if we forget about that trivial assumption ! Actually, I still wonder which kind of “anything” we have… When we look at the distribution of $\theta$, it is clearly not “uniform”

> hist(fit2[,3],col="light blue",probability=TRUE)

And actually, there are a priori no reason to have $\theta\in[-1,1]$. But that’s what we observe here

> range(fit2[!is.na(fit2[,3]),3])
[1] -1  1

OpenEdition suggests that you cite this post as follows:
Arthur Charpentier (October 4, 2014). What happens if we forget a trivial assumption ? Freakonometrics. Retrieved September 11, 2024 from https://doi.org/10.58079/oux4

This site uses Akismet to reduce spam. Learn how your comment data is processed.