430 search results for "Knitr"

Example 2014.2: Block randomization

January 22, 2014
By
Example 2014.2: Block randomization

This week I had to block-randomize some units. This is ordinarily the sort of thing I would do in SAS, just because it would be faster for me. But I had already started work on the project R, using knitr/LaTeX to make a PDF, so it made sense to continue the work in R. RAs is...

Read more »

Using One Programming Language In the Context of Another – Python and R

January 22, 2014
By
Using One Programming Language In the Context of Another – Python and R

Over the last couple of years, I’ve settled into using R an python as my languages of choice for doing stuff: R, because RStudio is a nice environment, I can blend code and text using R markdown and knitr, ggplot2 and Rcharts make generating graphics easy, and reshapers such as plyr make wrangling with data

Read more »

ggplot2: Cheatsheet for Barplots

January 9, 2014
By

<p>Loading ...</p>

Read more »

Jeff Leek’s non-comprehensive list of awesome things other people did in 2013

December 31, 2013
By

Jeff Leek, biostats professor at Johns Hopkins and instructor of the Coursera Data Analysis course, recently posted on Simly Statistics this list of awesome things other people accomplished in 2013 in genomics, statistics, and data science.At risk of s...

Read more »

24 Days of R: Day 19

December 19, 2013
By
24 Days of R: Day 19

Carrying on with the multi-level model, I'm going to look at the paid and incurred workers comp losses for a large number of insurance companies. This is a similar exercise to what I did last night, but I'm now working with real, rather than simulated data and the stochastic process is assumed to be different.

Read more »

24 Days of R: Day 18

December 18, 2013
By
24 Days of R: Day 18

Earlier today, while looking for something else, I managed to stumble across a presentation given at the 2010 CAS RPM. (Egregious self-promotion: I'll be leading a day-long workshop at next year's RPM in Washington, DC.) I wasn't looking for a presentation on hierarchical models, but there one was. The fantastic Jim Guszcza has a great

Read more »

24 Days of R: Day 17

December 18, 2013
By
24 Days of R: Day 17

I couldn't manage to find time yesterday, so today I'm going to try and catch up with two posts. In the first, I'm going to talk about a package I've been gradually working on over the course of the year. After all, what's Christmas if you don't get a package? I do quite a lot

Read more »

24 Days of R: Day 16

December 16, 2013
By
24 Days of R: Day 16

Yesterday I said that I'd carry on with the monte carlo simulation of insurance data. I'm not going to as I don't think I've got enough time and mental energy to do it justice. I'm sure tens of people are disappointed to learn this. Instead, I'm going to have a look at the recently released

Read more »

24 Days of R: Day 15

December 15, 2013
By
24 Days of R: Day 15

Over the course of the next few days, I'm going to try to find enough time to build up a reasonably simple simulation of insurance exposure and claims. I'll be taking a hierarchical view of the underlying process. As with pretty much everything that I write about, I'm writing about it as I'm learning about

Read more »

24 Days of R: Day 14

December 14, 2013
By
24 Days of R: Day 14

I've had a statistical question that I've wanted to answer for more than 20 years. In college, I often played the strategy game “Axis & Allies” with friends. (Hi Brad, Rob, Brady and Marty!) The game is a crude simulation of the second world war, with various military units available to the player. The player

Read more »