Monthly Archives: October 2011

GEE using Stata vs. R

October 4, 2011
By

I am running GEE logistic regression model for my fetal loss paper. As usual, I compare results between Stata and R and make sure they are consistent. To my surprise, the models assuming independent correlation structure give similar results but the mo...

Read more »

Introduction to PloTA library in the Systematic Investor Toolbox

October 4, 2011
By
Introduction to PloTA library in the Systematic Investor Toolbox

PloTA ( plot + ta ) library in the Systematic Investor Toolbox is a simple plot interface to charting Time Series and Technical Analysis plots. I created it as an alternative to charting functionality in quantmod package. It is designed to mimic default plot interface and works with xts objects. PloTA implements following methods: plota

Read more »

Bayesian Computation with R – Albert (2009)

October 4, 2011
By
Bayesian Computation with R – Albert (2009)

Title: Bayesian Computation with RAuthor(s): Jim AlbertPublisher/Date: Springer/2009Statistics level: High Programming level: Low Overall recommendation: Recommended Bayesian Computation with R focuses primarily on providing the reader with a basic understanding of Bayesian thinking and the relevant analytic tools included in R. It does not explore either of those areas in detail, though it does hit The post Bayesian...

Read more »

Bayesian Computation with R – Albert (2009)

October 4, 2011
By

Title: Bayesian Computation with RAuthor(s): Jim AlbertPublisher/Date: Springer/2009Statistics level: High Programming level: Low Overall recommendation: Recommended Bayesian Computation with R focuses primarily on providing the reader with a basic un...

Read more »

Combining Base+Grid Graphics

October 4, 2011
By
Combining Base+Grid Graphics

R provides several frameworks for composing figures. Base graphics is the simplest, grid is more advanced, and the lattice/ggplot packages provide convenient abstractions of the grid graphics system. Multi-element figures can be readily created in base...

Read more »

Simple time series plot using R : Part 2

October 4, 2011
By
Simple time series plot using R : Part 2

I would like to share my experience of plotting different time series in the same plot for comparison. As an assignment I had to plot the time series of Infant mortality rate(IMR) along with the SOX emission(sulphur emission) for the past 5 decades in ...

Read more »

permute: a package for generating restricted permutations

October 4, 2011
By
permute: a package for generating restricted permutations

Multivariate ordination methods are commonly used in ecology to investigate patterns in species composition in space or time. Constrained ordination methods such as redundancy analysis (RDA) and canonical correspondence analysis (CCA) are effectively just multiple regressions, but we lack the … Continue reading →

Read more »

Calculating and graphing within-subject confidence intervals for ANOVA

October 4, 2011
By
Calculating and graphing within-subject confidence intervals for ANOVA

Psychologists are gradually coming round to the view that it is a good idea to present interval estimates alongside point estimates of statistics. The most common statistic reported in psychology research is almost certainly the mean (strictly...

Read more »

Example 9.8: New stuff in SAS 9.3– Bayesian random effects models in Proc MCMC

October 4, 2011
By
Example 9.8: New stuff in SAS 9.3– Bayesian random effects models in Proc MCMC

Rounding off our reports on major new developments in SAS 9.3, today we'll talk about proc mcmc and the random statement.Stand-alone packages for fitting very general Bayesian models using Markov chain Monte Carlo (MCMC) methods have been available for...

Read more »

Tutorial on using the rworldmap package

October 4, 2011
By
Tutorial on using the  rworldmap package

This blog following up my previous oneattempts to explain how the geo-pie map was created. I do not know how to attach a .rflow file in this blog. What you can do is to copy the following code into Notepad … Continue reading →

Read more »