...it is the end of a World. This blog is now officially dead. See you from now on on my new blog,

To content | To menu | To search
Friday, December 21 2012
By arthur charpentier on Friday, December 21 2012, 00:41 - Personal
...it is the end of a World. This blog is now officially dead. See you from now on on my new blog,

Sunday, January 9 2011
By arthur charpentier on Sunday, January 9 2011, 09:46 - Statistics
Just after arriving in Montréal, at the beginning of September, I
discussed statistics of my blog, and said that it might be possible - or
likely - that by new year's Eve, over a million page would have been
viewed on my blog (from Google's counter, here). By the end of October (here) I was very optimistic, but mi-December (here) the challenge was likely to be failed. An indeed, the million page target was hit one week after, on January 8th,
base=read.table("http://freakonometrics.blog.free.fr/public/data/million1.csv",
sep="\t",header=TRUE)
X1=cumsum(base$nombre)
X0=X1
base=read.table("http://freakonometrics.blog.free.fr/public/data/million2.csv",
sep="\t",header=TRUE)
X2=cumsum(base$nombre)
X=X1+X2
D0=as.Date("08/11/2008","%d/%m/%Y")
D=D0+1:length(X1)
plot(D,X1,xlim=c(as.Date("08/06/2010","%d/%m/%Y"),as.Date("08/02/2011","%d/%m/%Y")),
ylim=c(800000,1050000))
abline(h=1000000,col="red")
abline(v=as.Date("01/01/2011","%d/%m/%Y"),col="red")
points(D,X,col="blue")

Again, the black points were from the previous blog (http://blogperso.univ-rennes1.fr/arthur.charpentier/) which was transferred to that new one (http://freakonometrics.blog.free.fr) this Autumn. So I just sum up the stats to get the blue points. At each date, I fit an ARIMA, and use it to make forecast the total number of pages viewed on January 1st, and calculate the probability to reach a million page viewed at that date (using a Gaussian ARIMA model). Actually, here, I changed a little bit the challenge, and asked "what would have been the probability to reach a million page viewed on January 1st, and on January 8th" ?
kt=which(D==as.Date("01/06/2010","%d/%m/%Y"))
Xbase=X
X=X1+X2
P1=P2=rep(NA,(length(X)-kt)+7)
for(h in 0:(length(X)-kt+7)){
model <- arima(X[1:(kt+h)],c(7 ,1,7),method="CSS")
forecast <- predict(model,200)
u=max(D[1:kt+h])+1:300
if(min(u)<=as.Date("01/01/2011","%d/%m/%Y")){
k=which(u==as.Date("01/01/2011","%d/%m/%Y"))
(P1[h+1]=1-pnorm(1000000,forecast$pred[k],forecast$se[k]))}
k=which(u==as.Date("08/01/2011","%d/%m/%Y"))
(P2[h+1]=1-pnorm(1000000,forecast$pred[k],forecast$se[k]))
}


Friday, January 7 2011
By arthur charpentier on Friday, January 7 2011, 22:54 - Disclamer
Wednesday, October 27 2010
By arthur charpentier on Wednesday, October 27 2010, 23:53 - personal
Depuis quelques semaines, mes billets sont presque exclusivement en anglais... En fait, même si je fais cours en français, et que la plupart de mes collègues ici parlent français, je me rends compte qu'on parle naturellement anglais.... en tous les cas plus naturellement qu'en France. Les séminaires sont toujours en anglais, dès qu'on discute à plus de 3, la probabilité qu'une personne ne parle pas français est tellement grande qu'on parle le plus souvent en anglais....

By arthur charpentier on Wednesday, October 27 2010, 15:54 - Statistics
50 days ago, I published a post, here, on forecasting techniques. I was wondering what could be the probability to have, by the end of this year, one million pages viewed (from Google Analytics) on this blog. Well, initially, it was on my blog at the Université de Rennes 1 (http://blogperso.univ-rennes1.fr/arthur.charpentier/), but since I transfered the blog, I had to revise my code. Initially, I had that kind of graphs,






Thursday, September 9 2010
By arthur charpentier on Thursday, September 9 2010, 16:03 - Informatique / R





Le cas de la probabilité d'atteindre plus d'un million de visiteur le 1er janvier est alors
> k=which(u==as.Date("01/01/2011","%d/%m/%Y"))
> 1-pnorm(1000000,mean=forecast$pred[k],sd=forecast$se[k])
[1] 0.2604821




Sunday, August 22 2010
By arthur charpentier on Sunday, August 22 2010, 21:35 - liens externes
Le transfert de blog suit son petit bonhomme de chemin... Le blog
Wednesday, April 22 2009
By arthur charpentier on Wednesday, April 22 2009, 11:32 - personal
Bon visiblement mon blog fait partie de la blogosphère... ce qui apporte une certaine satisfaction, mais aussi une certaine appréhension. Bref, après un an (à peu près) d'existence, je voulais faire un court bilan.
Friday, February 27 2009
By arthur charpentier on Friday, February 27 2009, 09:05 - personal
Bon, si je crois les statistiques de Google Analytics, en moins de 4 mois, j'ai dépassé les 50,000 pages vues et les 15,000 visites (dont plus de 10,000 uniques)... qui aurait pu penser que l'économétrie et l'actuariat intéresseraient autant de monde ! Les mots clés principaux qui font arriver sur ce blog via google sont "chain ladder", "économétrie robuste", "probabilités et statistiques" ou encore "analyse des données"... Bon, pour être (complètement) honnête, les pics ont été observés lorsque j'ai annoncés les mouvements de grèves fin janvier/début février...

