3137 search results for "gis"

Fun with random effects in loss reserving

July 3, 2013
By
Fun with random effects in loss reserving

For some time now, I’ve advocated for the view that non-life loss reserving constitutes a categorized linear regression. I’ll emphasize that the idea of a linear regression isn’t remotely novel. Further, the categorization is the de facto approach. I’m merely recognizing it and suggesting instances where a decision may be made about the optimality of

Read more »

Customize your .Rprofile and Keep Your Workspace Clean

July 2, 2013
By

Like your .bashrc, .vimrc, or many other dotfiles you may have in your home directory, your .Rprofile is sourced every time you start an R session. On Mac and Linux, this file is usually located in ~/.Rprofile. On Windows it's buried somewhere in the R...

Read more »

Power and sample size calculator for mitochondrial DNA association studies (Shiny)

July 1, 2013
By
Power and sample size calculator for mitochondrial DNA association studies (Shiny)

The functions detailed inside the piece of code below (in a Gist) has been useful for me when I had to calculate many possible scenarios of statistical power and sample size. The formulae were taken from the article of Samuels … Sigue leyendo →

Read more »

R and PostgreSQL – using RPostgreSQL and sqldf

July 1, 2013
By

PostgreSQL and R can often be used together for data analysis - PostgreSQL as database engine and R as statistical tool. In this article you will learn how to access data stored in PostgreSQL database and how to write the data back using RPostgreSQL an...

Read more »

An .EPS to .PDF converter (using LaTeX!)

June 30, 2013
By
An .EPS to .PDF converter (using LaTeX!)

I am about to go on a short holiday, so I was tidying the code lines I had scattered around before leaving… And I found this: a minimal EPS to PDF converter, which is barely a LaTeX template. It is … Sigue leyendo →

Read more »

R to GeoJSON

June 30, 2013
By

GitHub recently introduced the ability to render GeoJSON files on their site as maps here, and recently introduced here support for TopoJSON, an extension of GeoJSON can be up to 80% smaller than GeoJSON, support for other file extensions (.topojson and .json), and you can embed the maps on other sites (so awesome). The underlying...

Read more »

R to GeoJSON

June 30, 2013
By

UPDATE As you can see in Patrick's comment below you can convert to GeoJSON format files with rgdal as an alternative to calling the Ogre web API described below. See here for example code for converting to GeoJSON with rgdal. GitHub recently introduced the ability to render GeoJSON files on their site as maps here, and recently...

Read more »

Fun with Fremont Bridge Bicyclists

June 27, 2013
By
Fun with Fremont Bridge Bicyclists

Given the title of this post and its proximity to the Solstice, you will be disappointed to know that I am not writing about naked bicyclists. I apologize for any false hope I may have instilled in you.On October 11th, 2012, the city of Seattle, WA beg...

Read more »

Trading Strategy 1: What goes up, goes up…

June 26, 2013
By
Trading Strategy 1: What goes up, goes up…

As I said earlier, my main task at my internship is to hunt for profitable strategies. As you can imagine, strategies can range from the exceedingly simple and easy to implement, to the crazily complex. Let’s start out with one … Continue reading →

Read more »

Technical(and not technical) strategy testing

June 25, 2013
By
Technical(and not technical) strategy testing

I got "hooked" on OOP approach of R in particular reference classes. And after my last little project on option scenario analysis I reconstructed my messy technical strategy testing code.Now to begin I would like to reason why I have done this while there exists a nice "blotter" and "quantstrat" packages.First of all "quantstrat" is faster than blotter, which...

Read more »