Posts Tagged ‘ normal ’

Visualization in regression analysis

February 23, 2012
By
Visualization in regression analysis

Visualization is a key to success in regression analysis. This is one of the (many) reasons I am also suspicious when I read an article with a quantitative (econometric) analysis without any graph. Consider for instance the following dataset, obtai...

Read more »

MAT8886 Fisher-Tippett theorem and limiting distribution for the maximum

January 12, 2012
By
MAT8886 Fisher-Tippett theorem and limiting distribution for the maximum

Tomorrow, we will discuss Fisher-Tippett theorem. The idea is that there are only three possible limiting distributions for normalized versions of the maxima of i.i.d. samples . For bounded distribution, consider e.g. the uniform distribution on t...

Read more »

Zone of instability

May 26, 2010
By
Zone of instability

I woke up from my afternoon nap feeling a bit off-kilter, so I decided to go for another random walk. In particular, I wanted a journey that avoided the center, but didn’t just run for an exit either. After playing around for a while I came up with this: # Take a wacky walk, return

Read more »

R: Dueling normals

May 18, 2010
By
R: Dueling normals

More playing around with R. To create the graph above, I sampled 100 times from two different normal distributions, then plotted the ratio of times that the first distribution beat the second one on the y-axis. The second distribution always had a mean of 0, the mean of first distribution went from 0 to 4,

Read more »

Probability of hypercubes…

November 28, 2009
By
Probability of hypercubes…

…in R of course! There is a handy function to do those calculations. Normally (ahh!) you might resolve to a symbolic calculation package (Maple,Mathematica etc.)  but that is not the situation any more. The calculations are done with the mnormt package. Relevant functions exist in other packages as well (R : Distributions) x <- seq(-2,4,length=21) y <- 2*x+10 z

Read more »