********************************************* *Readme.txt * *R package for MontgomeryNyhan BMA functions* ********************************************* We have developed an R package implementing the functions described in our paper "Bayesian Model Averaging: Theoretical Developments and Practical Applications" (Political Analysis 18: 245-270) and incorporated in our replication materials zip file (http://www-personal.umich.edu/~bnyhan/montgomery-nyhan-replication.zip). This package works on R 2.10 (it may work on versions 2.6-2.9 as well but does not work on 2.11) and requires that the BMA and BAS packages be installed (these are available on CRAN at http://cran.r-project.org). It does not work correctly with factor variables - please create dummies rather than using as.factor(). There are three versions of the MontgomeryNyhan package: Mac/Unix: http://www.duke.edu/~jmm61/MontgomeryNyhan_0.1.tar.gz Windows-32: http://www.duke.edu/~jmm61/MontgomeryNyhan_0.1.zip Windows-64: http://www.duke.edu/~jmm61/MontgomeryNyhan_0.11.zip To install, download and decompress the appropriate file for your operating system, then install it by selecting the installation option for local files (local zip file for Windows or local package directory for Mac). Information on the package appears below: Information on package 'MontgomeryNyhan' Description: Package: MontgomeryNyhan Type: Package Title: R-Files for Montgomery and Nyhan (2010) Version: 0.1 Date: 2010-04-04 Author: Jacob Montgomery and Brendan Nyhan Maintainer: Jacob Montgomery Depends: R (>= 2.6), stats, BMA, BAS, compare LinkingdTo: stats, BMA, BAS, compare Imports: stats, BMA, BAS, compare SUGGESTS: MASS Description: R functions from the article: Montgomery, Jacob M. and Brendan Nyhan. 2010. "Bayesian Model Averaging: Theoretical Developments and Practical Applicationss." Political Analysis 18(2): 245-270. The package slightly alters standard functions provided in the BMA and BAS packages. In the future, we hope to incorporate the functionality we provide directly into the BAS package in collaboration with Merlise Clyde at Duke University. License: GPL (>=2) LazyLoad: yes Packaged: 2010-04-28 00:01:05 UTC; jmm61 Built: R 2.10.0; ; 2010-04-28 17:28:48 UTC; unix Index: ABDagg U.S. Senate campaigns data 1988-1992 FL Fearon and Laitin's Civil War dataset MontgomeryNyhan-package Modified Bayesian model averaging function OOS U.S. House elections data 1956-1996 aic.glmMN Bayesian model averaging with AIC priors for generalized linear models (aic.glm from BMA adapted by Montgomery and Nyhan) basMN.lm Bayesian adaptive sampling for OLS models (bas.lm from BAS adapted by Montgomery and Nyhan) bic.glmMN Bayesian model averaging with BIC priors for generalized linear models (bic.glm from BMA adapted by Montgomery and Nyhan) coefMN.bma Coefficient statistics for BAS (coef.bma from BAS adapted by Montgomery and Nyhan) BAS adapted by Montgomery and Nyhan)