4625 search results for "git"

analyze the panel study of income dynamics (psid) with r

October 7, 2013
By

the panel study of income dynamics (psid) is a one-trick pony.  better than anything else out there, this survey allows you to answer the question, "where are they now?"  after tracking the same nationally-representative cohort of americans (...

Read more »

Post 2: Generating fake data

October 6, 2013
By
Post 2: Generating fake data

In order to check that an estimation algorithm is working properly, it is useful to see if the algorithm can recover the true parameter values in one or more simulated "test" data sets. This post explains how to build such … Continue reading →

Read more »

Crime Against Women in India – Addressing 8 Questions Using rCharts, googleVis, and shiny

October 5, 2013
By

Recent crimes against women, specifically the 2012 gang rape in New Delhi of a 23 year old lady, have pushed this issue as a substantially significant one for Indians to deal with. In this post, I try to address 8 different questions regarding crime against women in India. (1). How have numbers in different types of crimes and percentage of different...

Read more »

Simplicity Explained by The Author

October 4, 2013
By
Simplicity Explained by The Author

Source is usually best explained by the source.  Ramnath Vaidyanathan provides an excellent look under the hood in his tutorial on rCharts explaining how he integrates the new d3 library uvCharts. If you want to explore further, here is a list of...

Read more »

Post 1: A Bayesian 2PL IRT model

October 4, 2013
By
Post 1: A Bayesian 2PL IRT model

In this post, we define the Two-Parameter Logistic (2PL) IRT model, derive the complete conditionals that will form the basis of the sampler, and discuss our choice of prior specification. We can find the appropriate values of numerically in R … Continue reading →

Read more »

First day of State of Food Insecurity (SOFI) 2013

October 2, 2013
By
First day of State of Food Insecurity (SOFI) 2013

The FAO flagship publication SOFI 2013 was release yesterday on the 1st of October, the publication is the most important report in monitoring the progress towards the 2015 Millenium Development Goal and ultimately eliminate hunger. I was interest in how the people responded, so I scrapped some data from Twitter and previous work to carry...

Read more »

What’s the Most “Concave” State in the U.S.? Using R to Solve a Geography Puzzle

October 1, 2013
By
What’s the Most “Concave” State in the U.S.? Using R to Solve a Geography Puzzle

This is a guest post by Todd Schneider and the original link is http://news.rapgenius.com/Atodd-whats-the-most-concave-state-in-the-us-using-r-to-solve-a-geography-puzzle-lyrics. The puzzle: find two points inside the United States such that Both points are in the same state The straight line segment (shortest great circle) connecting them crosses the largest number of distinct states This came up during a recent road trip through Pennsylvania, Maryland, West Virginia,...

Read more »

Creating a matrix from a long data.frame

October 1, 2013
By

There can never be too many examples for transforming data with R. So, here is another example of reshaping a data.frame into a matrix.Here I have a data frame that shows incremental claim payments over time for different loss occurrence (origin) years...

Read more »

Which is the best "Flyover" state?

September 30, 2013
By
Which is the best "Flyover" state?

If you were to hop into your personal aircraft, and plotted a straight line course taking off in one state and landing in the SAME state, how many other states might you fly over? On other words, what's the best state for "flyovers" of other states? Todd Schnieder from the Rapgenius engineering team answered that question using the R...

Read more »

How heavy is the Siberut macaque? A Bayesian phylogenetic approach

September 30, 2013
By
How heavy is the Siberut macaque? A Bayesian phylogenetic approach

Among-species comparisons can include phylogenetic information to account for non-independence arising from shared evolutionary history. Often, phylogenetic topologies and branch lengths are not known exactly, but are estimated with uncertainty. This uncertainty can be accounted for using methods recently described in a neat paper called Bayesian models for comparative analysis integrating phylogenetic uncertainty by Villemereuil et...

Read more »