1042 search results for "latex"

Confidence vs. Credibility Intervals

November 26, 2014
By
Confidence vs. Credibility Intervals

Tomorrow, for the final lecture of the Mathematical Statistics course, I will try to illustrate - using Monte Carlo simulations - the difference between classical statistics, and the Bayesien approach. The (simple) way I see it is the following, for frequentists, a probability is a measure of the the frequency of repeated events, so the interpretation is that parameters are...

Read more »

Flowers/Fractals

November 21, 2014
By
Flowers/Fractals

Last week, I attended a "Flower Fest" where I had the opportunity to admire several of the most beautiful and awarded flowers, orchids, and decoration plants. Surprisingly, though, I never had thought of flowers like fractals the way I did this time. Fractals attract lots of interest, especially from mathematicians who actually spend some time … Read More...

Read more »

Reinterpreting Lee-Carter Mortality Model

November 18, 2014
By
Reinterpreting Lee-Carter Mortality Model

Last week, while I was giving my crash course on R for insurance, we’ve been discussing possible extensions of Lee & Carter (1992) model. If we look at the seminal paper, the model is defined as follows Hence, it means that This would be a (non)linear model on the logarithm of the mortality rate. A non-equivalent, but alternative expression...

Read more »

rmarkdown: Alter Action Depending on Document

November 18, 2014
By
rmarkdown: Alter Action Depending on Document

Can I see a show of hands for those who love rmarkdown? Yeah me too. One nifty feature is the ability to specify various document prettifications in the YAML of a .Rmd document and then use: The Problem Have you … Continue reading →

Read more »

Solutions on github

November 12, 2014
By

See this page. We're not done with them all but chapter 3 and 4 are there and the regression chapters are not too far behind. The Rnw files (using knitr LaTeX) are there along with the corresponding pdf files. You may have better solutions than ...

Read more »

Using Markdown and Pandoc for Publication

November 9, 2014
By

Using Markdown and Pandoc for PublicationThe other day I was involved in editing job, in which I was supposed to edit 18 articles written in Microsoft Word (doc/docx format) and convert them into pdf format (for printing into a book) and html format (for web publishing). Manuscripts written by people not proficient in doc(x) format are notorious...

Read more »

Shapefiles from Isodensity Curves

November 3, 2014
By
Shapefiles from Isodensity Curves

Recently, with @3wen, we wanted to play with isodensity curves. The problem is that it is difficult to get – numerically – the equation of the contour (even if we can easily plot it). Consider the following surface (just for fun, in order to illustrate the idea) > f=function(x,y) x*y+(1-x)*(1-y) > u=v=seq(0,1,length=21) > v=seq(0,1,length=11) > f=outer(u,v,f) > persp(u,v,f,theta=angle,phi=10,box=TRUE, +...

Read more »

R 3.1.2 release (and upgrading for Windows users)

November 3, 2014
By
R 3.1.2 release (and upgrading for Windows users)

R 3.1.2 (codename “Pumpkin Helmet“) was released last week. You can get the latest binaries version from here. (or the .tar.gz source code from here). The full list of new features and bug fixes is provided below. Upgrading to R 3.1.2 on Windows If you are using Windows you can easily upgrade to the latest version of R using the installr

Read more »

R and RStudio incompatibility with Yosemite Mac OS X 10.10

October 23, 2014
By

There is currently a bug (or feature?) in the current version of Yosemite (OS X 10.10) that messes with the passing of environmental variables to programs launched from Finder (as pointed out by Adam Maxwell). Notably, this means that PATH variables are not passed properly to R.app or RStudio.app. You may end up seeing errors

Read more »

Feller’s shoes and Rasmus’ socks [well, Karl's actually...]

October 23, 2014
By
Feller’s shoes and Rasmus’ socks [well, Karl's actually...]

Yesterday, Rasmus Bååth posted a very nice blog using ABC to derive the posterior distribution of the total number of socks in the laundry when only pulling out orphan socks and no pair at all in the first eleven draws. Maybe not the most pressing issue for Bayesian inference in the era

Read more »