{
  "_id": "6a1864edacfb0bcc41dbfcb9",
  "Package": "stdReg2",
  "Type": "Package",
  "Title": "Regression Standardization for Causal Inference",
  "Version": "1.0.8",
  "Authors@R": "c(person(given = \"Michael C\",\nfamily = \"Sachs\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sachsmc@gmail.com\"),\nperson(given = \"Arvid\",\nfamily = \"Sjölander\", role = c(\"aut\")),\nperson(given = \"Erin E\",\nfamily = \"Gabriel\",\nrole = \"aut\"),\nperson(given = \"Johan Sebastian\",\nfamily = \"Ohlendorff\", role = \"aut\"),\nperson(given = \"Adam\",\nfamily = \"Brand\", role = \"aut\"))",
  "URL": "https://sachsmc.github.io/stdReg2/,\nhttps://github.com/sachsmc/stdReg2",
  "BugReports": "https://github.com/sachsmc/stdReg2/issues",
  "Date": "2026-05-28",
  "Description": "Contains more modern tools for causal inference using\nregression standardization. Four general classes of models are\nimplemented; generalized linear models, conditional generalized\nestimating equation models, Cox proportional hazards models,\nand shared frailty gamma-Weibull models. Methodological details\nare described in Sjölander, A. (2016)\n<doi:10.1007/s10654-016-0157-3>. Also includes functionality\nfor doubly robust estimation for generalized linear models in\nsome special cases, and the ability to implement custom models.",
  "License": "AGPL (>= 3)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Repository": "https://sachsmc.r-universe.dev",
  "Date/Publication": "2026-05-28 13:24:12 UTC",
  "RemoteUrl": "https://github.com/sachsmc/stdReg2",
  "RemoteRef": "HEAD",
  "RemoteSha": "45899e4963e090882d7a55d9a4f74e00a3085618",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 15:03:28 UTC",
    "User": "root"
  },
  "Author": "Michael C Sachs [aut, cre],\nArvid Sjölander [aut],\nErin E Gabriel [aut],\nJohan Sebastian Ohlendorff [aut],\nAdam Brand [aut]",
  "Maintainer": "Michael C Sachs <sachsmc@gmail.com>",
  "MD5sum": "5b110576da0e4c8d9267b0b65df1aecd",
  "_user": "sachsmc",
  "_type": "src",
  "_file": "stdReg2_1.0.8.tar.gz",
  "_fileid": "c5d1d140470cd53c3b3d71dc716feb28f8ead55356abcfe4c442366ce11df600",
  "_filesize": 495711,
  "_sha256": "c5d1d140470cd53c3b3d71dc716feb28f8ead55356abcfe4c442366ce11df600",
  "_created": "2026-05-28T15:03:28.000Z",
  "_published": "2026-05-28T15:53:17.631Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78321268510,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7269539100"
    },
    {
      "job": 78321268547,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7269543886"
    },
    {
      "job": 78321268508,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7270640213"
    },
    {
      "job": 78321268683,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7270661844"
    },
    {
      "job": 78320024430,
      "time": 235,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7269440225"
    },
    {
      "job": 78321268509,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7269521874"
    },
    {
      "job": 78321268662,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7269526446"
    },
    {
      "job": 78321268424,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7269511496"
    },
    {
      "job": 78321268533,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7269539883"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sachsmc/stdReg2",
  "_commit": {
    "id": "45899e4963e090882d7a55d9a4f74e00a3085618",
    "author": "Michael Sachs <sachsmc@gmail.com>",
    "committer": "Michael Sachs <sachsmc@gmail.com>",
    "message": "Stupid jekyl\n",
    "time": 1779974652
  },
  "_maintainer": {
    "name": "Michael C Sachs",
    "email": "sachsmc@gmail.com",
    "login": "sachsmc",
    "linkedin": "in/michael-sachs-09324659",
    "description": "",
    "uuid": 5464185
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "drgee",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "causaldata",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sachsmc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "sachsmc",
      "count": 56,
      "uuid": 5464185
    },
    {
      "user": "jsohlendorff",
      "count": 28,
      "uuid": 64107775
    }
  ],
  "_userbio": {
    "uuid": 5464185,
    "type": "user",
    "name": "Michael Sachs"
  },
  "_downloads": {
    "count": 360,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stdReg2"
  },
  "_devurl": "https://github.com/sachsmc/stdreg2",
  "_pkgdown": "https://sachsmc.github.io/stdReg2/",
  "_searchresults": 21,
  "_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/stdReg2.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sachsmc/stdreg2",
  "_realowner": "sachsmc",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2024-09-13"
    },
    {
      "version": "1.0.3",
      "date": "2025-02-28"
    },
    {
      "version": "1.0.7",
      "date": "2026-05-14"
    }
  ],
  "_exports": [
    "parfrailty",
    "plot.std_glm",
    "plot.std_surv",
    "print.std_custom",
    "print.std_glm",
    "print.std_surv",
    "sandwich",
    "standardize",
    "standardize_coxph",
    "standardize_gee",
    "standardize_glm",
    "standardize_glm_dr",
    "standardize_level",
    "standardize_parfrailty",
    "summary.parfrailty",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "clslowbwt",
      "title": "Birthweight data clustered on the mother.",
      "object": "clslowbwt",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "birth",
        "smoke",
        "race",
        "age",
        "lwt",
        "bwt",
        "low",
        "lbw",
        "smoker"
      ],
      "rows": 487,
      "table": true,
      "tojson": true
    },
    {
      "name": "singapore",
      "title": "Case-control study on oesophageal cancer in Chinese Singapore men.",
      "object": "singapore",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Set",
        "CC",
        "Age",
        "Dial",
        "Samsu",
        "Cigs",
        "Bev",
        "Oesophagealcancer",
        "Everhotbev"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "stdReg2-package",
      "title": "stdReg2: Regression Standardization for Causal Inference",
      "topics": [
        "stdReg2-package",
        "stdReg2"
      ]
    },
    {
      "page": "clslowbwt",
      "title": "Birthweight data clustered on the mother.",
      "topics": [
        "clslowbwt"
      ]
    },
    {
      "page": "parfrailty",
      "title": "Fits shared frailty gamma-Weibull models",
      "topics": [
        "parfrailty"
      ]
    },
    {
      "page": "plot",
      "title": "Plots regression standardization fit",
      "topics": [
        "plot.std_glm"
      ]
    },
    {
      "page": "plot.std_surv",
      "title": "Plots regression standardization fit",
      "topics": [
        "plot.std_surv"
      ]
    },
    {
      "page": "print",
      "title": "Prints summary of regression standardization fit",
      "topics": [
        "print.std_custom",
        "print.std_glm",
        "print.std_surv"
      ]
    },
    {
      "page": "print.summary.parfrailty",
      "title": "Print method for parametric frailty fits",
      "topics": [
        "print.summary.parfrailty"
      ]
    },
    {
      "page": "sandwich",
      "title": "Compute the sandwich variance components from a model fit",
      "topics": [
        "sandwich"
      ]
    },
    {
      "page": "singapore",
      "title": "Case-control study on oesophageal cancer in Chinese Singapore men.",
      "topics": [
        "singapore"
      ]
    },
    {
      "page": "standardize",
      "title": "Get standardized estimates using the g-formula with a custom model",
      "topics": [
        "standardize"
      ]
    },
    {
      "page": "standardize_coxph",
      "title": "Regression standardization in Cox proportional hazards models",
      "topics": [
        "standardize_coxph"
      ]
    },
    {
      "page": "standardize_gee",
      "title": "Regression standardization in conditional generalized estimating equations",
      "topics": [
        "standardize_gee"
      ]
    },
    {
      "page": "standardize_glm",
      "title": "Get regression standardized estimates from a glm",
      "topics": [
        "standardize_glm"
      ]
    },
    {
      "page": "standardize_glm_dr",
      "title": "Get regression standardized doubly-robust estimates from a glm",
      "topics": [
        "standardize_glm_dr"
      ]
    },
    {
      "page": "standardize_level",
      "title": "Get standardized estimates using the g-formula with and separate models for each exposure level in the data",
      "topics": [
        "standardize_level"
      ]
    },
    {
      "page": "standardize_parfrailty",
      "title": "Regression standardization in shared frailty gamma-Weibull models",
      "topics": [
        "standardize_parfrailty"
      ]
    },
    {
      "page": "summary",
      "title": "Summarizes parfrailty fit",
      "topics": [
        "summary.parfrailty"
      ]
    },
    {
      "page": "tidy.std_custom",
      "title": "Provide tidy output from a std_custom object for use in downstream computations",
      "topics": [
        "tidy.std_custom"
      ]
    },
    {
      "page": "tidy.std_glm",
      "title": "Provide tidy output from a std_glm object for use in downstream computations",
      "topics": [
        "tidy.std_glm"
      ]
    },
    {
      "page": "tidy.std_surv",
      "title": "Provide tidy output from a std_surv object for use in downstream computations",
      "topics": [
        "tidy.std_surv"
      ]
    }
  ],
  "_readme": "https://github.com/sachsmc/stdReg2/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "drgee",
    "generics",
    "lattice",
    "Matrix",
    "nleqslv",
    "Rcpp",
    "RcppArmadillo",
    "sandwich",
    "survival",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "Estimation of causal effects using stdReg2",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction and context",
        "Regression standardization",
        "Improving robustness by modeling the exposure",
        "In practice",
        "Other outcome types"
      ],
      "created": "2023-11-07 10:23:09",
      "modified": "2024-09-04 11:36:07",
      "commits": 9
    },
    {
      "source": "custom.Rmd",
      "filename": "custom.html",
      "title": "Implementing custom and new methods for standardization",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General implementation"
      ],
      "created": "2024-08-12 09:16:44",
      "modified": "2025-03-21 15:00:16",
      "commits": 4
    }
  ],
  "_score": 5.720159303405957,
  "_indexed": true,
  "_nocasepkg": "stdreg2",
  "_universes": [
    "sachsmc"
  ],
  "_previous": "1.0.7",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-05-28T15:06:48.000Z",
      "distro": "noble",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "60f96b4a404e4763f4e9cd7ac4966d0ca5fa9d5b76d6248276668b7f24b000e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-05-28T15:07:00.000Z",
      "distro": "noble",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "48f387e1c8e985fc50ed7deabe8b31c8756cfa7eb7cf6c06e0e943dec9cfefd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-05-28T15:51:32.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "02bcf517058787df363bd6c1a9ab6925d7dd4fc2244332e6e431601a42b0e5df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-05-28T15:52:32.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "b41744d31dd31361837fcb8eb922268d49eb46d50a6ca8274a907e02bb2f957f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-05-28T15:06:50.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "dd16d27c726b5b7299637575a0ae894dcf65ec2ea645f2a6ee845c0fc273698f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-28T15:06:15.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "1acd7312eaab0cb32cc0b5d8a134d2ccaaee5712e880b532560a2238fec6c4f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-28T15:05:35.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "ceb4cf28dd2cb70b7080caa27b6ea9b972cf1ceda71087cdd90e752e6ee2d705",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-28T15:06:49.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "180fefa85a5664af16733b0b0448883754eca8b9c7f8a39137929013eec0a6d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26582542542"
    }
  ]
}