{
  "_id": "6ab100933d719c1f84085a2c",
  "Package": "MEMWAS",
  "Type": "Package",
  "Title": "Mixed-Effects Models with Autocorrelation Structures",
  "Version": "0.9.4.9002",
  "Date": "2026-08-20",
  "Authors@R": "c(\nperson(\"Enoch\", \"Kang\", role = c(\"aut\", \"cre\", \"trl\"),\nemail = \"y.enoch.kang@gmail.com\",\ncomment = c(ORCID = \"0000-0002-4903-942X\"))\n)",
  "Description": "Fits longitudinal mixed-effects models through a\nregistered 'C++' numerical backend. Supported serial covariance\nstructures include first-order autoregressive (AR(1)),\nexponential or Ornstein-Uhlenbeck, higher-order autoregressive\n(AR(p)), first-order autoregressive moving-average (ARMA(1,1)),\ncompound symmetry, Toeplitz, and unstructured covariance.\nSerial processes can be unified or attached independently to\nnumeric predictor loadings. Candidate temporal structures can\nbe ranked on a common sample by dependence-component grouped\ncross-validation, the Akaike information criterion, the\nBayesian information criterion, or log-likelihood. Clustered,\ncrossed, and nested random intercepts and slopes are assembled\njointly with diagonal or term-specific unstructured covariance.\nAvailable approximation methods include Laplace, saddlepoint\nlikelihood with latent Laplace integration, adaptive Gaussian\nquadrature, full-covariance Gaussian variational inference, and\npenalized quasi-likelihood. Penalized smooth mean terms include\nordinary and cyclic P-splines, factor-by and\nvarying-coefficient terms, tensor products, shrinkage smooths,\nand whole-term selection. Term-specific penalties, grouped\nfold-local smoothing selection, null-space constraints, and\nsmooth effective degrees of freedom remain separate from\nelastic-net coefficient shrinkage while the smooth mean and\nserial covariance are fitted jointly. Bootstrap resampling\npreserves the declared dependence components. The mixed-effects\nframework is inspired by Laird and Ware (1982)\n<doi:10.2307/2529876>; generalized-model approximations are\ninspired by Breslow and Clayton (1993)\n<doi:10.1080/01621459.1993.10594284>; and serial covariance\nformulations are inspired by Pinheiro and Bates (2000)\n<doi:10.1007/b98882>. The run-time fitting interface imports no\nthird-party 'R' packages.",
  "License": "GPL (>= 3)",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.0.0",
  "VignetteBuilder": "knitr, rmarkdown",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "Repository": "https://enochkang.r-universe.dev",
  "Date/Publication": "2026-08-22 14:50:51 UTC",
  "RemoteUrl": "https://github.com/enochkang/memwas",
  "RemoteRef": "HEAD",
  "RemoteSha": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
  "Packaged": {
    "Date": "2026-09-21 09:54:25 UTC",
    "User": "root"
  },
  "Author": "Enoch Kang [aut, cre, trl] (ORCID:\n<https://orcid.org/0000-0002-4903-942X>)",
  "Maintainer": "Enoch Kang <y.enoch.kang@gmail.com>",
  "_user": "enochkang",
  "_type": "src",
  "_file": "MEMWAS_0.9.4.9002.tar.gz",
  "_fileid": "https://r2.ropensci.org/d5c31dd1ca655287821597f9414fc4bd4656c7851f496b3b3ebd83f46f523395",
  "_filesize": 706234,
  "_sha256": "d5c31dd1ca655287821597f9414fc4bd4656c7851f496b3b3ebd83f46f523395",
  "_expires": "2026-12-30T10:01:53.000Z",
  "_created": "2026-09-21T09:54:25.000Z",
  "_published": "2026-09-21T10:01:55.361Z",
  "_jobs": [
    {
      "job": 106289081428,
      "time": 157,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10632008340"
    },
    {
      "job": 106289081503,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10632725818"
    },
    {
      "job": 106289081412,
      "time": 175,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632117365"
    },
    {
      "job": 106289081434,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632830714"
    },
    {
      "job": 106289081550,
      "time": 216,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10632222287"
    },
    {
      "job": 106289081461,
      "time": 371,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10632127915"
    },
    {
      "job": 106289081492,
      "time": 206,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10633070670"
    },
    {
      "job": 106289081583,
      "time": 382,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632651240"
    },
    {
      "job": 106288005165,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632201686"
    },
    {
      "job": 106289081401,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10632102145"
    },
    {
      "job": 106289081578,
      "time": 365,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10632372437"
    },
    {
      "job": 106289081574,
      "time": 173,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10633090161"
    },
    {
      "job": 106289082047,
      "time": 137,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10633115454"
    },
    {
      "job": 106289081485,
      "time": 371,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632632121"
    },
    {
      "job": 106289081602,
      "time": 131,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632002074"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680",
  "_status": "success",
  "_upstream": "https://github.com/enochkang/memwas",
  "_commit": {
    "id": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
    "author": "EnochKang <y.enoch.kang@gmail.com>",
    "committer": "EnochKang <y.enoch.kang@gmail.com>",
    "message": "Document 0.9.4.9002\n",
    "time": 1787410251
  },
  "_maintainer": {
    "name": "Enoch Kang",
    "email": "y.enoch.kang@gmail.com",
    "login": "enochkang",
    "description": "",
    "uuid": 119905562,
    "orcid": "0000-0002-4903-942X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "enochkang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-32",
      "n": 5
    },
    {
      "week": "2026-33",
      "n": 3
    },
    {
      "week": "2026-34",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "enochkang",
      "count": 14,
      "uuid": 119905562
    }
  ],
  "_userbio": {
    "uuid": 119905562,
    "type": "user",
    "name": "EnochKang",
    "followers": 1
  },
  "_downloads": {
    "count": 212,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MEMWAS"
  },
  "_devurl": "https://github.com/enochkang/memwas",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MEMWAS.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/enochkang/memwas",
  "_realowner": "enochkang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.3",
      "date": "2026-08-08"
    },
    {
      "version": "0.9.5",
      "date": "2026-08-22"
    }
  ],
  "_exports": [
    "check_MEMWAS_assumptions",
    "compare_approximations",
    "diagnose_approximation",
    "fit_MEMWAS",
    "MEMWAS_capabilities",
    "rank_autocorrelation_structures",
    "screen_MEMWAS_nonlinearity",
    "serial_component"
  ],
  "_help": [
    {
      "page": "check_MEMWAS_assumptions",
      "title": "Check assumptions for a fitted MEMWAS model",
      "topics": [
        "check_MEMWAS_assumptions",
        "print.MEMWAS_assumption_checks"
      ]
    },
    {
      "page": "MEMWAS_fit_methods",
      "title": "Methods for fitted MEMWAS models",
      "topics": [
        "AIC.MEMWAS_family_fit",
        "AIC.MEMWAS_fit",
        "BIC.MEMWAS_family_fit",
        "BIC.MEMWAS_fit",
        "coef.MEMWAS_family_fit",
        "coef.MEMWAS_fit",
        "coef.tune_MEMWAS",
        "fitted.MEMWAS_family_fit",
        "fitted.MEMWAS_fit",
        "logLik.MEMWAS_family_fit",
        "logLik.MEMWAS_fit",
        "nobs.MEMWAS_fit",
        "predict.tune_MEMWAS",
        "print.MEMWAS_family_fit",
        "print.MEMWAS_fit",
        "print.summary.MEMWAS_family_fit",
        "print.summary.MEMWAS_fit",
        "print.summary.tune_MEMWAS",
        "print.tune_MEMWAS",
        "residuals.MEMWAS_family_fit",
        "residuals.MEMWAS_fit",
        "summary.MEMWAS_family_fit",
        "summary.MEMWAS_fit",
        "summary.tune_MEMWAS",
        "vcov.MEMWAS_family_fit",
        "vcov.MEMWAS_fit"
      ]
    },
    {
      "page": "compare_approximations",
      "title": "Compare MEMWAS approximation requests",
      "topics": [
        "compare_approximations",
        "print.MEMWAS_approximation_comparison"
      ]
    },
    {
      "page": "diagnose_approximation",
      "title": "Diagnose a MEMWAS approximation",
      "topics": [
        "diagnose_approximation",
        "print.MEMWAS_approximation_diagnostics"
      ]
    },
    {
      "page": "fit_MEMWAS",
      "title": "Fit a MEMWAS mixed-effects model",
      "topics": [
        "fit_MEMWAS"
      ]
    },
    {
      "page": "MEMWAS_capabilities",
      "title": "Report MEMWAS fitting capabilities",
      "topics": [
        "MEMWAS_capabilities"
      ]
    },
    {
      "page": "predict.MEMWAS_fit",
      "title": "Predict from a fitted MEMWAS model",
      "topics": [
        "predict.MEMWAS_family_fit",
        "predict.MEMWAS_fit"
      ]
    },
    {
      "page": "rank_autocorrelation_structures",
      "title": "Rank temporal autocorrelation structures",
      "topics": [
        "print.MEMWAS_autocorrelation_ranking",
        "print.summary.MEMWAS_autocorrelation_ranking",
        "rank_autocorrelation_structures",
        "summary.MEMWAS_autocorrelation_ranking"
      ]
    },
    {
      "page": "screen_MEMWAS_nonlinearity",
      "title": "Screen MEMWAS fixed effects for nonlinearity",
      "topics": [
        "print.MEMWAS_nonlinearity_screen",
        "screen_MEMWAS_nonlinearity"
      ]
    },
    {
      "page": "serial_component",
      "title": "Define a MEMWAS serial covariance component",
      "topics": [
        "print.MEMWAS_serial_component",
        "serial_component"
      ]
    },
    {
      "page": "MEMWAS_nonlinearity_screen_methods",
      "title": "Summarize a MEMWAS nonlinearity screen",
      "topics": [
        "print.summary.MEMWAS_nonlinearity_screen",
        "summary.MEMWAS_nonlinearity_screen"
      ]
    }
  ],
  "_readme": "https://github.com/enochkang/memwas/raw/HEAD/README.md",
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Introduction-to-MEMWAS.Rmd",
      "filename": "Introduction-to-MEMWAS.html",
      "title": "Introduction to MEMWAS",
      "author": "Enoch Kang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Purpose",
        "Why random effects and serial correlation are different?",
        "[\\operatorname{Cov}\\left(b_{0i}+t_{ij}b_{1i},b_{0i}+t_{ik}b_{1i}\\right)",
        "[\\operatorname{Cov}(u_{ij},u_{ik})",
        "What does the MEMWAS work on?",
        "Penalized smooth mean functions",
        "Statistical framework",
        "Notation",
        "[\\eta_r",
        "[T_c(u)",
        "[\\operatorname",
        "Gaussian outcomes",
        "[V",
        "Non-Gaussian outcomes",
        "[L(\\psi)",
        "[E(Y_r\\mid x_r)",
        "[\\operatorname{Cov}(Y)",
        "Family-specific conditional models",
        "Overview on family-specific models",
        "Choosing families and interpreting coefficients",
        "Likelihood and approximation methods",
        "Gaussian models",
        "[\\left(X^\\top V^{-1}X+\\lambda_2D_\\beta\\right)\\widehat\\beta",
        "Non-Gaussian models",
        "[h(a;\\psi)",
        "Laplace approximation",
        "[H",
        "[\\log L(\\psi)\\approxh(\\widehat a;\\psi)+\\frac{d}{2}\\log(2\\pi)",
        "Variational inference",
        "[\\mathcal{L}(q,\\psi)",
        "E_q",
        "Adaptive Gauss--Hermite quadrature",
        "Saddlepoint approximation",
        "Penalized quasi-likelihood",
        "Fixed-effect and serial penalties",
        "[P(\\beta)",
        "How does the MEMWAS work?",
        "Data requirements and identifiability",
        "Workflows",
        "Core functions",
        "Key parameters",
        "Approximation diagnostics and uncertainty",
        "Within-subject correlation structures",
        "Overview on autocorrelation structures in MEMWAS",
        "[\\rho_1",
        "Unequally spaced measurements",
        "[\\operatorname{Corr}(u_{ij},u_{ik})",
        "Model comparison and nonlinear screening",
        "[\\Lambda",
        "2{\\ell(\\widehat\\psi_{\\mathrm{full}})",
        "Predictions and random-effect estimates",
        "[\\widehat y_r^",
        "[\\widehat\\mu_r^",
        "Examples",
        "Minimal educational example",
        "Minimal healthcare example",
        "Non-Gaussian example and approximation check",
        "Predictor-specific serial coefficient example",
        "Reporting recommendations",
        "References"
      ],
      "created": "2026-08-04 02:26:10",
      "modified": "2026-08-22 13:52:40",
      "commits": 9
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "memwas",
  "_universes": [
    "enochkang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:56:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/7d733a4dad6caf363fa863aa72406a0af9c0207255993a56355737ff3813a7af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:56:50.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/b3e3e840bcb65c2a418c7a7a48273bde84a0076b4e212ac5e0a72fb55d37573d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:57:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/cbd839a50329ef93324c70f6fdb325773a67d46222d8fb1c7645cc7abbd122cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:57:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/be80738e01c26ac2500d3a149c37d49d79684a3e48492b045c90632ee7ec19d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:57:20.000Z",
      "arch": "aarch64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/982b879ae9ba89c08caf1046d0314c0f67e9b269390b141e240f1140c9ca10ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:58:54.000Z",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/a8327808927ff290125b77a69f7a6890b9d93714bd811c79a62d7966962d616d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:57:00.000Z",
      "arch": "aarch64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/773d942ded9f0732814ac58ee745ca4c35b67cc9042a94775c814f830e32226b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:58:42.000Z",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/85d046fac8484b18e0fbc263306f62284b46c756cf7f83d9916560ef1f658607",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:56:41.000Z",
      "arch": "emscripten",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/f1fea548e1125691edf3d5ed91e270e7e7a73fbaae881c532c5408c9900d0b0f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:59:34.000Z",
      "arch": "aarch64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/cc584e92a73bb25ac3a4febfb6bb97e21af584b71c64a3bd3635954a6b39cd66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:55:55.000Z",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/a516fe4cdae007bb1b08168eba1a82d8b7fc7ded88e78753bf25621803419947",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:55:50.000Z",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/fc681e543513525bb33e3fb1546b0a561e13ba38ef711f2c65cd588c2600bd19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:59:32.000Z",
      "arch": "aarch64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/c032a2b5f99d988bf7086c74743670c201bf18f3b90feb9851986532aca24557",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.4.9002",
      "date": "2026-09-21T09:55:46.000Z",
      "arch": "x86_64",
      "commit": "b1d8658c7e524b9d30b42592785af7bc646e4bf2",
      "fileid": "https://r2.ropensci.org/793f4811a56e2be0664780e22f277ef214740791cad3386184a7af15a2937a6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/enochkang/actions/runs/35585542680"
    }
  ]
}