[R] Bayesian Model Averaging

2009-06-27 Thread David S. Schwarz
Two questions pertaining to the iBMA.glm procedure: 1) Does prior.param=1 force variables into the model as it does in S-Plus? If not, how can I force the first p variables into every model? 2) Is there some way in which to suppress the intercept as in the case of origin models?

Re: [R] Bayesian Model Averaging

2009-05-14 Thread Greg Snow
t; To: r-help@r-project.org > Subject: [R] Bayesian Model Averaging > > Hello R Group, > > > > > > Below is the code I submit: > > > > library("BMA") > > X <- read.table("C:/Documents and > Settings/Administrator/D

[R] Bayesian Model Averaging

2009-05-14 Thread David S. Schwarz
Hello R Group, Below is the code I submit: library("BMA") X <- read.table("C:/Documents and Settings/Administrator/Desktop/coding.txt",header=TRUE) Y <- read.table("C:/Documents and Settings/Administrator/Desktop/1DCS.txt",header=TRUE) IGout<- iBMA.glm(X, Y, glm.family= gaussian(), ve