{
  "_id": "6a1e7bf61d7bb097a0a6535b",
  "Package": "imt",
  "Title": "Impact Measurement Toolkit",
  "Version": "1.1.0",
  "Authors@R": "person(given = \"Ignacio\",\nfamily = \"Martinez\",\nrole = c(\"aut\", \"cre\"),\nemail = \"martinezig@google.com\",\ncomment = c(ORCID = \"0000-0002-3721-8172\"))",
  "Description": "A toolkit for causal inference in experimental and\nobservational studies. Implements various simple Bayesian\nmodels including linear, negative binomial, and logistic\nregression for impact estimation. Provides functionality for\nrandomization and checking baseline equivalence in experimental\ndesigns. The package aims to simplify the process of impact\nmeasurement for researchers and analysts across different\nfields. Examples and detailed usage instructions are available\nat <https://book.martinez.fyi>.",
  "License": "Apache License (>= 2.0)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "URL": "https://github.com/google/imt",
  "BugReports": "https://github.com/google/imt/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://google.r-universe.dev",
  "Date/Publication": "2025-11-04 15:49:17 UTC",
  "RemoteUrl": "https://github.com/google/imt",
  "RemoteRef": "HEAD",
  "RemoteSha": "8f96307782ab64c6cd12f923821d3b2bc3257659",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 06:23:59 UTC",
    "User": "root"
  },
  "Author": "Ignacio Martinez [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3721-8172>)",
  "Maintainer": "Ignacio Martinez <martinezig@google.com>",
  "MD5sum": "defb10b1d001969a30094717b56716df",
  "_user": "google",
  "_type": "src",
  "_file": "imt_1.1.0.tar.gz",
  "_fileid": "201cb8c65626e3064df0ab701ed6c953859e75a67666b2899f1a5cd8835a3a6f",
  "_filesize": 370126,
  "_sha256": "201cb8c65626e3064df0ab701ed6c953859e75a67666b2899f1a5cd8835a3a6f",
  "_created": "2026-06-02T06:23:59.000Z",
  "_published": "2026-06-02T06:45:10.790Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79012542372,
      "time": 634,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7350666044"
    },
    {
      "job": 79012542355,
      "time": 664,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7350673693"
    },
    {
      "job": 79012542349,
      "time": 621,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7350662737"
    },
    {
      "job": 79012542348,
      "time": 660,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7350672557"
    },
    {
      "job": 79012542364,
      "time": 646,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7350668550"
    },
    {
      "job": 79012542375,
      "time": 841,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7350725120"
    },
    {
      "job": 79012542369,
      "time": 593,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7350653119"
    },
    {
      "job": 79012542377,
      "time": 773,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7350704957"
    },
    {
      "job": 79011616870,
      "time": 449,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350497846"
    },
    {
      "job": 79012542323,
      "time": 173,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79012542343,
      "time": 965,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7350759319"
    },
    {
      "job": 79012542358,
      "time": 884,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7350736951"
    },
    {
      "job": 79012542356,
      "time": 911,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7350744350"
    }
  ],
  "_buildurl": "https://github.com/r-universe/google/actions/runs/26802338646",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/google/imt",
  "_commit": {
    "id": "8f96307782ab64c6cd12f923821d3b2bc3257659",
    "author": "Ignacio Martinez <martinezig@google.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #10 from yich1zhang/patch-3\n\nAllow optional no input of covariates and treatment when impact measurement is not of interest.",
    "time": 1762271357
  },
  "_maintainer": {
    "name": "Ignacio Martinez",
    "email": "martinezig@google.com",
    "login": "ignacio82",
    "mastodon": "@ignacio@mastodon.social",
    "description": "",
    "uuid": 1833309,
    "orcid": "0000-0002-3721-8172"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "vizdraws",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "google",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "ignacio82",
      "count": 34,
      "uuid": 1833309
    },
    {
      "user": "yich1zhang",
      "count": 14,
      "uuid": 131820647
    },
    {
      "user": "andrjohns",
      "count": 1,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 1342004,
    "type": "organization",
    "name": "Google",
    "description": "Google ❤️ Open Source"
  },
  "_downloads": {
    "count": 130,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/imt"
  },
  "_devurl": "https://github.com/google/imt",
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/imt.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/google/imt",
  "_realowner": "google",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-09-02"
    }
  ],
  "_exports": [
    "%>%",
    "balancePlot",
    "basie",
    "blm",
    "calculateDIDEffect",
    "calculateEffectSizes",
    "checkBaseline",
    "cleanData",
    "countMissing",
    "createData",
    "credibleInterval",
    "fit",
    "getStanParameter",
    "hedgesG",
    "hurdleLogNormal",
    "latentLogit",
    "logit",
    "mcmcChecks",
    "metaAnalysis",
    "negativeBinomial",
    "randomize",
    "randomizer"
  ],
  "_help": [
    {
      "page": "dot-combineColumns",
      "title": "Combine and Unite Columns",
      "topics": [
        ".combineColumns"
      ]
    },
    {
      "page": "dot-randomize_internal",
      "title": "Add a Random Treatment Indicator Column to a Data Frame",
      "topics": [
        ".randomize_internal"
      ]
    },
    {
      "page": "balancePlot",
      "title": "Create a Baseline Balance Plot.",
      "topics": [
        "balancePlot"
      ]
    },
    {
      "page": "basie",
      "title": "Computes the BASIE (BAyeSian Interpretation of Estimates) posterior distribution",
      "topics": [
        "basie"
      ]
    },
    {
      "page": "blm",
      "title": "Bayesian Linear Model Factory",
      "topics": [
        "blm"
      ]
    },
    {
      "page": "calcProb",
      "title": "Calculate Probability of Posterior Draws Falling Within a Range",
      "topics": [
        "calcProb"
      ]
    },
    {
      "page": "calculateDIDEffect",
      "title": "Calculate Difference-in-Differences Effect",
      "topics": [
        "calculateDIDEffect"
      ]
    },
    {
      "page": "calculateEffectSizes",
      "title": "Calculate Effect Sizes for Treatment vs. Control",
      "topics": [
        "calculateEffectSizes"
      ]
    },
    {
      "page": "checkBaseline",
      "title": "Check Baseline Equivalency.",
      "topics": [
        "checkBaseline"
      ]
    },
    {
      "page": "cleanData",
      "title": "Cleans and prepares data for analysis",
      "topics": [
        "cleanData"
      ]
    },
    {
      "page": "countMissing",
      "title": "Count missing values (NA) in a dataframe",
      "topics": [
        "countMissing"
      ]
    },
    {
      "page": "coxsIndex",
      "title": "Cox's Proportional Hazards Index (Cox's C)",
      "topics": [
        "coxsIndex"
      ]
    },
    {
      "page": "createData",
      "title": "Converts a dataframe into a named list to provide data to a Stan model",
      "topics": [
        "createData"
      ]
    },
    {
      "page": "credibleInterval",
      "title": "Calculate credible interval from MCMC draws",
      "topics": [
        "credibleInterval"
      ]
    },
    {
      "page": "fit",
      "title": "Fits Stan model.",
      "topics": [
        "fit"
      ]
    },
    {
      "page": "getStanParameter",
      "title": "Extracts parameter from Stan model.",
      "topics": [
        "getStanParameter"
      ]
    },
    {
      "page": "hedgesG",
      "title": "Hedges' g Effect Size with Pooled Standard Deviation",
      "topics": [
        "hedgesG"
      ]
    },
    {
      "page": "hurdleLogNormal",
      "title": "Bayesian Hurdle Log-Normal Model Factory",
      "topics": [
        "hurdleLogNormal"
      ]
    },
    {
      "page": "logit",
      "title": "Bayesian Logit Model Factory",
      "topics": [
        "logit"
      ]
    },
    {
      "page": "logitRng",
      "title": "Calculate logit link and sample from binomial distribution",
      "topics": [
        "logitRng"
      ]
    },
    {
      "page": "mcmcChecks",
      "title": "MCMC Checks",
      "topics": [
        "mcmcChecks"
      ]
    },
    {
      "page": "metaAnalysis",
      "title": "Create a Meta-Analysis Object Using Data From Previous Studies",
      "topics": [
        "metaAnalysis"
      ]
    },
    {
      "page": "negativeBinomial",
      "title": "Bayesian Negative Binomial Model Factory",
      "topics": [
        "negativeBinomial"
      ]
    },
    {
      "page": "pointEstimate",
      "title": "Calculate Point Estimate (Median or Mean) as Percentage",
      "topics": [
        "pointEstimate"
      ]
    },
    {
      "page": "randomize",
      "title": "Randomly Assign Treatment While Controlling for Baseline Equivalency",
      "topics": [
        "randomize"
      ]
    },
    {
      "page": "randomizer",
      "title": "Randomization Class for Treatment Assignment",
      "topics": [
        "randomizer"
      ]
    },
    {
      "page": "validate_logical_vector",
      "title": "Validate a Logical Subgroup Vector",
      "topics": [
        "validate_logical_vector"
      ]
    }
  ],
  "_pkglogo": "https://github.com/google/imt/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/google/imt/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "bayesplot",
    "BH",
    "bslib",
    "cachem",
    "callr",
    "caret",
    "checkmate",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "desc",
    "diagram",
    "digest",
    "distributional",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "globals",
    "glue",
    "gower",
    "gridExtra",
    "gtable",
    "hardhat",
    "highr",
    "htmltools",
    "htmlwidgets",
    "inline",
    "ipred",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "loo",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "pROC",
    "processx",
    "prodlim",
    "progressr",
    "proxy",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "recipes",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstan",
    "rstantools",
    "S7",
    "sass",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vizdraws",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "imt",
  "_universes": [
    "google",
    "ignacio82"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-02T06:31:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "7dc1a19e27377b4bcbd9a3ff645af00e92cb3d90253e62743e18675732d06104",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-02T06:31:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "36a81552c1c5fd7fa724c46d17a4a9aaf5abe8b609fa1c4bff3148d3df9abcf0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-02T06:31:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "e5715eb14a7f94b2e809f64ea7f1b4399448d00236937821a3411c31855a17c5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-02T06:31:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "25bd33c1def1e0ef9c6fc3f21c62c7c2af264ea12ebf98c1b4829732938febea",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-02T06:30:40.000Z",
      "arch": "aarch64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "5ddbdb19bf64b5c5a36fc36c61f32a9ca2bcb63e83fd60b91fd7d4a0ba65ec1f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-02T06:32:08.000Z",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "e99a960f4e9610857d4ab61f0cac3fc92cea2fb8166e2cbd03753a1a79c654e7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-02T06:30:46.000Z",
      "arch": "aarch64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "324a4c1240328f12357e0d03208b69b2fd67b66437aea8c1a6f0a1234db07d18",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-02T06:31:43.000Z",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "8c9c210111589b160d5a0821a4df7ae15b2c9bcd4555795c2dfb0fdd50f4e31e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-02T06:31:18.000Z",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "72aad5fa0488ec25a539d5ee76b771a7e6af87cb4f9ff27002bc0cfac39f2fa6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-02T06:30:28.000Z",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "ee7f5df2ac5175e6283f1aefedb5c8b401f9cd32ac0705b7faabfd8e5572812f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-02T06:30:27.000Z",
      "arch": "x86_64",
      "commit": "8f96307782ab64c6cd12f923821d3b2bc3257659",
      "fileid": "49ba7db0d323cf3510a06d9c16502b6b71ae39f020de1f860bf13ed8d8ca2276",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/google/actions/runs/26802338646"
    }
  ]
}