{
  "_id": "6abe23ae99f7aa8c6aa52b3f",
  "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-10-01 09:07:43 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/04af33c6d6fcd90a77e7dd6ae3b7b175f0675a74dffb4ca4bc91e3b2b91cc581",
  "_filesize": 495707,
  "_sha256": "04af33c6d6fcd90a77e7dd6ae3b7b175f0675a74dffb4ca4bc91e3b2b91cc581",
  "_expires": "2027-01-09T09:11:08.000Z",
  "_created": "2026-10-01T09:07:43.000Z",
  "_published": "2026-10-01T09:11:10.501Z",
  "_jobs": [
    {
      "job": 110299024978,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11150548516"
    },
    {
      "job": 110299024969,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151432899"
    },
    {
      "job": 110299024993,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11151685351"
    },
    {
      "job": 110299025061,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151358010"
    },
    {
      "job": 110297779218,
      "time": 213,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150988395"
    },
    {
      "job": 110299024896,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11151338034"
    },
    {
      "job": 110299025098,
      "time": 102,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11151626442"
    },
    {
      "job": 110299025034,
      "time": 103,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11151641466"
    },
    {
      "job": 110299024971,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150514585"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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-41",
      "n": 1
    },
    {
      "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": 93
  },
  "_downloads": {
    "count": 456,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stdReg2"
  },
  "_devurl": "https://github.com/sachsmc/stdreg2",
  "_pkgdown": "https://sachsmc.github.io/stdReg2/",
  "_searchresults": 23,
  "_rbuild": "4.6.1",
  "_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"
    }
  ],
  "_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.7419390777291985,
  "_indexed": true,
  "_nocasepkg": "stdreg2",
  "_universes": [
    "sachsmc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-10-01T09:10:02.000Z",
      "distro": "resolute",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/d966b9edc183b7090cce9b7d8ece62ceab6956c83d008dff127dbb1125bada49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-10-01T09:09:50.000Z",
      "distro": "resolute",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/494358d20c7289d1af9403d98fb51652409615a655537c65c2b09399baeb4e35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-10-01T09:09:36.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/04619c76f1554ffb6fdef764039ffb9efc10f0490712eabe64b21a93bbf8f1a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-10-01T09:09:46.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/caee743236d80e12b347c27ec3d3868e471ce5d7d9cc1dac05914133127c9691",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-10-01T09:09:59.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/9ee58ce89ad9add9147f1b01948b3b0fb9871e8116ec43c1d279a9b4858568b0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-01T09:08:57.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/6ce640e4a0250fd4a690a3ab962a074471a4796d49d60f98197569a099ca8d3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-01T09:08:57.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/5eb5e3226fb77df82573c59f6282d170752a1d8100f4638fe78660df834a7ccd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-01T09:09:06.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/57dec99976d951189f07b7400bdea2dd0f24687c80515b57673b0f8f4297945b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36840325294"
    }
  ]
}