Blog Archives

Handling Outliers with R

July 2, 2018
By
Handling Outliers with R

Recently, I attended a presentation where the following graph was shown illustrating the response to stimulation with Thalidomide among a cohort of HIV-1 patients. The biomarker used to measure the response in this case was TNF (tumor necrosis factor) and … Continue reading →

Read more »

Learning about Algorithms and Program Structure

March 13, 2018
By
Learning about Algorithms and Program Structure

Outline of the Problem When learning to program, we often start with trivial exercises that don’t motivate anyone to treat programming seriously. Here I want to develop an example step-by-step that will illustrate key concepts of programming in R and … Continue reading →

Read more »

A Useful Logical Shortcut in R

October 26, 2017
By
A Useful Logical Shortcut in R

While dealing with a small problem in which I needed a list of odd numbers, I remembered a shortcut that I’ve used for more than 30 years to reduce the typing and complication of logical tests — the “if…then” construct. … Continue reading →

Read more »

Last Day for Stanton Predictions

October 1, 2017
By
Last Day for Stanton Predictions

This week I’ve been looking at two models in R that are attempting to predict whether Giancarlo Stanton would break Roger Maris’ mark of 61 home runs in a season. I’ve not been counting Barry Bond’s official record of 73 … Continue reading →

Read more »

Going, going, … 2

September 29, 2017
By

Em vários posts este mês, destaquei um novo versão do curso de estatística que oferecemos em São Paulo sobre estatística. É um curso inicial que usa R como a ferramenta chave para ensinar a montagem de análises quantitativas importantes nas … Continue reading →

Read more »

Hold the Phones . . . Stanton’s Alive Again

September 29, 2017
By
Hold the Phones . . . Stanton’s Alive Again

Sometimes, events move faster than we predict them. This is one of the things that makes  statistics as much of an art as a science. Last night, Giancarlo Stanton hit not 1 but 2 home runs. He is now tied … Continue reading →

Read more »

Going, Going . . . 1

September 28, 2017
By

Two posts today with similar themes. Time is running out.  First, time is running out for Giancarlo Stanton. His bat has been very silent this week so far. The Marlins have 7 more games and he still needs 4 dingers … Continue reading →

Read more »

The Battle of Bayesian Home Run Models

September 25, 2017
By

The regular Major League Baseball season is coming to an end. Next week, we move into the playoffs and eventually the World Series. However, we have a nice statistical modeling question playing out in this last week. Giancarlo Stanton of … Continue reading →

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)