Closed Jennifer2010 closed 1 year ago
Describe the bug coef() is unable to find the weights when using estimator "MPM"
To Reproduce Steps to reproduce the behavior:
library(MASS) library(BAS)
data(UScrime, package = "MASS") UScrime[, -2] <- log(UScrime[, -2])
Crime_aic =step(lm(y~., data = UScrime),k=2, trace = FALSE)
formula(Crime_aic)
Crime_ZS <- bas.lm(formula(Crime_aic), data = UScrime, prior = "ZS-null", modelprior = uniform())
coef(Crime_ZS, estimator = "MPM")
Desktop (please complete the following information):
same as issue #56
fixed in version 1.6.5 on GitHub now. Let me know if there are still any issues that you encounter!
Describe the bug coef() is unable to find the weights when using estimator "MPM"
To Reproduce Steps to reproduce the behavior:
library(MASS) library(BAS)
data(UScrime, package = "MASS") UScrime[, -2] <- log(UScrime[, -2])
Crime_aic =step(lm(y~., data = UScrime),k=2, trace = FALSE)
formula(Crime_aic)
Crime_ZS <- bas.lm(formula(Crime_aic), data = UScrime, prior = "ZS-null", modelprior = uniform())
coef(Crime_ZS, estimator = "MPM")
Desktop (please complete the following information):