{
  "_id": "6a10162facfb0bcc41c84518",
  "Package": "RCT",
  "Title": "Assign Treatments, Power Calculations, Balances, Impact\nEvaluation of Experiments",
  "Version": "1.2",
  "Authors@R": "person(\"Isidoro\", \"Garcia-Urquieta\", email = \"isidoro.gu@gmail.com\", \nrole =c(\"aut\", \"cre\"))",
  "Description": "Assists in the whole process of designing and evaluating\nRandomized Control Trials. Robust treatment assignment by\nstrata/blocks, that handles misfits; Power calculations of the\nminimum detectable treatment effect or minimum populations;\nBalance tables of T-test of covariates; Balance Regression:\n(treatment ~ all x variables) with F-test of null model;\nImpact_evaluation: Impact evaluation regressions. This function\ngives you the option to include control_vars, fixed effect\nvariables, cluster variables (for robust SE), multiple\nendogenous variables and multiple heterogeneous variables (to\ntest treatment effect heterogeneity) summary_statistics:\nFunction that creates a summary statistics table with\nstatistics rank observations in n groups: Creates a factor\nvariable with n groups. Each group has a min and max label\nattach to each category. Athey, Susan, and Guido W. Imbens\n(2017) <arXiv:1607.00698>.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://isidorogu.r-universe.dev",
  "Date/Publication": "2024-02-21 00:48:18 UTC",
  "RemoteUrl": "https://github.com/isidorogu/rct",
  "RemoteRef": "HEAD",
  "RemoteSha": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 08:19:16 UTC",
    "User": "root"
  },
  "Author": "Isidoro Garcia-Urquieta [aut, cre]",
  "Maintainer": "Isidoro Garcia-Urquieta <isidoro.gu@gmail.com>",
  "MD5sum": "3c4c3c67cc67b460bfa2235e93d943b2",
  "_user": "isidorogu",
  "_type": "src",
  "_file": "RCT_1.2.tar.gz",
  "_fileid": "d97006dbb3c7885e77f874ef88ad5ee8d27d44a7083ac49e03a3f08d6a79011c",
  "_filesize": 133318,
  "_sha256": "d97006dbb3c7885e77f874ef88ad5ee8d27d44a7083ac49e03a3f08d6a79011c",
  "_created": "2026-05-14T08:19:16.000Z",
  "_published": "2026-05-22T08:39:11.054Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345302191,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990223310"
    },
    {
      "job": 77345302361,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990220513"
    },
    {
      "job": 77345302337,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7010913198"
    },
    {
      "job": 77345302480,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990219400"
    },
    {
      "job": 77345302059,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990183373"
    },
    {
      "job": 77345301709,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156340924"
    },
    {
      "job": 77345302355,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990208829"
    },
    {
      "job": 77345302686,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990221875"
    },
    {
      "job": 77345302184,
      "time": 139,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990219919"
    }
  ],
  "_buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/isidorogu/rct",
  "_commit": {
    "id": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
    "author": "Isidoro <61100499+isidorogu@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #11 from isidorogu/lm_robust\n\nFixed bibentry",
    "time": 1708476498
  },
  "_maintainer": {
    "name": "Isidoro Garcia-Urquieta",
    "email": "isidoro.gu@gmail.com",
    "login": "isidorogu",
    "uuid": 61100499
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "estimatr",
      "role": "Imports"
    },
    {
      "package": "broom",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "isidorogu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "isidorogu",
      "count": 57,
      "uuid": 61100499
    },
    {
      "user": "simonpcouch",
      "count": 1,
      "uuid": 35748691
    }
  ],
  "_userbio": {
    "uuid": 61100499,
    "type": "user",
    "name": "Isidoro"
  },
  "_downloads": {
    "count": 318,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RCT"
  },
  "_mentions": 7,
  "_devurl": "https://github.com/isidorogu/rct",
  "_searchresults": 30,
  "_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/RCT.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/isidorogu/rct",
  "_realowner": "isidorogu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-04-03"
    },
    {
      "version": "1.0.1",
      "date": "2020-04-04"
    },
    {
      "version": "1.0.2",
      "date": "2020-05-13"
    },
    {
      "version": "1.0.3",
      "date": "2020-07-13"
    },
    {
      "version": "1.1",
      "date": "2021-02-01"
    },
    {
      "version": "1.1.1",
      "date": "2021-08-02"
    },
    {
      "version": "1.1.2",
      "date": "2022-05-13"
    },
    {
      "version": "1.2",
      "date": "2024-02-21"
    }
  ],
  "_exports": [
    "balance_regression",
    "balance_table",
    "impact_eval",
    "N_min",
    "ntile_label",
    "summary_statistics",
    "tau_min",
    "tau_min_probability",
    "treatment_assign"
  ],
  "_help": [
    {
      "page": "balance_regression",
      "title": "balance_regression() Runs a LPM of treatment status against all covariates (treatment~X'B).",
      "topics": [
        "balance_regression"
      ]
    },
    {
      "page": "balance_table",
      "title": "Creates balance table for the X variables across treatment status",
      "topics": [
        "balance_table"
      ]
    },
    {
      "page": "impact_eval",
      "title": "Impact Evaluation of Treatment Effects",
      "topics": [
        "impact_eval"
      ]
    },
    {
      "page": "N_min",
      "title": "N_min() computes the minimum population needed to detect difference between control group and each treatment, given a target minimum detectable effect",
      "topics": [
        "N_min"
      ]
    },
    {
      "page": "ntile_label",
      "title": "ntile_label() ranks observations in n groups, with labels",
      "topics": [
        "ntile_label"
      ]
    },
    {
      "page": "RCT",
      "title": "Designing, random assigning and evaluating Randomized Control Trials",
      "topics": [
        "RCT-package",
        "RCT"
      ]
    },
    {
      "page": "summary_statistics",
      "title": "summary_statistics() Creates summary statistics table of all numeric variables in data",
      "topics": [
        "summary_statistics"
      ]
    },
    {
      "page": "tau_min",
      "title": "tau_min() computes the minimum detectable difference between control group and each treatment",
      "topics": [
        "tau_min"
      ]
    },
    {
      "page": "tau_min_probability",
      "title": "tau_min_probability() computes the minimum detectable difference between control group and each treatment for a dichotomous variable",
      "topics": [
        "tau_min_probability"
      ]
    },
    {
      "page": "treatment_assign",
      "title": "treatment_assign() carries out robust treatment assignment by strata/blocks",
      "topics": [
        "treatment_assign"
      ]
    }
  ],
  "_readme": "https://github.com/isidorogu/rct/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "estimatr",
    "farver",
    "forcats",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "my-vignette.Rmd",
      "filename": "my-vignette.html",
      "title": "Randomized Control Trials Design, Assignment and Evaluation",
      "author": "Isidoro Garcia Urquieta",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How to use RCT",
        "Randomized Control Trials Theory",
        "Selection Bias and Random Assignment",
        "Balance tests",
        "Testing for impact",
        "Functions in library to design a RCT",
        "1. Get data in which you want to randomly assign treatment",
        "2. Decide the share of observations that will go to treatment",
        "3. Decide which variables to use for strata building",
        "4. Random Assignment",
        "5 Impact evaluation"
      ],
      "created": "2020-03-23 06:17:18",
      "modified": "2021-01-31 22:21:12",
      "commits": 6
    }
  ],
  "_score": 5.799340549453582,
  "_indexed": true,
  "_nocasepkg": "rct",
  "_universes": [
    "isidorogu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-14T08:21:36.000Z",
      "distro": "noble",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "628d05103322a8bfc83df6428ec0cfbe5cc399d4f16d354f019d8f9f4fa75a80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-14T08:21:27.000Z",
      "distro": "noble",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "77e9c0f5eead432099539892dfce0002eff1881f3e8551c708145e0c39e6a749",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-15T05:47:57.000Z",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "a28251dbc2f5dea0be6c03f24a50c91d4c08e6697b8fb21ecd1a4d92bb655d15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-14T08:21:27.000Z",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "66ac09a2fb9cc3b95a9c311dbb9a8526ab93a67aa61787ac81994b52049d5161",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-14T08:20:37.000Z",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "37444a065af05dfca400268c759fece492dada3dc1fccbd55bd941c77976f586",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-14T08:21:23.000Z",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "4926c83113f39cac7f79f88b9f6d459ee39953e71b8e15231fc8ed9a6bcf70d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-14T08:21:04.000Z",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "4f67031ec4897cb61ba1b8291f1d052edee4fc8640ab73f2b36f174d547de635",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-05-22T08:38:54.000Z",
      "commit": "be7ddc378825bf9d60b64aa28ad2fa538b2c17fe",
      "fileid": "18e3ab68d2d421d6ee896765384deccce2818b4e60149a2f7f3601f70e2487f0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/isidorogu/actions/runs/25849579043"
    }
  ]
}