powered by
This function extracts the marginal probability table produced by summary.qrssvs.
summary.qrssvs
mptable(qrssvs)
An object of class qrssvs. Typically this will be the gamma component of the list returned by SSVSquantreg.
qrssvs
gamma
SSVSquantreg
A table with the predictors listed together with their posterior marginal posterior probability of inclusion.
# NOT RUN { # } # NOT RUN { set.seed(1) epsilon<-rnorm(100) set.seed(2) x<-matrix(rnorm(1000),100,10) y<-x[,1]+x[,10]+epsilon qrssvs<-SSVSquantreg(y~x) mptable(qrssvs$gamma) # } # NOT RUN { # }
Run the code above in your browser using DataLab