4772 search results for "git"

getSymbols Extra

November 25, 2013
By
getSymbols Extra

The getSymbols function from the quantmod package is an easy and convenient way to bring historical stock prices into your R environment. You need to specify the list of tickers, the source of historical prices and dates. For example following commands will download historical stock prices from yahoo finance for ‘RWX’, ‘VNQ’, ‘VGSIX’ symbols: Now,

Read more »

Getting Started with Mixed Effect Models in R

November 25, 2013
By

Getting Started with Multilevel Modeling in R Getting Started with Multilevel Modeling in R Jared E. Knowles Introduction Analysts dealing with grouped data and complex hierarchical structures in their data ranging from measurements nested within participants, to counties nested within states or students nested within classrooms often find themselves...

Read more »

Mapping Foodborne Chicago Reports

November 25, 2013
By
Mapping Foodborne Chicago Reports

I help out with a project called Foodborne Chicago, where we search twitter for people in Chicago mentioning "food poisoning" and @reply to them with a link where they can file a report with the city of Chicago's Department of Public Health. The applic...

Read more »

Ranked Choice Voting

November 25, 2013
By
Ranked Choice Voting

The city of Minneapolis recently elected a new mayor. This is not newsworthy in and of itself, however the method they used was—ranked choice voting. Ranked choice voting is a method of voting allowing voters to rank multiple candidates in order of preference. In … Continue reading →

Read more »

Just for fun: attractors in R

November 24, 2013
By
Just for fun: attractors in R

I have a borderline unhealthy obsession with attractors. I thought I got it out of my system, but here we are. For whatever reason, I felt like making some in R.You can find the R code here. It uses the attractor function to define density in a ma...

Read more »

R: Mapping Super Typhoon Yolanda (Haiyan) Track

November 24, 2013
By
R: Mapping Super Typhoon Yolanda (Haiyan) Track

After reading Enrico Tonini post, I decided to map the super typhoon Haiyan track using OpenStreetMap, maptools, and ggplot2. If mapping with googleVis was possible with 13 lines only, that can also be achieved with the packages I used; but because I p...

Read more »

New R package emdatr: Global Disaster Losses from the EM-DAT Database

November 22, 2013
By

The International Disaster Database EM-DAT from the Center for Research on the Epidemiology of Disasters (CRED, Belgium) is often used as a reference for losses on human life and property resulting from natural and man-made disasters. This databas...

Read more »

Results of an Informal Survey of R users

November 22, 2013
By
Results of an Informal Survey of R users

# This post does some basic correlation analysis between responses# to the survey I recently released through R Shiny at:http://www.econometricsbysimulation.com/2013/11/Shiny-Survey-Tool.html # I have saved the data from the survey after completin...

Read more »

Easy Laplace Approximation of Bayesian Models in R

November 21, 2013
By
Easy Laplace Approximation of Bayesian Models in R

Thank you for tuning in! In this post, a continuation of Three Ways to Run Bayesian Models in R, I will: Handwave an explanation of the Laplace Approximation, a fast and (hopefully not too) dirty method to approximate the posterior of a Bayesian model. Show that it is super easy to do Laplace approximation in R, basically four...

Read more »

Comparison Among Groups with Francis Parameterization

November 21, 2013
By
Comparison Among Groups with Francis Parameterization

In my last post, I suggested that the Francis parameterization of the von Bertalanffy growth model may be used in cases where the typical parameterization did not converge (likely due to issues related to highly correlated parameters and data with … Continue reading →

Read more »