Blog Archives

Simulating second difference using Zelig

February 11, 2011
By

I am trying to simulate second difference using Zelig, here is my code:--------------------------------------------------------data(turnout)# estimationz.out <- zelig(vote ~ race*age + educate + income,            ...

Read more »

Post-estimation results manipulation: Stata vs. R

January 26, 2011
By

Stata's new "margins" command is as powerful as "Zelig" package for R for the purpose of conducting post-estimation manipulation of the results (e.g. producing predicted probabilities, confidence intervals, etc.). While "margins" uses delta method, "Ze...

Read more »

Post-estimation results manipulation: Stata vs. R

January 26, 2011
By

Stata's new "margins" command is as powerful as "Zelig" package for R for the purpose of conducting post-estimation manipulation of the results (e.g. producing predicted probabilities, confidence intervals, etc.). While "margins" uses delta method, "Ze...

Read more »

Comparison of results

December 4, 2010
By

I am doing a simple comparison of different estimation procedures in dealing with a simple binomial model. Here is where I got started:---------------------------------------------library(INLA)library(npmlreg)library(MCMCglmm)library(DPpackage)data(See...

Read more »

Comparison of results

December 4, 2010
By

I am doing a simple comparison of different estimation procedures in dealing with a simple binomial model. Here is where I got started:---------------------------------------------library(INLA)library(npmlreg)library(MCMCglmm)library(DPpackage)data(See...

Read more »

Computational tools for Bayesian analysis

November 26, 2010
By

The increasing number of R-oriented Bayesian computational tools such as MCMCpack, MCMCglmm, DPpackage, R-INLA, spBayes, have made BUGS less and less crucial for day to day Bayesian computation. Honestly, I cannot figure out a single analysis that BUGS...

Read more »

Computational tools for Bayesian analysis

November 26, 2010
By

The increasing number of R-oriented Bayesian computational tools such as MCMCpack, MCMCglmm, DPpackage, R-INLA, spBayes, have made BUGS less and less crucial for day to day Bayesian computation. Honestly, I cannot figure out a single analysis that BUGS...

Read more »

Lattice vs. ggplot2

October 28, 2010
By

Both lattice and ggplot2 seem really interesting and worthy of learning. But I only have time to learn one of them, and the choice is not an easy one.Here is an awesome reference; this blog is generally very interesting; and here is something...

Read more »

Lattice vs. ggplot2

October 28, 2010
By

Both lattice and ggplot2 seem really interesting and worthy of learning. But I only have time to learn one of them, and the choice is not an easy one.Here is an awesome reference; this blog is generally very interesting; and here is something...

Read more »

For a wider use of R

October 22, 2010
By

Two things that are crucial for a wider use of R among applied researchers. The first one is data manipulation/reshaping tool. I think the package "reshape" and "reshape2" have done good job and have largely removed the barrier. The second one is ...

Read more »