To celebrate the beginning of the professional baseball season here in the US and Canada, we revisit a famous example of using baseball data to demonstrate statistical properties. In 1977, Bradley Efron and Carl Morris published a paper about the Jame...
Read more »
Tags: axis statement, baseball, James-Stein estimator, match() function, matlines(), matplot(), Matrix, pointlabel option, shrinkage estimator, sports statistics, Stein estimator, text(), title statement
Posted in SAS | Comments Off
A colleague recently asked after a slide suitable for explaining proportional hazards. In particular, she was concerned that her audience not focus on the time to event or probability of the event. An initial thought was to display the cumulative haz...
Read more »
Tags: axis control, axis statement, Cox proportional hazards model, legend, legend statement, lines(), plot, rep(), survival package, symbol statement
Posted in SAS | Comments Off
The so-called birthday paradox or birthday problem is simply the counter-intutitive discovery that the probability of (at least) two people in a group sharing a birthday goes up surprisingly fast as the group size increases. If the group is only 23 peo...
Read more »
Tags: apply(), arrays, axis statement, ceiling(), for(), Matrix, mdy function, paste(), probability, range of variables, sapply(), symbol statement
Posted in SAS | Comments Off
A facebook friend posted the picture reproduced above-- it makes the case that President Obama has been a successful creator of jobs, and also paints GW Bush as a president who lost jobs. Another friend pointed out that to be fair, all of Bush's presi...
Read more »
Tags: abline(), axis statement, Bureau of Labor Statistics, col option, date formats, href option, job creation, mtext(), offset option, plot.ts(), PROC GPLOT, reflabel option, time series, ts()
Posted in SAS | Comments Off
A facebook friend posted the picture reproduced above-- it makes the case that President Obama has been a successful creator of jobs, and also paints GW Bush as a president who lost jobs. Another friend pointed out that to be fair, all of Bush's presi...
Read more »
Tags: abline(), axis statement, Bureau of Labor Statistics, col option, date formats, href option, job creation, mtext(), offset option, plot.ts(), PROC GPLOT, reflabel option, time series, ts()
Posted in SAS | Comments Off
A facebook friend posted the picture reproduced above-- it makes the case that President Obama has been a successful creator of jobs, and also paints GW Bush as a president who lost jobs. Another friend pointed out that to be fair, all of Bush's presi...
Read more »
Tags: abline(), axis statement, Bureau of Labor Statistics, col option, date formats, href option, job creation, mtext(), offset option, plot.ts(), PROC GPLOT, reflabel option, time series, ts()
Posted in SAS | Comments Off