Cinderella Plot: 2001 – 2016

I originally made this plot for the 2012 Stat Geek Idol contest run by Team Rankings, and they are still cool.  The original article describing them can be found here. Below I’ve updated the plots for games through March 19th.  (For games that haven’t been played yet this year, I’ve assumed the higher seed wins for the sake of the plot.)

Cheers.

Cinderella2016

CinderellaPlot2004-2016.png

The ASA’s statement on p-values: context, process, and purpose

The ASA’s statement on p-values: context, process, and purpose

Cheers.

 

NCAA Tournament Field – Who Should be in?

Here are my current picks for teams that should be in the tournament.  I’m NOT projecting the field, I’m modeling teams I think should be in.

Cheers.


 

Last 4 in: Syracuse, Colorado, Michigan, Florida St

First 4 out: Providence, Kansas St, Creighton, Tulsa

Next 4 out: BYU, G Washington, Oregon St, Georgia Tech


 

1 seeds: Kansas*, Villanova*, Michigan State*, Virginia*

2 seeds: North Carolina, West Virginia, Oklahoma, Miami (FL)

3 seeds: Xavier, Louisville, Kentucky*, Duke

4 seeds: Oregon*, Purdue, SMU*, Arizona

5 seeds: Indiana, Texas A & M, Utah, Maryland

6 seeds: Iowa State, Iowa, Vanderbilt, California

7 seeds: Wichita St*, Baylor, Texas, Seton Hall

8 seeds: Gonzaga*, Butler, St. Mary’s, Pittsburgh

9 seeds: Wisconsin, Cincinnati, Notre Dame, St. Josephs

10 seeds: VCU*, UConn, USC, Texas Tech

11 seeds: Valparaiso*, Florida, South Carolina, Dayton

 

 

12 seeds: (Play-In: Syracuse/Florida St), (Play-In: Colorado/Michigan), San Diego St*, Arkansas – Little Rock*

 

13 seeds: Yale, South Dakota St*, Monmouth*, Hawaii*

 

14 seeds: Stephen F. Austin*, Chattanooga*, Stony Brook*, UAB*

 

15 seeds: Ohio*, Grand Canyon*, Weber St*, UNC Asheville*

 

16 seeds: N Florida*,Texas Southern*, (Play-In:Lehigh*/Austin Peay), (Play-In: Wagner*/Norfolk St*)


 

* – Indicates projected conference champion, Bold – Indicates actual conference champions


 

 

 

 

 

Talk at Columbia Business School

People are idiots.

statsbylopez's avatarStatsbyLopez

I spoke this morning about prediction algorithms and NCAA basketball for Mark Brodie’s class at Columbia’s Business School. Also speaking was Ed Kaplan of Operations Research fame.

Here are my slides, much of which was built from joint work with Greg in the Kaggle contest. There are also extensions to other things in life that I like, such as upset pools, game theory, and extensions/extrapolations to sports analytics as a whole.

View original post

Getting rid of Algebra II from high school and college curricula is an insane suggestion

I recently (as in just now) read an article on Slate called “Down with Algebra II” where the author Dana Goldstein presents an argument by political scientist Andrew Hacker that we should replace “algebra II and calculus in the high school and college curriculum with a practical course in statistics for citizenship”.  (I’m all for a required course in statistics for citizenship!  But not at the cost of Algebra II).  Further, this article states in the subtitle (emphasis added):  “It [Algebra II] drives dropout rates and is mostly useless in real life.”  I vehemently disagree with this.

First of all, let me refresh your memory on some of the topics in Algebra II:

  • Functions
  • Complex numbers
  • Polynomials
  • Radical equations
  • Exponential growth and decay
  • Logarithmic functions
  • Basic Trigonometry

Let’s just take a few of these here and think about how these practically affect your everyday life as an adult:

Functions: The amount you pay in taxes is a piece-wise linear function. (Unless Ted Cruz is elected and imposes a flat tax and abolished the IRS!)  I’d say taxes are pretty relevant to your everyday life.  Unless you plan on making very little money at your job (which is probably because you failed Algebra II…..)

