# Blog Archives

## Bootstrapping a Single Statistic (k=1) The following example…

November 1, 2011
By

Bootstrapping a Single Statistic (k=1) The following example generates the bootstrapped 95% confidence interval for R-squared in the linear regression of miles per gallon (mpg) on car weight (wt) and displacement (disp). The data source is mtcars. The...

## Line Plots (Econometric in R) Input: ##…

November 1, 2011
By

Line Plots (Econometric in R) Input: ## ---------------------------- ## ## Plotting Points *and* Lines ## ## ---------------------------- ## pow = c(0.95, 0.6, 0.3, 0.15, 0.1, 0.05, 0.1, 0.15, 0.3, 0.6, 0.95) pow2 = c(0.99, 0.75, 0.4, 0.2, 0.15, 0.0...

## Simulation: Efficiency of mean with median Goal: Show the…

October 31, 2011
By

Simulation: Efficiency of mean with median Goal: Show the efficiency of the mean when compared with the median using a large simulation where both estimators are applied on a sample of U(0,1) uniformly distributed random numbers. Input: # Goal: Show...

## Batman Equation Happy Halloween! Plot the Batman logo in…

October 31, 2011
By

Batman Equation Happy Halloween! Plot the Batman logo in CloudStat with the legendary Batman Equation.

October 31, 2011
By