(This article was first published on Dataninja » R, and kindly contributed to R-bloggers)
The plm package for R lets you run a number of common panel data models, including
- The fixed effects (or within) estimator
- The random effects GLS estimator
It also allows for general GLS estimation, as well as GMM estimation, and includes a feature for heteroscedasticity consistent covariance estimation.
It’s very easy to use, it simply requires that you use a special type of dataframe that specifies which variable is the individual and which variable is the cluster/group (this is done using the pdata.frame) command. Once this is done, you can estimate models using the plm command and its options.
See the documentation (PDF) for more.
To leave a comment for the author, please follow the link and comment on his blog: Dataninja » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).