1262 search results for "excel"

Plotting individual growth charts

March 14, 2012
By
Plotting individual growth charts

This R code draws individual growth plots as shown in “Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence” by Judith D. Singer and John B. Willett, an excellent book on multilevel modeling and survival analysis. This code recreates figure … Continue reading →

Read more »

Plotting forecast() objects in ggplot part 1: Extracting the Data

March 13, 2012
By

Lately I've been using Rob J Hyndman's excellent forecast package. The package comes with some built in plotting functions but I found I wanted to customize and make my own plots in ggplot. In order to do that, I need a generalizable function that will...

Read more »

Plotting forecast() objects in ggplot part 1: Extracting the Data

March 13, 2012
By

Lately I've been using Rob J Hyndman's excellent forecast package. The package comes with some built in plotting functions but I found I wanted to customize and make my own plots in ggplot. In order to do that, I need a generalizable function that will...

Read more »

R code for Chapter 2 of Non-Life Insurance Pricing with GLM

March 13, 2012
By
R code for Chapter 2 of Non-Life Insurance Pricing with GLM

We continue working our way through the examples, case studies, and exercises of what is affectionately known here as “the two bears book” (Swedish björn = bear) and more formally as Non-Life Insurance Pricing with Generalized Linear Models by Esbjörn Ohlsson and Börn Johansson (Amazon UK | US). At...

Read more »

Early-March flotsam

March 8, 2012
By
Early-March flotsam

It has been a strange last ten days since we unexpectedly entered grant writing mode. I was looking forward to work on this issue near the end of the year but a likely change on funding agency priorities requires applying … Continue reading →

Read more »

How to create a data frame from text submitted in a textarea with FastRWeb

March 8, 2012
By
How to create a data frame from text submitted in a textarea with FastRWeb

In this article, I show you how to create a data.frame from a text submitted in a textarea field with FastRWeb. Requirements FastRWeb installed Knowledge of webforms ?read.table Experience in HTML5 Submit This example needs two scripts. The first one contains the webform. I wrote a FastRWeb script in order to work in /var/FastRWeb/web.R/. This

Read more »

How Not To Draw a Probability Distribution

March 7, 2012
By
How Not To Draw a Probability Distribution

If I google for “probability distribution” I find the following extremely bad picture: It’s bad because it conflates ideas and oversimplifies how variable probability distributions can generally be. Most distributions are not unimodal. Most dist...

Read more »

Pathway Analysis for High-Throughput Genomics Studies

March 6, 2012
By
Pathway Analysis for High-Throughput Genomics Studies

I get a lot of requests in the core about running a "pathway analysis." Someone ran a handful of gene expression arrays, or better yet, ran an RNA-seq experiment (with replicates!). These, and many other kinds of high-throughput assays (GWAS, ChIP-seq,...

Read more »

Interview: Patrick Burns Quantitative Finance in R

Interview: Patrick Burns Quantitative Finance in R

Dr. Patrick Burns is the founder of Burns Statistics, providing consulting and bespoke software specializing in quantitative finance, programming in the S language, and optimization via genetic algorithms and simulated annealing. Patrick has written m...

Read more »

Visualization series: Insight from Cleveland and Tufte on plotting numeric data by groups

March 4, 2012
By
Visualization series: Insight from Cleveland and Tufte on plotting numeric data by groups

After my post on making dotplots with concise code using plyr and ggplot, I got an email from my dad who practices immigration law and runs a website with a variety of immigration resources and tools.  He pointed out that the … Continue reading →

Read more »