{
  "_id": "6b0d631cb6d08ed7e3d9531b",
  "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-11-30 11:41:41 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>",
  "_user": "sachsmc",
  "_type": "src",
  "_file": "stdReg2_1.0.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/f9d05e7eae6b25a750dd2f603724291b981ccf1b901f57159b511d639c944790",
  "_filesize": 496067,
  "_sha256": "f9d05e7eae6b25a750dd2f603724291b981ccf1b901f57159b511d639c944790",
  "_expires": "2027-03-10T11:50:50.000Z",
  "_created": "2026-11-30T11:41:41.000Z",
  "_published": "2026-11-30T11:50:52.758Z",
  "_upstream": "https://github.com/sachsmc/stdReg2",
  "_status": "success",
  "_maintainer": {
    "name": "Michael C Sachs",
    "email": "sachsmc@gmail.com",
    "login": "sachsmc",
    "linkedin": "in/michael-sachs-09324659",
    "description": "",
    "uuid": 5464185
  },
  "_jobs": [
    {
      "job": 141824067067,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15374651907"
    },
    {
      "job": 141824067079,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15374981580"
    },
    {
      "job": 141824067033,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15374987478"
    },
    {
      "job": 141824067116,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15376026510"
    },
    {
      "job": 141822410167,
      "time": 191,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15376070012"
    },
    {
      "job": 141824067027,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15375076380"
    },
    {
      "job": 141824067199,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15374516779"
    },
    {
      "job": 141824067089,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15374701740"
    },
    {
      "job": 141824067011,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15375795603"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137",
  "_commit": {
    "id": "45899e4963e090882d7a55d9a4f74e00a3085618",
    "author": "Michael Sachs <sachsmc@gmail.com>",
    "committer": "Michael Sachs <sachsmc@gmail.com>",
    "message": "Stupid jekyl\n",
    "time": 1779974652
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "2026-19",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "sachsmc",
      "count": 56,
      "uuid": 5464185
    },
    {
      "user": "jsohlendorff",
      "count": 28,
      "uuid": 64107775
    }
  ],
  "_userbio": {
    "uuid": 5464185,
    "type": "user",
    "name": "Michael Sachs",
    "followers": 92
  },
  "_downloads": {
    "count": 536,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stdReg2"
  },
  "_devurl": "https://github.com/sachsmc/stdreg2",
  "_pkgdown": "https://sachsmc.github.io/stdReg2/",
  "_searchresults": 29,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stdReg2.html"
  ],
  "_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"
    }
  ],
  "_authors": [
    {
      "name": "Michael C Sachs",
      "email": "sachsmc@gmail.com",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Arvid Sjölander",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Erin E Gabriel",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Johan Sebastian Ohlendorff",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Adam Brand",
      "role": [
        "aut"
      ]
    }
  ],
  "_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.717670503002262,
  "_indexed": true,
  "_nocasepkg": "stdreg2",
  "_universes": [
    "sachsmc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-11-30T11:43:48.000Z",
      "distro": "resolute",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/ca7fd928c427593ceed105f590545da27105b4676f50f483e5d94ee9b19fba1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-11-30T11:43:40.000Z",
      "distro": "resolute",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/cdf62cf2285d2327ebab25306abd8a64f2327cac4acc4606b2f4b22ed0f3f799",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-11-30T11:48:36.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/554e36d056c3777bd1520e34473e8ae455b1d4e52154fd7a0fed25780f4092d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-11-30T11:50:00.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/1337690e92fa0b3822bfd6b79341baeaf8ca6a5f7eb4dbf89c56d07e3da474d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-11-30T11:43:31.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/5b354d154a092a7a13eb2ca2f359e04e08bedb1c64a258c9acc2367dd2ac3704",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-11-30T11:42:44.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/4e14cdacbc63f41815110c59a59a9f945458890a05bcf2cc90ae57d105a7c7f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-11-30T11:42:56.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/c045810d4f69a873818d88edc9cc4b3690b8f220a238fcd8a1105c9fea98d8a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-11-30T11:43:03.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/1a7c570c53961e7c8f2a7794db9ff82c90f42558af293a7aa0088205f9bb5b47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/46411188137"
    }
  ]
}