Posts Tagged ‘ R-english ’

Statistique de l’assurance STT6705V, partie 12 bis

December 7, 2010
By
Statistique de l’assurance STT6705V, partie 12 bis

In the previous post (here) discussing forecasts of actuarial quantities, I did not mention much how to forecast the temporal component in the Lee-Carter model. Actually, many things can be done. Consider here some exponential smoothing techniques ...

Read more »

Statistique de l’assurance STT6705V, partie 12

December 2, 2010
By
Statistique de l’assurance STT6705V, partie 12

The final course (since courses end this week in Montréal) can be watched here and there. The drawings from the course can be downloaded here (including last week's). First, to come back on last week's course , we considered Lee-carter model, i.e....

Read more »

Statistique de l’assurance STT6705V, partie 11

November 29, 2010
By
Statistique de l’assurance STT6705V, partie 11

Last course will be uploaded soon (the links will be here and there). The R code considered is given below. First, we had to work a little bit on the datasets, tabB=read.table("http://perso.univ-rennes1.fr/arthur.charpentier/tabB.csv", sep=";",head...

Read more »

Generating a quasi Poisson distribution, version 2

November 10, 2010
By
Generating a quasi Poisson distribution, version 2

Here and there, I mentioned two codes to generated quasiPoisson random variables. And in both of them, the negative binomial approximation seems to be wrong. Recall that the negative binomial distribution is where and in R, a negative binomial di...

Read more »

Updating meteorological forecasts, part 1

November 7, 2010
By
Updating meteorological forecasts, part 1

As Mark Twain said "the art of prophecy is very difficult, especially about the future" (well, actually I am not sure Mark Twain was the  first one to say so, but if you're interested by that sentence, you can look here). I have been rather su...

Read more »

Pretty R code in the blog

November 5, 2010
By
Pretty R code in the blog

David Smith (alias @revodavid, see also on the Revolutions blog, here) pointed out that my R code was not easy to read (not only due to my computing skills, but mainly because of the typography I use). He suggested that I use the Pretty R tool (her...

Read more »

Splines: opening the (black) box…

November 4, 2010
By
Splines: opening the (black) box…

Splines in regression is something which looks like a black box (or maybe like some dishes you get when you travel away from home: it tastes good, but you don't what's inside... even if you might have some clues, you never know for sure*). With spl...

Read more »

My residuals look weird… aren’t they ?

November 3, 2010
By
My residuals look weird… aren’t they ?

Since I got the same question twice, let us look at it quickly....  Some students show me a graph (from a Poisson regression) which looks like that, and they asked "isn't it weird ?", i.e."residuals are null or positive... this is not what we...

Read more »

Comments on probabilities

November 2, 2010
By
Comments on probabilities

The only thing I remember from courses I had in probability a few years ago is that we also have to clearly defined the event we want to calculate the probability. On the Freakonomics blog, last week, the Israeli lottery was mentioned (here, see a...

Read more »

Names of villages, in France

November 2, 2010
By
Names of villages, in France

Keith Briggs published a post here on names of English place name element distribution, which contains almost twenty maps like the one where names ends by -bourn,bourne,burn (here) or -head (there). Actually, it is possible (Robin mentioned that a...

Read more »