Exponential growth:  Do you want to retire ever?  Exponential growth governs how money grows over time.  Understanding this is foundational to financial literacy.

As for the others, if you don’t make students learn these things in high school (i.e. polynomials, complex numbers, trigonometry) you are shutting the door to a HUGE variety of occupations at a pretty early stage in life.  And if you ask a 15 year old if they want to take Algebra II or not, basically every one of them is going to say no.  As adults, especially adults in 2016, we shouldn’t let that happen.

So I refuse to buy the argument that math, especially Algebra II is “useless in real life”. Beyond that, Hacker seems to basically be arguing that “math is hard so let’s not make students learn it”.  Can you imagine this argument for reading?  Reading is hard for some students, but if we get rid of reading more students could surely graduate from college!  And then all of a sudden, presto, higher college graduation rates!  (I understand comparing math (i.e. Algebra II) to reading isn’t a perfect analogy, but I do believe that both are non-negotiable parts of a high school educations.)

Another thing I found odd about the article was the authors example of derivatives, which are never found in an algebra II curriculum.  It’s part of calculus, which usually doesn’t follow algebra II directly (e.g. I took a course called “pre-calculus” between Algebra II and Calculus).  This makes me wonder how strong a grasp the author has on the differences in the curriculums between these courses and what the author and Hacker consider to be “advanced math”.   Algebra II is not advanced math.

I will say, for the record, I don’t think everyone needs to know calculus.  But, and I’ll say this again, the idea of someone graduating from college without getting through Algebra II is completely insane.  I don’t know how else to put it.  It’s so insane I went back and re-read the article to make sure I wasn’t being trolled, and I checked the date and it’s not April 1.  This argument is simply insane.

Finally, I will be the first to admit that I really like reading Slate, but I do find a lot of their education coverage, especially of STEM topics to be a little weak from time to time.

Please tell me why you’re mad at me in the comments below.

Cheers.

 

Super Bowl Prediction

Denver vs Carolina

Prediction: Denver 23-22

Side:  Denver +5.5

Total: Over 44.5

 

Cheers.

Maybe Doug Pederson wasn’t asinine after all

Anything that is not “conventional” wisdom gets mocked in the NFL. Until it becomes conventional wisdom and you get mocked for not doing it.

statsbylopez's avatarStatsbyLopez

Former Kansas City offensive coordinator Doug Pederson is receiving a ton of flack in NFL circles for his passive approach to the end of Saturday’s Divisional Round contest at New England.

Down a pair of touchdowns, Kansas City, with Pederson calling plays, methodically moved the ball down the field midway through the fourth quarter, eventually scoring with less than two minutes remaining. Throughout the drive, the Chiefs took their time.

“It took us time because No. 1, we did not want to give [Patriots QB] Tom Brady the ball back,’’ said Pederson.

The Chiefs preferred strategy, it appears, was to score a touchdown, recover an onside kick, and score the equalizer. This was preferred over an earlier touchdown and a traditional kickoff.

In the aftermath of Kansas City’s loss, Pederson’s comment has been ridiculed as the worst answer ever, as well as senseless. That was my instinct, too…

View original post 190 more words

NFL Picks – Divisional Round

Total (weeks 1-16) – SU: 136-87 ATS: 112-105-1 O/U: 121-96-2
Week 1 – SU: 10-6 ATS: 10-6 O/U: 11-5
Week 2 – SU: 8-8 ATS: 9-7 O/U: 9-7Week 3 – SU: 10-6 ATS: 2-14 O/U: 7-8-1

Week 4 – SU: 10-5 ATS: 9-6 O/U: 9-6

Week 5 – SU: 7-7 ATS: 9-4-1 O/U: 6-8

Week 6 – SU: 12-2 ATS: 9-4-1 O/U: 8-6

Week 7 – SU: 10-4 ATS: 6-8 O/U: 10-4

Week 8 – SU: 9-5 ATS: 7-5-2 O/U: 7-7

Week 9 – SU: 8-5 ATS: 5-8 O/U: 8-5

