{
  "_id": "6a12cc8eacfb0bcc41d215ee",
  "Package": "WeMix",
  "Version": "4.0.4",
  "Date": "2024-10-22",
  "Title": "Weighted Mixed-Effects Models Using Multilevel Pseudo Maximum\nLikelihood Estimation",
  "Authors@R": "c(person(\"Emmanuel\", \"Sikali\", role=\"pdr\", email = \"Emmanuel.Sikali@ed.gov\"),\nperson(\"Paul\", \"Bailey\", role=c(\"aut\", \"cre\"), email=\"pbailey@air.org\"),\nperson(\"Blue\", \"Webb\", role=\"aut\"),\nperson(\"Claire\", \"Kelley\", role=\"aut\"),\nperson(\"Trang\", \"Nguyen\", role=\"aut\"),\nperson(\"Huade\", \"Huo\", role=\"aut\"),\nperson(\"Steve\",\"Walker\",role=\"cph\",comment=\"lme4pureR PIRLS function\"),\nperson(\"Doug\",\"Bates\",role=\"cph\",comment=\"lme4pureR PIRLS function\"),\nperson(\"Eric\", \"Buehler\", role=\"ctb\"),\nperson(c(\"Christian\", \"Christrup\"), \"Kjeldsen\", role=\"ctb\"))",
  "Maintainer": "Paul Bailey <pbailey@air.org>",
  "Description": "Run mixed-effects models that include weights at every\nlevel. The WeMix package fits a weighted mixed model, also\nknown as a multilevel, mixed, or hierarchical linear model\n(HLM). The weights could be inverse selection probabilities,\nsuch as those developed for an education survey where schools\nare sampled probabilistically, and then students inside of\nthose schools are sampled probabilistically. Although\nmixed-effects models are already available in R, WeMix is\nunique in implementing methods for mixed models using weights\nat multiple levels. Both linear and logit models are supported.\nModels may have up to three levels. Random effects are\nestimated using the PIRLS algorithm from 'lme4pureR' (Walker\nand Bates (2013) <https://github.com/lme4/lme4pureR>).",
  "License": "GPL-2",
  "VignetteBuilder": "knitr",
  "ByteCompile": "true",
  "Note": "This publication was prepared for NCES under Contract No.\nED-IES-12-D-0002 with American Institutes for Research. Mention\nof trade names, commercial products, or organizations does not\nimply endorsement by the U.S. government.",
  "RoxygenNote": "7.3.2",
  "URL": "https://american-institutes-for-research.github.io/WeMix/",
  "BugReports": "https://github.com/American-Institutes-for-Research/WeMix/issues",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 09:56:42 UTC",
    "User": "root"
  },
  "Author": "Emmanuel Sikali [pdr], Paul Bailey [aut, cre], Blue Webb [aut],\nClaire Kelley [aut], Trang Nguyen [aut], Huade Huo [aut], Steve\nWalker [cph] (lme4pureR PIRLS function), Doug Bates [cph]\n(lme4pureR PIRLS function), Eric Buehler [ctb], Christian\nChristrup Kjeldsen [ctb]",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://american-institutes-for-research.r-universe.dev",
  "Date/Publication": "2024-10-24 14:37:22 UTC",
  "RemoteUrl": "https://github.com/american-institutes-for-research/wemix",
  "RemoteRef": "HEAD",
  "RemoteSha": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
  "MD5sum": "05956daf3a6510148dbad30f7e28adce",
  "_user": "american-institutes-for-research",
  "_type": "src",
  "_file": "WeMix_4.0.4.tar.gz",
  "_fileid": "0a7dcebf81bdb587b697e162dad11c5d90289e1ab28b1bc251bf59831846a9a6",
  "_filesize": 1447323,
  "_sha256": "0a7dcebf81bdb587b697e162dad11c5d90289e1ab28b1bc251bf59831846a9a6",
  "_created": "2026-05-24T09:56:42.000Z",
  "_published": "2026-05-24T10:01:50.068Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77588599744,
      "time": 264,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7184226225"
    },
    {
      "job": 77588599782,
      "time": 231,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7184222974"
    },
    {
      "job": 77588599759,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7184215588"
    },
    {
      "job": 77588599754,
      "time": 216,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7184221236"
    },
    {
      "job": 77588409803,
      "time": 215,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184199687"
    },
    {
      "job": 77588599738,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184214158"
    },
    {
      "job": 77588599802,
      "time": 195,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7184219168"
    },
    {
      "job": 77588599791,
      "time": 207,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7184220300"
    },
    {
      "job": 77588599779,
      "time": 192,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7184218811"
    }
  ],
  "_buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/american-institutes-for-research/wemix",
  "_commit": {
    "id": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
    "author": "pdbailey0 <pbailey@air.org>",
    "committer": "pdbailey0 <pbailey@air.org>",
    "message": "fix issue 21\n",
    "time": 1729780642
  },
  "_maintainer": {
    "name": "Paul Bailey",
    "email": "pbailey@air.org",
    "login": "pdbailey0",
    "description": "",
    "uuid": 14575300
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "lme4",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.5-4.1",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "minqa",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "EdSurvey",
      "version": ">= 4.0.0",
      "role": "Suggests"
    },
    {
      "package": "glmmTMB",
      "role": "Suggests"
    }
  ],
  "_owner": "american-institutes-for-research",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "pdbailey0",
      "count": 39,
      "uuid": 14575300
    },
    {
      "user": "buehlere",
      "count": 1,
      "uuid": 31450790
    }
  ],
  "_userbio": {
    "uuid": 8337020,
    "type": "organization",
    "name": "American Institutes for Research",
    "description": "Our mission is to generate and use rigorous evidence that contributes to a better, more equitable world."
  },
  "_downloads": {
    "count": 946,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WeMix"
  },
  "_devurl": "https://github.com/american-institutes-for-research/wemix",
  "_pkgdown": "https://american-institutes-for-research.github.io/WeMix/",
  "_searchresults": 51,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/WeMix.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/american-institutes-for-research/wemix",
  "_realowner": "american-institutes-for-research",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2018-04-10"
    },
    {
      "version": "2.0.0",
      "date": "2018-08-14"
    },
    {
      "version": "2.1.0",
      "date": "2018-09-24"
    },
    {
      "version": "2.2.0",
      "date": "2019-03-13"
    },
    {
      "version": "2.2.1",
      "date": "2019-03-14"
    },
    {
      "version": "3.0.0",
      "date": "2019-04-08"
    },
    {
      "version": "3.1.1",
      "date": "2019-07-10"
    },
    {
      "version": "3.1.3",
      "date": "2020-01-09"
    },
    {
      "version": "3.1.4",
      "date": "2020-05-21"
    },
    {
      "version": "3.1.5",
      "date": "2020-09-09"
    },
    {
      "version": "3.1.6",
      "date": "2020-12-08"
    },
    {
      "version": "3.1.7",
      "date": "2021-05-11"
    },
    {
      "version": "3.1.8",
      "date": "2021-06-06"
    },
    {
      "version": "3.1.9",
      "date": "2021-10-20"
    },
    {
      "version": "3.2.0",
      "date": "2021-11-16"
    },
    {
      "version": "3.2.1",
      "date": "2021-12-07"
    },
    {
      "version": "3.2.2",
      "date": "2022-09-23"
    },
    {
      "version": "3.2.4",
      "date": "2022-10-05"
    },
    {
      "version": "3.3.0",
      "date": "2022-12-21"
    },
    {
      "version": "4.0.0",
      "date": "2023-03-21"
    },
    {
      "version": "4.0.3",
      "date": "2023-11-03"
    }
  ],
  "_exports": [
    "mix",
    "waldTest"
  ],
  "_help": [
    {
      "page": "WeMix-package",
      "title": "Estimate Weighted Mixed-Effects Models",
      "topics": [
        "WeMix-package",
        "WeMix"
      ]
    },
    {
      "page": "mix",
      "title": "Survey Weighted Mixed-Effects Models",
      "topics": [
        "mix"
      ]
    },
    {
      "page": "waldTest",
      "title": "Mixed Model Wald Tests",
      "topics": [
        "waldTest"
      ]
    }
  ],
  "_readme": "https://github.com/american-institutes-for-research/wemix/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "lattice",
    "lme4",
    "MASS",
    "Matrix",
    "matrixStats",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "Introduction_to_Mixed_Effects_Models_With_WeMix.Rmd",
      "filename": "Introduction_to_Mixed_Effects_Models_With_WeMix.html",
      "title": "Introduction to Weighted Mixed-Effects Models With WeMix",
      "author": "Developed by Paul Bailey, Claire Kelley, and Trang Nguyen\\footnote{This publication was prepared for NCES under Contract No. ED-IES-12-D-0002 with the American Institutes for Research. Mention of trade names, commercial products, or organizations does not imply endorsement by the U.S. government.} \\footnote{The authors would like to thank Mike Cohen and Dan Sherman for reviewing this document, and Yuqi Liao, Bitnara Park, and Jiayi Li for their help using mixed models in other software packages.}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installing and Loading \\texttt",
        "Specifying a Mixed-Effects Model",
        "Comparison to Alternate Software",
        "Mathematical Specification",
        "Hierarchical Linear Models Notation",
        "Multiple Levels",
        "Cluster-Robust Variance Estimation",
        "Hierarchical Generalized Linear Models",
        "Binomial With Logit Link Function",
        "Weight Adjustments",
        "Centering",
        "References",
        "Appendix A. Binomial Model Fitting",
        "Adaptive Gauss-Hermite Quadrature",
        "Calculation of Conditional Mode",
        "Estimate of the Conditional Means",
        "Appendix B. Alternative Software Specifications",
        "Stata: GLLAMM",
        "Stata: mixed",
        "SAS PROC GLIMMIX",
        "HLM",
        "M+",
        "Appendix C. Example Data Preparation"
      ],
      "created": "2021-05-10 14:37:03",
      "modified": "2021-05-10 14:37:03",
      "commits": 1
    },
    {
      "source": "Weighted_Linear_Mixed_Effects_Models.Rmd",
      "filename": "Weighted_Linear_Mixed_Effects_Models.html",
      "title": "Weighted Linear Mixed-Effects Models",
      "author": "Developed by Paul Bailey\\footnote{This publication was prepared for NCES (National Center for Education Statistics) under Contract No. ED-IES-12-D-0002 with American Institutes for Research. Mention of trade names, commercial products, or organizations does not imply endorsement by the U.S. government.} \\footnote{The authors would like to thank Mike Cohen for reviewing this document.}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Variance Estimation",
        "Model Evaluation:  Wald Test",
        "References"
      ],
      "created": "2021-05-10 14:37:03",
      "modified": "2021-05-10 14:37:03",
      "commits": 1
    }
  ],
  "_score": 6.7032053706954855,
  "_indexed": true,
  "_nocasepkg": "wemix",
  "_universes": [
    "american-institutes-for-research",
    "pdbailey0"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0.4",
      "date": "2026-05-24T09:59:40.000Z",
      "distro": "noble",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "dcebee4310b3e689baa438a929fc85343d43b9578a651caddb5cb18ba1375b40",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0.4",
      "date": "2026-05-24T09:59:16.000Z",
      "distro": "noble",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "b6752aa0a60e83ca99f139f1c62ffe5c924531c40def224531c0193e12672350",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.0.4",
      "date": "2026-05-24T09:58:35.000Z",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "48b27c77a958275366333b8a991cb1bc7c584b8996a644f3dc4406686514e9b3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "4.0.4",
      "date": "2026-05-24T09:58:54.000Z",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "37a4e8952ae52d24ce1d2e217d9a2d73dbfa65a0c9929966222245276fe8db93",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0.4",
      "date": "2026-05-24T09:59:28.000Z",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "dc38665781b90ce063f06f1a60ba7a492dfab57dc9280df6c0e4b056f0de457e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.0.4",
      "date": "2026-05-24T09:58:25.000Z",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "14ebce193815c391e86f8235ebf4b7902325c174ddf6af183787471716faa0f9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.0.4",
      "date": "2026-05-24T09:58:29.000Z",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "256f0fce0d9f064214d0fec1f9e791258b4aaf921c99d43df9d4e53853252039",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "4.0.4",
      "date": "2026-05-24T09:58:21.000Z",
      "commit": "4f1497cc1b1e4510065e3e3cf9f20f35ca8b35f9",
      "fileid": "e01108f693cdbc2bc5821f528d10f11c8b530403ea9f206c91e9a45f75b02b7a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/american-institutes-for-research/actions/runs/26358078597"
    }
  ]
}