2294 search results for "ggplot"

Behavioral Economics and Beer… highly correlated

March 19, 2013
By
Behavioral Economics and Beer… highly correlated

Short: I plot the frequency of wikipedia searches of “Behavioral Economics”, and “Beer” – who knew the correlation would be 0.7! Data reference:Data on any wikipedia searches (back to 2007) are available at http://glimmer.rstudio.com/pssguy/wikiSearchRates/. The website allows you to download frequency hits per day as a csv, which is what I've done here....

Read more »

Animating neural networks from the nnet package

March 19, 2013
By
Animating neural networks from the nnet package

My research has allowed me to implement techniques for visualizing multivariate models in R and I wanted to share some additional techniques I’ve developed, in addition to my previous post. For example, I think a primary obstacle towards developing a useful neural network model is an under-appreciation of the effects model parameters have on model

Read more »

Samsung Phone Data Analysis Project

March 19, 2013
By
Samsung Phone Data Analysis Project

Below are my findings from the second data analysis project in Dr. Jeffery Leek’s John Hopkins Coursera class. Introduction I used the  “Human Activity Recognition Using Smartphones Dataset” (UCI, 2013) to build a model. This data  was recorded from a Samsung prototype smartphone with a built-in accelerometer. The purpose of my model was to recognize the type

Read more »

Analyzing Local Data with a Shiny Web App

March 19, 2013
By

A great. recent enhancement for the Shiny App is the ability to upload local files. Now, in addition to users being able to interact with data provided on the host e.g. Soccer Tables or via the web, Wikipedia Search Rates they can use apps to view and analyse their own data I have knocked up

Read more »

Veterinary Epidemiologic Research: GLM – Evaluating Logistic Regression Models (part 3)

March 19, 2013
By
Veterinary Epidemiologic Research: GLM – Evaluating Logistic Regression Models (part 3)

Third part on logistic regression (first here, second here). Two steps in assessing the fit of the model: first is to determine if the model fits using summary measures of goodness of fit or by assessing the predictive ability of the model; second is to deterime if there’s any observations that do not fit the

Read more »

Which political science journals will have a data policy?

March 18, 2013
By
Which political science journals will have a data policy?

Making available replication materials for the research you do is A Good Thing. It’s also work, and it’s quite easy to never get around to. Certainly I claim no special virtue in this department so I am always happy when there’s an institutional stick to prod my better nature in the right direction. One such institutional

Read more »

Veterinary Epidemiologic Research: GLM – Logistic Regression (part 2)

March 17, 2013
By
Veterinary Epidemiologic Research: GLM – Logistic Regression (part 2)

Second part on logistic regression (first one here). We used in the previous post a likelihood ratio test to compare a full and null model. The same can be done to compare a full and nested model to test the contribution of any subset of parameters: Interpretation of coefficients Note: Dohoo do not report the

Read more »

R, where should I start?

March 17, 2013
By

This is a dynamic post which I will continue to update whenever I find something new. Hope you will find the following links useful.Online Courses for Learning the R languageTry R from Code Schoole-Books for Learning the R LanguageR for Beginners ...

Read more »

Comparing ESPN’s, CBS’s, and NFL.com’s Fantasy Football Projections using R

March 17, 2013
By
Comparing ESPN’s, CBS’s, and NFL.com’s Fantasy Football Projections using R

In the future, we will determine how to select the best possible team by maximizing your team's projected points and minimizing its downside risk.  But in order to do this, we will have to rely on our best guess of how many points each player will score.  We will use 2012 projections from ESPN, CBS, and NFL.com and actual...

Read more »

Scholarly metadata in R

March 16, 2013
By
Scholarly metadata in R

Scholarly metadata - the meta-information surrounding articles - can be super useful. Although metadata does not contain the full content of articles, it contains a lot of useful information, including title, authors, abstract, URL to the article, etc. One of the largest sources of metadata is provided via the Open Archives Initiative Protocol for Metadata Harvesting or OAI-PMH....

Read more »