Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upErrors in prior = "ZS-null" when R2 is not finite #36
Comments
…inite or out of range due to model being not full rank. Change in `gexpectations` function in file `bayesreg.c` also problem when n.models was not provided for glms
When a model is not full rank, and hence R2 is not defined using model fitting without pivoting, calculation of the log marginals under the ZS prior lead to errors, rather than returning NA's and a warning.
May be a problem with other priors as well, such as the hyper-g family