# 318 search results for "boxplot"

## 24 Days of R: Day 10

December 10, 2013
By

How often is someone nominated for an academy award? Who has been nominated most often? Is there a difference between leading and supporting roles? Important questions. To answer them, I'm making use of a list of academy award nominees and winners. I've obtained the data from aggdata.com which has a few sets of free data.

## Conditional densities, on one single graph

December 5, 2013
By

With Stéphane Tufféry we’ve been working on credit scoring1 and we’ve been using the popular german credit dataset, > myVariableNames <- c("checking_status","duration","credit_history", + "purpose","credit_amount","savings","employment","installment_rate", + "personal_status","other_parties","residence_since","property_magnitude", + "age","other_payment_plans","housing","existing_credits","job", + "num_dependents","telephone","foreign_worker","class") > credit = read.table( + "http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german/german.data", + header=FALSE,col.names=myVariableNames) > credit$class <- credit$class-1 We wanted to get a nice code to produce a graph like the one below, Yesterday, Stéphane...

## Importance sampling schemes for evidence approximation in mixture models

November 26, 2013
By

Jeong Eun (Kate) Lee and I completed this paper, “Importance sampling schemes for evidence approximation in mixture models“, now posted on arXiv. (With the customary one-day lag for posting, making me bemoan the days of yore when arXiv would give a definitive arXiv number at the time of submission.) Kate came twice to Paris in the past

## Bootstrapping for Propensity Score Analysis

November 26, 2013
By

I am happy to announce that version 1.0 of the PSAboot package has been released to CRAN. This package implements bootstrapping for propensity score analysis. This deviates from typical implementations such as boot in that it allows for separate sampling specifications for treatment and control units. For example, in the case where the ratio of treatment-to-control units is...

## Plot axes with customized labels

November 11, 2013
By

How to modify axis labels is a FAQ for (almost) all R users. This short post try to give a simple but exhaustive reply to this question. First of all, data are generated. ?View Code RSPLUSdat = data.frame( label = … Continue reading →

## The R Backpages

November 7, 2013
By

by Joseph Rickert As an avid newspaper reader (I still get the print edition of the New York Times delivered every Sunday morning) I have always thought that some of the most interesting news is to be found in the back pages. So, in that spirit here are some things that I thought might be fit to print. Plotly...

## Line Breaks Between Words in Axis Labels in ggplot in R

October 17, 2013
By

Sometimes when plotting factor variables in R, the graphics can look pretty messy thanks to long factor levels. If the level attributes have multiple words, there is an easy fix to this that often makes the axis labels look much cleaner.Without Line Br...

## A first step towards R from spreadsheets

October 16, 2013
By

Move your data analysis to a computing environment specifically designed for it. Why R and not spreadsheets? Here are three reasons: complexity graphics money Spreadsheets are easily overwhelmed.  Very complex things can be done in spreadsheets — it is just that complex spreadsheets are inefficient and dangerous. Graphics should be considered vital when doing anything with The post A...

## Four moments of portfolios

October 14, 2013
By

What good are the skewness and kurtosis of portfolios? Previously The post “Cross-sectional skewness and kurtosis: stocks and portfolios” looked at skewness and kurtosis in portfolios.  The key difference between that post and this one is what distribution is being looked at. The previous post specified a single time and looked at the distribution across … Continue reading...