{
  "_id": "6acca85ea14063b82c3a77fa",
  "Package": "iTOS",
  "Type": "Package",
  "Title": "Methods and Examples from Introduction to the Theory of\nObservational Studies",
  "Version": "1.0.3",
  "Authors@R": "person(given = c(\"Paul\", \"R.\"),\nfamily = \"Rosenbaum\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rosenbaum@wharton.upenn.edu\")",
  "Author": "Paul R. Rosenbaum [aut, cre]",
  "Maintainer": "Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>",
  "Description": "Supplements for a book, \"iTOS\" = \"Introduction to the\nTheory of Observational Studies.\"  Data sets are 'aHDL' from\nRosenbaum (2023a) <doi:10.1111/biom.13558> and 'bingeM' from\nRosenbaum (2023b) <doi:10.1111/biom.13921>.  The function\nmakematch() uses two-criteria matching from Zhang et al. (2023)\n<doi:10.1080/01621459.2021.1981337> to create the matched data\n'bingeM' from 'binge'.  The makematch() function also\nimplements optimal matching (Rosenbaum (1989)\n<doi:10.2307/2290079>) and matching with fine or near-fine\nbalance (Rosenbaum et al. (2007)\n<doi:10.1198/016214506000001059> and Yang et al (2012)\n<doi:10.1111/j.1541-0420.2011.01691.x>).  The book makes use of\ntwo other R packages, 'weightedRank' and 'tightenBlock'.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-12 09:25:58 UTC",
    "User": "root"
  },
  "Repository": "https://rosenbap.r-universe.dev",
  "Date/Publication": "2024-09-06 02:55:04 UTC",
  "RemoteUrl": "https://github.com/cran/iTOS",
  "RemoteRef": "HEAD",
  "RemoteSha": "6fa95a032fae468776d3318e6221c6bf158ade7a",
  "_user": "rosenbap",
  "_type": "src",
  "_file": "iTOS_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/4ca0b1d9a33246754542fc5ba3b8b87bdbcfa425f29432d090edc766b8e7a582",
  "_filesize": 421960,
  "_sha256": "4ca0b1d9a33246754542fc5ba3b8b87bdbcfa425f29432d090edc766b8e7a582",
  "_expires": "2027-01-20T09:29:00.000Z",
  "_created": "2026-10-12T09:25:58.000Z",
  "_published": "2026-10-12T09:29:02.331Z",
  "_buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114746476145,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11737399425"
    },
    {
      "job": 114746476118,
      "time": 101,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11737753890"
    },
    {
      "job": 114746476203,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11737952824"
    },
    {
      "job": 114746476186,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11737907696"
    },
    {
      "job": 114745275443,
      "time": 199,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738292097"
    },
    {
      "job": 114746476045,
      "time": 75,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11738302221"
    },
    {
      "job": 114746476081,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11737119696"
    },
    {
      "job": 114746476242,
      "time": 96,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11737344454"
    },
    {
      "job": 114746476176,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11737857655"
    }
  ],
  "_upstream": "https://github.com/cran/iTOS",
  "_commit": {
    "id": "6fa95a032fae468776d3318e6221c6bf158ade7a",
    "author": "Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.3\n",
    "time": 1725591304
  },
  "_maintainer": {
    "name": "Paul R. Rosenbaum",
    "email": "rosenbaum@wharton.upenn.edu",
    "login": "rosenbap",
    "description": "",
    "uuid": 254956857
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "rcbalance",
      "role": "Imports"
    },
    {
      "package": "BiasedUrn",
      "role": "Imports"
    },
    {
      "package": "xtable",
      "role": "Imports"
    },
    {
      "package": "weightedRank",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rosenbap",
      "count": 1,
      "uuid": 254956857
    }
  ],
  "_userbio": {
    "uuid": 254956857,
    "type": "user",
    "name": "rosenbap",
    "followers": 0
  },
  "_downloads": {
    "count": 288,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iTOS"
  },
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/iTOS.html",
    "extra/manual.pdf"
  ],
  "_realowner": "rosenbap",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2024-09-05"
    }
  ],
  "_exports": [
    "addcaliper",
    "addinteger",
    "addMahal",
    "addNearExact",
    "addquantile",
    "amplify",
    "computep",
    "ev",
    "evalBal",
    "evall",
    "gconv",
    "makematch",
    "makenetwork",
    "noether",
    "startcost",
    "zeta"
  ],
  "_datasets": [
    {
      "name": "aHDL",
      "title": "Alcohol and HDL Cholesterol",
      "object": "aHDL",
      "class": [
        "data.frame"
      ],
      "fields": [
        "nh",
        "SEQN",
        "age",
        "female",
        "education",
        "z",
        "grp",
        "grpL",
        "hdl",
        "mmercury",
        "mset"
      ],
      "rows": 1624,
      "table": true,
      "tojson": true
    },
    {
      "name": "binge",
      "title": "Binge Drinking and High Blood Pressure",
      "object": "binge",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SEQN",
        "age",
        "ageC",
        "female",
        "educationf",
        "education",
        "bmi",
        "waisthip",
        "vigor",
        "smokenowf",
        "smokenow",
        "bpRX",
        "smokeQuit",
        "AlcGroup",
        "bpSystolic",
        "bpDiastolic",
        "bpCombined"
      ],
      "rows": 4627,
      "table": true,
      "tojson": true
    },
    {
      "name": "bingeM",
      "title": "Binge Drinking and High Blood Pressure - Matched With Two Control Groups",
      "object": "bingeM",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SEQN",
        "age",
        "ageC",
        "female",
        "educationf",
        "education",
        "bmi",
        "waisthip",
        "vigor",
        "smokenowf",
        "smokenow",
        "bpRX",
        "smokeQuit",
        "AlcGroup",
        "bpSystolic",
        "bpDiastolic",
        "bpCombined",
        "z",
        "mset",
        "treated"
      ],
      "rows": 618,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "iTOS-package",
      "title": "Methods and Examples from Introduction to the Theory of Observational Studies",
      "topics": [
        "iTOS-package",
        "iTOS"
      ]
    },
    {
      "page": "addcaliper",
      "title": "Add a Caliper to an Existing Cost Matrix",
      "topics": [
        "addcaliper"
      ]
    },
    {
      "page": "addinteger",
      "title": "Add an Integer Penalty to an Existing Distance Matrix",
      "topics": [
        "addinteger"
      ]
    },
    {
      "page": "addMahal",
      "title": "Rank-Based Mahalanobis Distance Matrix",
      "concept": [
        "Matching",
        "Mahalanobis distance"
      ],
      "topics": [
        "addMahal"
      ]
    },
    {
      "page": "addNearExact",
      "title": "Add a Near-exact Penalty to an Exisiting Distance Matrix.",
      "topics": [
        "addNearExact"
      ]
    },
    {
      "page": "addquantile",
      "title": "Cut a Covariate at Quantiles and Add a Penalty for Different Quantile Categories",
      "topics": [
        "addquantile"
      ]
    },
    {
      "page": "aHDL",
      "title": "Alcohol and HDL Cholesterol",
      "concept": [
        "Observational study",
        "Causal inference",
        "Multiple control groups",
        "Unaffected outcome",
        "Placebo outcome",
        "Negative control",
        "Control outcome"
      ],
      "topics": [
        "aHDL"
      ]
    },
    {
      "page": "amplify",
      "title": "Amplification of sensitivity analysis in observational studies.",
      "concept": [
        "Sensitivity analysis",
        "Observational study",
        "Causal inference",
        "Amplification",
        "Amplify",
        "Interpretation of sensitivity analyses",
        "rbounds"
      ],
      "topics": [
        "amplify"
      ]
    },
    {
      "page": "binge",
      "title": "Binge Drinking and High Blood Pressure",
      "concept": [
        "Observational study",
        "Causal inference",
        "Matching"
      ],
      "topics": [
        "binge"
      ]
    },
    {
      "page": "bingeM",
      "title": "Binge Drinking and High Blood Pressure - Matched With Two Control Groups",
      "topics": [
        "bingeM"
      ]
    },
    {
      "page": "computep",
      "title": "Computes individual and pairwise treatment assignment probabilities.",
      "topics": [
        "computep"
      ]
    },
    {
      "page": "ev",
      "title": "Computes the null expectation and variance for one stratum.",
      "topics": [
        "ev"
      ]
    },
    {
      "page": "evalBal",
      "title": "Evaluate Covariate Balance in a Matched Sample",
      "topics": [
        "evalBal"
      ]
    },
    {
      "page": "evall",
      "title": "Compute expectations and variances for one stratum.",
      "topics": [
        "evall"
      ]
    },
    {
      "page": "gconv",
      "title": "Convolution of Two Probability Generating Functions",
      "topics": [
        "gconv"
      ]
    },
    {
      "page": "makematch",
      "title": "Two-Criteria Matching",
      "concept": [
        "Matching",
        "Two-criteria matching",
        "Propensity score",
        "Network optimization"
      ],
      "topics": [
        "makematch"
      ]
    },
    {
      "page": "makenetwork",
      "title": "Make the Network Used for Matching with Two Criteria",
      "topics": [
        "makenetwork"
      ]
    },
    {
      "page": "noether",
      "title": "Sensitivity Analysis Using Noether's Test for Matched Pairs",
      "topics": [
        "noether"
      ]
    },
    {
      "page": "startcost",
      "title": "Initialize a Distance Matrix.",
      "topics": [
        "startcost"
      ]
    },
    {
      "page": "zeta",
      "title": "zeta function in sensitivity analysis",
      "topics": [
        "zeta"
      ]
    }
  ],
  "_rundeps": [
    "BiasedUrn",
    "MASS",
    "plyr",
    "rcbalance",
    "Rcpp",
    "rlemon",
    "xtable"
  ],
  "_score": 1.7781512503836436,
  "_indexed": true,
  "_nocasepkg": "itos",
  "_universes": [
    "rosenbap"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-12T09:28:21.000Z",
      "distro": "resolute",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/05fb6eaf9ece32c7f3f210a9439e615d0b00e2c416133d83bf1d498271be4a25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:41.000Z",
      "distro": "resolute",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/b325579047859a7cff5650af1b9b09d1321a13f063a06dc0834eed3d41f0219d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:31.000Z",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/0c62dbed9f93a1a1d16870b9ed63cdd77dd0ee5266fcfaf6824403337458182b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:28.000Z",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/5dbdb3a2ab9e700220c61533ebf55008b183baf6894fd3421caf5ab3099d3e61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:33.000Z",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/1d41fe6e51ee03eb9d7c7f911f63079c71478c8b183a32248f41f173af003e1b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:06.000Z",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/8f9d3013684ed542991ab91b93d040ac4fe1d7817b9052faa8b55b6b22d3a37e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:29.000Z",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/e321b26f405708e3546d090c42c31f92a65cad1489b5d5dbb6339dd22a550e63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-12T09:27:00.000Z",
      "commit": "6fa95a032fae468776d3318e6221c6bf158ade7a",
      "fileid": "https://r2.ropensci.org/9ed7824dfc33db0dae57bdbad840d4c8229c8f7b4d59360cf731b1413790ce42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/38229487961"
    }
  ]
}