rvlenth / emmeans

Estimated marginal means
https://rvlenth.github.io/emmeans/
358 stars 31 forks source link

`joint_tests()` doesn't work right for singular models #361

Closed rvlenth closed 2 years ago

rvlenth commented 2 years ago

User advisory

The joint_tests() function can return very sparse -- or even empty -- results for rank-deficient models (e.g., empty cells, leading to estimability issues). This can happen for a subtle reason -- an error in the estimability package, version 1.4.

You can check what version of estimability you have installed in various ways, including

packageVersion("estimability")

If you have version 1.4, you should update your installation to a different version. You may install the latest version from GitHub via

remotes::install_github("rvlenth/estimability")

Due to a CRAN "vacation", there will not be a new update on CRAN until after August 5, 2022. Another possibility is to downgrade to version 1.3, which will also solve the issue:

install.packages("https://cran.r-project.org/src/contrib/Archive/estimability/estimability_1.3.tar.gz", 
    repos = NULL)
rvlenth commented 2 years ago

Closed this as it is all OK again in CRAN version 1.8.0, which requires estimability >= 1.4.1