{
  "_id": "6a104212acfb0bcc41c9da0a",
  "Package": "svycdiff",
  "Type": "Package",
  "Title": "Controlled Difference Estimation for Complex Surveys",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(given = \"Stephen\", family = \"Salerno\",\nemail = \"ssalerno@fredhutch.org\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2763-0494\")),\nperson(given = \"Emily K\", family = \"Roberts\",\nemail = \"emily-roberts-1@uiowa.edu\", role = c(\"aut\")),\nperson(given = \"Tyler H\", family = \"McCormick\",\nemail = \"tylermc@uw.edu\", role = c(\"aut\")),\nperson(given = \"Fan\", family = \"Li\",\nemail = \"fan.f.li@yale.edu\", role = c(\"aut\")),\nperson(given = \"Bhramar\", family = \"Mukherjee\",\nemail = \"bhramar@umich.edu\", role = c(\"aut\")),\nperson(given = \"Xu\", family = \"Shi\",\nemail = \"shixu@umich.edu\", role = c(\"aut\")))",
  "Maintainer": "Stephen Salerno <ssalerno@fredhutch.org>",
  "Description": "Estimates the population average controlled difference for\na given outcome between levels of a binary treatment, exposure,\nor other group membership variable of interest for clustered,\nstratified survey samples where sample selection depends on the\ncomparison group. Provides three methods for estimation, namely\noutcome modeling and two factorizations of inverse probability\nweighting. Under stronger assumptions, these methods estimate\nthe causal population average treatment effect. Salerno et al.,\n(2024) <doi:10.48550/arXiv.2406.19597>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/salernos/svycdiff,\nhttps://salernos.github.io/svycdiff/",
  "BugReports": "https://github.com/salernos/svycdiff/issues",
  "Language": "en-US",
  "Config/pak/sysreqs": "make",
  "Repository": "https://salernos.r-universe.dev",
  "Date/Publication": "2025-07-22 20:38:52 UTC",
  "RemoteUrl": "https://github.com/salernos/svycdiff",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 07:28:26 UTC",
    "User": "root"
  },
  "Author": "Stephen Salerno [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2763-0494>),\nEmily K Roberts [aut],\nTyler H McCormick [aut],\nFan Li [aut],\nBhramar Mukherjee [aut],\nXu Shi [aut]",
  "MD5sum": "d00e0ae5d7a100fe5768277c75e12be6",
  "_user": "salernos",
  "_type": "src",
  "_file": "svycdiff_0.2.0.tar.gz",
  "_fileid": "b51739a680cc057f28a6e9c3212f16c77f00dd187653e2d3893b41364abbe8fe",
  "_filesize": 4478203,
  "_sha256": "b51739a680cc057f28a6e9c3212f16c77f00dd187653e2d3893b41364abbe8fe",
  "_created": "2026-05-11T07:28:26.000Z",
  "_published": "2026-05-22T11:46:26.915Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77373131357,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912655131"
    },
    {
      "job": 77373131559,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912660195"
    },
    {
      "job": 77373131566,
      "time": 167,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912649903"
    },
    {
      "job": 77373131379,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912651510"
    },
    {
      "job": 77373130923,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912604999"
    },
    {
      "job": 77373130672,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159713758"
    },
    {
      "job": 77373131292,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912640114"
    },
    {
      "job": 77373131303,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912637892"
    },
    {
      "job": 77373131543,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912637856"
    }
  ],
  "_buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/salernos/svycdiff",
  "_commit": {
    "id": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
    "author": "Stephen Salerno <salerno1212@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #3 from salernos/updates\n\nAdded: support for binary and count outcomes via generalized estimating equations\n\nAdded: Augmented inverse probability weighted (AIPW) estimator to main function via id_form = \"DR\"\n\nImproved: Expanded simulation function to allow for binary and count outcomes, stratified clustered sampling, and increased parameters to specify the true propensity, selection, and outcome models.\n\nUpdated: Main function to be faster for larger sample sizes. Separated pieces of estimation workflow into helper functions (helpers.R) for better compartmentalization.\n\nReorganized: Simulations and real data analysis for companion paper in inst/ folder.",
    "time": 1753216732
  },
  "_maintainer": {
    "name": "Stephen Salerno",
    "email": "ssalerno@fredhutch.org",
    "orcid": "0000-0003-2763-0494"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "betareg",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "salernos",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "salernos",
      "count": 79,
      "uuid": 20541789
    }
  ],
  "_userbio": {
    "uuid": 20541789,
    "type": "user",
    "name": "Stephen Salerno",
    "description": "Postdoc at @FredHutch advised by Jeff Leek | Cornell ('16) and UM Biostat Alum (MS '18, PhD '23) | Proud @statcom-um Member"
  },
  "_downloads": {
    "count": 205,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/svycdiff"
  },
  "_devurl": "https://github.com/salernos/svycdiff",
  "_pkgdown": "https://salernos.github.io/svycdiff/",
  "_searchresults": 4,
  "_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/svycdiff.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/salernos/svycdiff",
  "_realowner": "salernos",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2024-08-20"
    },
    {
      "version": "0.2.0",
      "date": "2025-07-22"
    }
  ],
  "_exports": [
    "simdat",
    "svycdiff"
  ],
  "_datasets": [
    {
      "name": "NHANES",
      "title": "Race, SES, and Telomere Length Data",
      "object": "NHANES",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SEQN",
        "iWTMEC4YR",
        "WTMEC4YR",
        "SDMVPSU",
        "SDMVSTRA",
        "TELOMEAN",
        "lTELOMEAN",
        "RACE_2CAT",
        "AGE",
        "SEX",
        "EDUC_3CAT",
        "MARTL_3CAT",
        "PIR_3CAT",
        "EMPSTAT_4CAT",
        "OCC_5CAT",
        "HHSIZE_5CAT",
        "HHINC_5CAT",
        "HIQ_2CAT",
        "WIC_2CAT",
        "FDSEC_3CAT",
        "HOD_4CAT",
        "OWNHOME_2CAT",
        "LBXWBCSI",
        "LBXLYPCT",
        "LBXMOPCT",
        "LBXNEPCT",
        "LBXEOPCT",
        "LBXBAPCT",
        "LBXBPB_LOD"
      ],
      "rows": 5298,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "NHANES",
      "title": "Race, SES, and Telomere Length Data",
      "topics": [
        "NHANES"
      ]
    },
    {
      "page": "simdat",
      "title": "Simulate data with varying degrees of selection and confounding bias",
      "topics": [
        "simdat"
      ]
    },
    {
      "page": "svycdiff",
      "title": "Controlled Difference Estimation for Complex Surveys",
      "topics": [
        "svycdiff"
      ]
    }
  ],
  "_pkglogo": "https://github.com/salernos/svycdiff/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/salernos/svycdiff/raw/HEAD/README.md",
  "_rundeps": [
    "betareg",
    "DBI",
    "flexmix",
    "Formula",
    "lattice",
    "lmtest",
    "MASS",
    "Matrix",
    "minqa",
    "mitools",
    "modeltools",
    "nnet",
    "numDeriv",
    "Rcpp",
    "RcppArmadillo",
    "sandwich",
    "survey",
    "survival",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "svycdiff.Rmd",
      "filename": "svycdiff.html",
      "title": "Using the svycdiff package",
      "engine": "knitr::knitr",
      "headings": [
        "Welcome!",
        "Example With Simulated Data",
        "Population Parameters",
        "Data Generation",
        "Fitting the Model"
      ],
      "created": "2024-05-28 07:19:47",
      "modified": "2025-04-23 00:22:35",
      "commits": 4
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "svycdiff",
  "_universes": [
    "salernos"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-11T07:30:39.000Z",
      "distro": "noble",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "0315a723e2bd74b86a0d5841e17d26f3fa2419ba88f6c9dace15d554f98c865e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-11T07:30:59.000Z",
      "distro": "noble",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "16a9409da324392b12d02da1889efa5dcd5656dad1830b24b4c2da95ec4504db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-11T07:30:36.000Z",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "8d43554971653672c61cd32852cbb4a3d66182feb3d7fc7476029e65309ef498",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-11T07:30:29.000Z",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "3b5761680c58f404bb928a4a8de4a63aafdd3140b641478327992aca8aad0450",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T07:29:48.000Z",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "318d1754313c8138337aa7b9e35bde29e7d1ffb3b65739f421b816198be0e508",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T07:29:40.000Z",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "31c2184180705fb865953ce9f00106bf611bde6273c8bb85777afcedc420ef0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T07:29:43.000Z",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "dbab93e5eb530b63bd498c1367b539095012db17463cf9df96f134ae766b939c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T11:46:11.000Z",
      "commit": "0b8592ac8481499d8c71dd4dfa1785a9315d2356",
      "fileid": "85c0308704edf2d817ff53d249f2a7814355eb833269ba95d5a0e0acd7b31593",
      "status": "success",
      "buildurl": "https://github.com/r-universe/salernos/actions/runs/25656280574"
    }
  ]
}