1036 search results for "latex"

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 »

Why is my OS X Yosemite install taking so long?: an analysis

Why is my OS X Yosemite install taking so long?: an analysis

Why? Since the latest Mac OS X update, 10.10 "Yosemite", was released last Thursday, there have been complaints springing up online of the progress bar woefully underestimating the actual time to complete installation. More specifically, it appeared as if, for a certain group of people (myself included), the installer would stall out at "two minutes »more

Read more »

Stan 2.5, now with MATLAB, Julia, and ODEs

October 22, 2014
By
Stan 2.5, now with MATLAB, Julia, and ODEs

As usual, you can find everything on the Stan Home Page. Drop us a line on the stan-users group if you have problems with installs or questions about Stan or coding particular models. New Interfaces We’d like to welcome two new interfaces: MatlabStan by Brian Lau, and  Stan.jl (for Julia) by Rob Goedman. The new The post

Read more »

Prediction intervals too narrow

October 21, 2014
By
Prediction intervals too narrow

Almost all prediction intervals from time series models are too narrow. This is a well-known phenomenon and arises because they do not account for all sources of uncertainty. In my 2002 IJF paper, we measured the size of the problem by computing the actual coverage percentage of the prediction intervals on hold-out samples. We found

Read more »

Removing Uncited References in a Tex File (with R)

October 18, 2014
By
Removing Uncited References in a Tex File (with R)

Last week, with @3wen, we were working a the revised version of our work on smoothing densities of spatial processes (with edge correction). Usually, once you have revised the paper, some references were added, others were droped. But you need to spend some time, to check that all references are actually mentioned in the paper. For instance, consider the...

Read more »

Lot of reports with a single click!

October 7, 2014
By
Lot of reports with a single click!

Suppose you want to create a huge number of pdf files t

Read more »

The winds of Winter [Bayesian prediction]

October 6, 2014
By
The winds of Winter [Bayesian prediction]

A surprising entry on arXiv this morning: Richard Vale (from Christchurch, NZ) has posted a paper about the characters appearing in the yet hypothetical next volume of George R.R. Martin’s Song of ice and fire series, The winds of Winter . Using the previous five books in the series

Read more »