Week 10 – SU: 5-9 ATS: 8-6 O/U: 9-3-2

Week 11 – SU: 10-4 ATS: 6-7-1  O/U: 7-7

Week 12 – SU: 10-6 ATS: 9-7  O/U: 8-8

Week 13 – SU: 9-6 ATS: 7-8  O/U: 9-6

Week 14 – SU: 8-4 ATS: 7-5  O/U: 8-4

Week 15 – SU: 10-6 ATS: 7-8-1  O/U: 7-8-1

Week 16 – SU: 8-8 ATS: 9-7  O/U: 7-8-1

WC Round– SU: 3-1 ATS: 2-2 O/U: 1-3 

Pittsburgh at Denver

Prediction: Broncos 26-22

Pick: Steelers +7

Total: Over 39

Kansas City at New England

Prediction: Patriots 25-21

Pick: Chiefs +5

Total: Over 42

Seattle at Carolina

Prediction: Seahawks 21-19

Pick: Seahawks +2

Total: Under 44

Green Bay at Arizona

Prediction: Packers 23-22

Pick: Under 50

Total: Packers +7

 

Introduction to openWAR Package, Part 1

Jim Albert's avatarExploring Baseball Data with R

Ben Baumer and Greg Matthews have a relatively new R package openWAR that facilitates calculation of WAR based on methodology from their recently published paper in the Journal of Quantitative Analysis of Sports. See their github site for a description of installing the package.

One attractive feature of the openWAR package is that it allows for downloading of MLBAM GameDay play-by-play data. Recently, I illustrated the use of the retrosheet package to download similar data from Retrosheet. We’ll see that the data frames that we get from MLBAM GameDay contain many more variables that facilitate developing interesting analysis.

In this post, I illustrate the downloading of play-by-play data, illustrate run expectancy calculations, and use the MLBAM GameDay data to show the locations of all in-play events for specific players.

Downloading MLBAM data

Once you have loaded the openWAR package, downloading data is remarkably easy. For example, to download all GameDay…

View original post 567 more words

NFL Picks – Wildcard Round

Total (weeks 1-16) – SU: 136-87 ATS: 112-105-1 O/U: 121-96-2
Week 1 – SU: 10-6 ATS: 10-6 O/U: 11-5
Week 2 – SU: 8-8 ATS: 9-7 O/U: 9-7Week 3 – SU: 10-6 ATS: 2-14 O/U: 7-8-1

Week 4 – SU: 10-5 ATS: 9-6 O/U: 9-6

Week 5 – SU: 7-7 ATS: 9-4-1 O/U: 6-8

Week 6 – SU: 12-2 ATS: 9-4-1 O/U: 8-6

Week 7 – SU: 10-4 ATS: 6-8 O/U: 10-4

Week 8 – SU: 9-5 ATS: 7-5-2 O/U: 7-7

Week 9 – SU: 8-5 ATS: 5-8 O/U: 8-5

Week 10 – SU: 5-9 ATS: 8-6 O/U: 9-3-2

Week 11 – SU: 10-4 ATS: 6-7-1  O/U: 7-7

Week 12 – SU: 10-6 ATS: 9-7  O/U: 8-8

Week 13 – SU: 9-6 ATS: 7-8  O/U: 9-6

Week 14 – SU: 8-4 ATS: 7-5  O/U: 8-4

Week 15 – SU: 10-6 ATS: 7-8-1  O/U: 7-8-1

Week 16 – SU: 8-8 ATS: 9-7  O/U: 7-8-1

WC Round– SU: 3-1 ATS: 2-2 O/U: 1-3 

Pittsburgh at Cincinnati

Prediction: Bengals 24-22

Pick: Bengals +3

Total: Over 45.5

Kansas City at Houston

Prediction: Chiefs 21-20

Pick: Texans +3

Total: Over 40

Seattle at Minnesota

Prediction: Seahawks 22-18

Pick: Seahawks -3.5

Total: Over 39.5

Green Bay at Washington

Prediction: Packers 25-21

Pick: Packers -1

Total: Over 45