3906 search results for "gis"

MLB Rankings Using the Bradley-Terry Model

August 31, 2013
By

Today, I take my first shots at ranking Major League Baseball (MLB) teams. I see my efforts at prediction and ranking an ongoing process so that my models improve, the data I incorporate are more meaningful, and ultimately my predictions are largely accurate. For the first attempt, let’s rank MLB teams using the Bradley-Terry (BT) model. Before we discuss the rankings, we need...

The joy and martyrdom of trying to be a Bayesian

August 30, 2013
By

Some of my fellow scientists have it easy. They use predefined methods like linear regression and ANOVA to test simple hypotheses; they live in the innocent world of bivariate plots and lm(). Sometimes they notice that the data have odd histograms and they use glm(). The more educated ones use … Continue reading →

Drafting the Best Starting Lineup in Fantasy Football by Taking into Account Uncertainty in the Projections: An Optimization Simulation

August 29, 2013
By

In a previous post, I showed how to determine the best starting lineup to draft using an optimizer tool.  The optimizer identifies the players that maximize your projected points within your risk tolerance.  The optimizer does not take i...

Drafting the Best Starting Lineup in Fantasy Football by Taking into Account Uncertainty in the Projections: An Optimization Simulation

August 29, 2013
By

In a previous post, I showed how to determine the best starting lineup to draft using an optimizer tool.  The optimizer identifies the players that maximize your projected points within your The post Drafting the Best Starting Lineup in Fantasy Football by Taking into Account Uncertainty in the Projections: An Optimization Simulation appeared first on Fantasy Football Analytics.

Plot Weekly or Monthly Totals in R

August 29, 2013
By

When plotting time series data, you might want to bin the values so that each data point corresponds to the sum for a given month or week. This post will show an easy way to use cut and ggplot2's stat_summary to plot month totals in R wi...

A simple amortization function

August 29, 2013
By

I was working on a project yesterday where I needed to amortize out a bunch of loans to calculate the total interest a borrower would pay if he or she paid the minimum monthly payment for the full term of the loan. I couldn’t find any package in R that already contained the necessary math,

New Video: Credit Scoring & R: Reject inference, nested conditional models, & joint scores

August 29, 2013
By

This post shares the video from the talk presented in August 2013 by Ross Gayler on Credit Scoring and R at Melbourne R Users. Credit scoring tends to involve the balancing of mutually contradictory objectives spiced with a liberal dash … Continue reading →

TV Ratings Myths

August 28, 2013
By

TV Show Cancellations: Myths and Models TV shows are amazing ways to waste time and, on occasion, the story is so good that you actually start to care. The problem is that some shows get cancelled before they jump the shark. Classic examples are shows like

TV Ratings Myths

August 28, 2013
By

TV Show Cancellations: Myths and Models TV shows are amazing ways to waste time and, on occasion, the story is so good that you actually start to care. The problem is that some shows get cancelled before they jump the shark. Classic examples are shows like

Calculating the Highest Value to Bid on Each Player in an Auction Draft: The Bid Up To Value

August 27, 2013
By

In this post, I calculate the highest value you should bid on each player in an auction draft—what I refer to as the "bid up to" value.  In a previous post, I showed how to determine the best starting lineup to draft using an optimizer tool.  The "bid up to" value is calculated by finding the highest cost...