Publications by arthur charpentier

Bias of Hill Estimators

28.01.2014

In the MAT8595 course, we’ve seen yesterday Hill estimator of the tail index. To be more specific, we did see see that if , with , then Hill estimators for are given by for . Then we did say that satisfies some consistency in the sense that if , but not too fast, i.e. (under additional assumptions on the rate of convergence, it is possible...

3298 sym R (837 sym/9 pcs) 78 img 1 tbl

Inference for AR(p) Time Series

28.01.2014

Consider a (stationary) autoregressive process, say of order 2, for some white noise with variance . Here is a code to generate such a process, > phi1=.25 > phi2=.7 > n=1000 > set.seed(1) > e=rnorm(n) > Z=rep(0,n) > for(t in 3:n) Z[t]=phi1*Z[t-1]+phi2*Z[t-2]+e[t] > Z=Z[800:1000] > n=length(Z) > plot(Z,type="l") Here, we have to estimate two se...

3774 sym R (2743 sym/10 pcs) 52 img

Inference for MA(q) Time Series

29.01.2014

Yesterday, we’ve seen how inference for time series was possible.  I started  with that one because it is actually the simple case. For instance, we can use ordinary least squares. There might be some possible bias (see e.g. White (1961)), but asymptotically, estimators are fine (consistent, with asymptotic normality). But when the noise is ...

3038 sym R (1703 sym/6 pcs) 46 img

Inference for ARMA(p,q) Time Series

30.01.2014

As we mentioned in our previous post, as soon as we have a moving average part, inference becomes more complicated. Again, to illustrate, we do not need a two general model. Consider, here, some  process, where  is some white noise, and assume further that . > theta=.7 > phi=.5 > n=1000 > Z=rep(0,n) > set.seed(1) > e=rnorm(n) > for(t in 2:n) ...

2532 sym R (2526 sym/9 pcs) 38 img

Personal Analytics with RSS Feeds

07.02.2014

I am currently working on a paper on Academic Blogging, from my own experience. And I wanted to do something similar to Stephen Wolfram’s personal analytics of my life. More specifically, I wanted to understand when I do post my blog entries. If I post more entries during office hours, then it should mean that, indeed, I consider my blog as a...

4786 sym R (4134 sym/12 pcs) 8 img

Unit Root Tests

12.02.2014

This week, in the MAT8181 Time Series course, we’ve discussed unit root tests. According to Wold’s theorem, if is  (weakly) stationnary then where is the innovation process, and where  is some deterministic series (just to get a result as general as possible). Observe that as discussed in a previous post. To go one step further, there i...

4470 sym R (9586 sym/23 pcs) 36 img

Temperatures Series as Random Walks

12.02.2014

Last year, I did mention in a post that unit-root tests are dangerous, because they might lead us to strange models. For instance, in a post, I did obtain that the temperature observed in January 2013, in Montréal, might be considered as a random walk process (or at leat an integrated process). The code to extract the data has changed (since the...

1821 sym R (1467 sym/5 pcs) 4 img

Bivariate Densities with N(0,1) Margins

18.02.2014

This Monday, in the ACT8595 course, we came back on elliptical distributions and conditional independence (here is an old post on de Finetti’s theorem, and the extension to Hewitt-Savage’s). I have shown simulations, to illustrate those two concepts of dependent variables, but I wanted to spend some time to visualize densities. More specifica...

2762 sym R (1897 sym/3 pcs) 28 img

Voting Twice in France

19.02.2014

On the Monkey Cage blog, Baptiste Coulmont (a.k.a. @coulmont) recently uploaded a post entitled “You can vote twice ! The many political appeals of proxy votes in France“, coauthored with Joël Gombin (a.k.a. @joelgombin), and myself. The study was initially written in French as mentioned in a previous post. Baptiste posted additional ...

3474 sym R (7410 sym/13 pcs) 32 img

Identification of ARMA processes

19.02.2014

Last week (in the MAT8181 course) in order to identify the orders of an ARMA process, we’ve seen the eacf method, and I mentioned the scan method, introduced in Tsay and Tiao (1985). The code below – to produce the output of the scan procedure – has been adapted from an old code by Steve Chen (where I included a visualization of the p-va...

1006 sym R (5403 sym/4 pcs) 8 img