Code Monkey home page Code Monkey logo

lmertestr's Introduction

lmerTest - Tests in Linear Mixed Effects Models

This is the repo for the new lmerTest package, the old package is available here.

Build Status cran version downloads total downloads Research software impact

Main features

The lmerTest package provides p-values in type I, II or III anova and summary tables for linear mixed models (lmer model fits cf. lme4) via Satterthwaite's degrees of freedom method; a Kenward-Roger method is also available via the pbkrtest package. Model selection and assessment methods include step, drop1, anova-like tables for random effects (ranova), least-square means (LS-means; ls_means) and tests of linear contrasts of fixed effects (contest).

Citation

To cite lmerTest in publications use:

Kuznetsova A., Brockhoff P.B. and Christensen R.H.B. (2017). "lmerTest Package: Tests in Linear Mixed Effects Models." Journal of Statistical Software, 82(13), pp. 1โ€“26. doi: 10.18637/jss.v082.i13.

Corresponding BibTeX entry:

@Article{,
  title = {{lmerTest} Package: Tests in Linear Mixed Effects Models},
  author = {Alexandra Kuznetsova and Per B. Brockhoff and Rune H. B.
    Christensen},
  journal = {Journal of Statistical Software},
  year = {2017},
  volume = {82},
  number = {13},
  pages = {1--26},
  doi = {10.18637/jss.v082.i13},
}

Discovered a bug?

Please raise a new issue! Preferably add code that illustrates the problem using one of the datasets from lmerTest.

Installation

Basically there are two options for installing lmerTest:

  1. Released (stable version) from CRAN: in R run install.packages("lmerTest").
  2. Development version from GitHub: First load the devtools package (and install it if you do not have it) and install the default (master) branch:
library("devtools")
install_github("runehaubo/lmerTestR")

If you haven't already installed a previous version of lmerTest you need to also install dependencies (other packages that lmerTest depends on and requires you to install to function properly). We recommend that you install lmerTest from CRAN (using install.packages("lmerTest")) before installing from GitHub as described above.

An alternative is to use

library("devtools")
install_github("runehaubo/lmerTestR", dependencies=TRUE)

but that requires you to install all dependent packages from source (which only works if you have the correct compilers installed and set up correctly); installing the pre-compiled packages from CRAN is usually easier.

lmertestr's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.