{
  "_id": "6ae5b1133d0f299392dd45d4",
  "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-31 08:43:29 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/de1d4b8ef913a82786f07ed9c9a3ab18aeb10396deede977e8e44c87e3778fa1",
  "_filesize": 496038,
  "_sha256": "de1d4b8ef913a82786f07ed9c9a3ab18aeb10396deede977e8e44c87e3778fa1",
  "_expires": "2027-02-08T09:12:50.000Z",
  "_created": "2026-10-31T08:43:29.000Z",
  "_published": "2026-10-31T09:12:51.759Z",
  "_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": 124492313208,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036504403"
    },
    {
      "job": 124492313235,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036474507"
    },
    {
      "job": 124492313260,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13037112919"
    },
    {
      "job": 124492313251,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13037128104"
    },
    {
      "job": 124491765788,
      "time": 171,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036808563"
    },
    {
      "job": 124492313244,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13036139928"
    },
    {
      "job": 124492313243,
      "time": 80,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036898147"
    },
    {
      "job": 124492313279,
      "time": 105,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13036569339"
    },
    {
      "job": 124492313249,
      "time": 133,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036524413"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492",
  "_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": 341,
    "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.6170003411208995,
  "_indexed": true,
  "_nocasepkg": "stdreg2",
  "_universes": [
    "sachsmc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-10-31T08:45:28.000Z",
      "distro": "resolute",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/b0f4098a2d457aee00ea396439f9dc3548df38a29274aec5f7c3ed79a12c8ba2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-10-31T08:45:28.000Z",
      "distro": "resolute",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/0416fd89382fab129d36ed508685161bfdbb2f7a3397146715af13b0862e7d78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-10-31T09:10:00.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/e9ae91f47f742f039613f5c749d28c7fe1a2998ae1c13781af793b610aeddc6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-10-31T09:11:58.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/e42da368efe616d8d3381e6b30035ecfa3aee38ead3b2418451b524184c9de84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-10-31T08:45:22.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/346f15a31fd6489b4bcf5871ec3aaae2af0b49c900ac3076f83d6a0b57cda1f1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-31T08:44:33.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/68be691fbba9436071eb10ee105cb9aecb1c6cd7bbf4937d94a2ec2605e5c457",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-31T08:44:48.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/a30c0a1dbd9c322e4016173ab32c8d0ea90fafe3ef1c9391e05463b77a1415bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-31T08:45:12.000Z",
      "commit": "45899e4963e090882d7a55d9a4f74e00a3085618",
      "fileid": "https://r2.ropensci.org/4cb766135a700a78eb256c20b86743ec4b8c80c18b58813c1688877cccc176ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/41185568492"
    }
  ]
}