{
  "_id": "6a1fe7c1b401979e7343d511",
  "Package": "sate",
  "Type": "Package",
  "Title": "Scientific Analysis of Trial Errors (SATE)",
  "Version": "3.1.1",
  "Authors@R": "person(\"Barry\", \"Edwards\", email = \"bce@uga.edu\", role = c(\"aut\", \"cre\"))",
  "Description": "Bundles functions used to analyze the harmfulness of trial\nerrors in criminal trials. Functions in the Scientific Analysis\nof Trial Errors ('sate') package help users estimate the\nprobability that a jury will find a defendant guilty given\njurors' preferences for a guilty verdict and the uncertainty of\nthat estimate. Users can also compare actual and hypothetical\ntrial conditions to conduct harmful error analysis. The\nconceptual framework is discussed by Barry Edwards, A\nScientific Framework for Analyzing the Harmfulness of Trial\nErrors, UCLA Criminal Justice Law Review (2024)\n<doi:10.5070/CJ88164341> and Barry Edwards, If The Jury Only\nKnew: The Effect Of Omitted Mitigation Evidence On The\nProbability Of A Death Sentence, Virginia Journal of Social\nPolicy & the Law (2025)\n<https://vasocialpolicy.org/wp-content/uploads/2025/05/Edwards-If-The-Jury-Only-Knew.pdf>.\nThe relationship between individual jurors' verdict preferences\nand the probability that a jury returns a guilty verdict has\nbeen studied by Davis (1973) <doi:10.1037/h0033951>; MacCoun &\nKerr (1988) <doi:10.1037/0022-3514.54.1.21>, and Devine et el.\n(2001) <doi:10.1037/1076-8971.7.3.622>, among others.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 08:34:01 UTC",
    "User": "root"
  },
  "Author": "Barry Edwards [aut, cre]",
  "Maintainer": "Barry Edwards <bce@uga.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-03-05 19:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/sate",
  "RemoteRef": "HEAD",
  "RemoteSha": "ddfb1ba58dd1dc9928ef6ae33368c6f933e3e464",
  "MD5sum": "1686e34ecb9de42ee86c67cbda9723d6",
  "_user": "cran",
  "_type": "src",
  "_file": "sate_3.1.1.tar.gz",
  "_fileid": "da2b9c311b35989c15d6c4be86daa667b48212fa9dd8f78f82bcdbc444bcb05d",
  "_filesize": 250410,
  "_sha256": "da2b9c311b35989c15d6c4be86daa667b48212fa9dd8f78f82bcdbc444bcb05d",
  "_created": "2026-06-03T08:34:01.000Z",
  "_published": "2026-06-03T08:37:21.487Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79253936700,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379629117"
    },
    {
      "job": 79253936803,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379633343"
    },
    {
      "job": 79253487225,
      "time": 160,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379579427"
    },
    {
      "job": 79253936649,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379619243"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26873162040",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/sate",
  "_commit": {
    "id": "ddfb1ba58dd1dc9928ef6ae33368c6f933e3e464",
    "author": "Barry Edwards <bce@uga.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.1.1\n",
    "time": 1772739602
  },
  "_maintainer": {
    "name": "Barry Edwards",
    "email": "bce@uga.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ellipse",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "3.1.0",
      "date": "2025-11-05"
    },
    {
      "name": "3.1.1",
      "date": "2026-03-05"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 483,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sate"
  },
  "_mentions": 1,
  "_searchresults": 42,
  "_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/sate.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1.0",
      "date": "2020-03-24"
    },
    {
      "version": "2.1.0",
      "date": "2023-12-21"
    },
    {
      "version": "2.2.0",
      "date": "2024-09-11"
    },
    {
      "version": "2.2.1",
      "date": "2024-12-05"
    },
    {
      "version": "2.3.0",
      "date": "2025-02-06"
    },
    {
      "version": "2.4.0",
      "date": "2025-03-04"
    },
    {
      "version": "3.1.0",
      "date": "2025-11-05"
    },
    {
      "version": "3.1.1",
      "date": "2026-03-05"
    }
  ],
  "_exports": [
    "as.jury.point",
    "as.jury.stats",
    "basic.plot.grid",
    "compact_harm_plot",
    "compare.juror.stats",
    "compare.jury.stats",
    "deliberate",
    "deliberate.civil",
    "encode.cloud.respondent.variables",
    "get_pG_by_k",
    "graph.effect.defendant",
    "graph.estimate",
    "prob_ord_from_pool",
    "prob.ordered.verdicts",
    "select.with.strikes",
    "sim.as.jury.stats",
    "sim.compare.jury.stats",
    "state.demographic.info",
    "target.population.demographics",
    "transition.matrix",
    "transition.matrix.ordered",
    "weights_for_population"
  ],
  "_datasets": [
    {
      "name": "observed.deliberations",
      "title": "Dataset of Observed Deliberations",
      "object": "observed.deliberations",
      "class": [
        "data.frame"
      ],
      "fields": [
        "idnum",
        "prop_jurors_g",
        "jury_size",
        "guilty_verdict",
        "six_person_jury",
        "death_penalty",
        "source"
      ],
      "rows": 2382,
      "table": true,
      "tojson": true
    },
    {
      "name": "state.demographic.info",
      "title": "State Demographic Information",
      "object": "state.demographic.info",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "StateID",
        "black",
        "ba_or_more",
        "hhincome_over50k",
        "age35plus",
        "woman",
        "hispanic"
      ],
      "rows": 52,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.jury.point",
      "title": "Calculates probability a jury will find defendant guilty based on juror preferences",
      "topics": [
        "as.jury.point"
      ]
    },
    {
      "page": "as.jury.stats",
      "title": "Calculates probability a jury will find defendant guilty based on juror preferences, with standard error and confidence interval",
      "topics": [
        "as.jury.stats"
      ]
    },
    {
      "page": "basic.plot.grid",
      "title": "Creates the shell of a plot showing relationship between jury pool preferences and jury verdict probabilities",
      "topics": [
        "basic.plot.grid"
      ]
    },
    {
      "page": "compact_harm_plot",
      "title": "Creates the shell of a plot used to display estimate of harm relative to harm threshold",
      "topics": [
        "compact_harm_plot"
      ]
    },
    {
      "page": "compare.juror.stats",
      "title": "Estimates juror-level differences based on sample statistics (from survey)",
      "topics": [
        "compare.juror.stats"
      ]
    },
    {
      "page": "compare.jury.stats",
      "title": "Estimates jury-level differences based on juror-level statistics with inferential statistics",
      "topics": [
        "compare.jury.stats"
      ]
    },
    {
      "page": "deliberate",
      "title": "Deliberation function",
      "topics": [
        "deliberate"
      ]
    },
    {
      "page": "deliberate.civil",
      "title": "Deliberation function for civil trials (proposed)",
      "topics": [
        "deliberate.civil"
      ]
    },
    {
      "page": "encode.cloud.respondent.variables",
      "title": "Encodes Cloud Research respondent information in form suitable for calculating sampling weights",
      "topics": [
        "encode.cloud.respondent.variables"
      ]
    },
    {
      "page": "get_pG_by_k",
      "title": "Calculates vector of probabilities that jury with jury_n will return a guilty verdict",
      "topics": [
        "get_pG_by_k"
      ]
    },
    {
      "page": "graph.effect.defendant",
      "title": "Plots jury-level differences based on juror-level statistics with effect-on-defendant displayed",
      "topics": [
        "graph.effect.defendant"
      ]
    },
    {
      "page": "graph.estimate",
      "title": "Plots probability of a guilty verdict with confidence interval based on juror-level statistics",
      "topics": [
        "graph.estimate"
      ]
    },
    {
      "page": "observed.deliberations",
      "title": "Dataset of Observed Deliberations",
      "topics": [
        "observed.deliberations"
      ]
    },
    {
      "page": "prob_ord_from_pool",
      "title": "verdict probabilities based on jury pool sentiment for ordered verdict options.",
      "topics": [
        "prob_ord_from_pool"
      ]
    },
    {
      "page": "prob.ordered.verdicts",
      "title": "Absorption probabilities for ordered-category jury models",
      "topics": [
        "prob.ordered.verdicts"
      ]
    },
    {
      "page": "select.with.strikes",
      "title": "Generates the distribution of initial votes for guilty verdict on juries",
      "topics": [
        "select.with.strikes"
      ]
    },
    {
      "page": "sim.as.jury.stats",
      "title": "Estimates jury-level probability of guilty verdict based on juror-level statistics based on empirical data",
      "topics": [
        "sim.as.jury.stats"
      ]
    },
    {
      "page": "sim.compare.jury.stats",
      "title": "Estimates jury-level differences based on juror-level statistics using simulations based on empirical data",
      "topics": [
        "sim.compare.jury.stats"
      ]
    },
    {
      "page": "state.demographic.info",
      "title": "State Demographic Information",
      "topics": [
        "state.demographic.info"
      ]
    },
    {
      "page": "target.population.demographics",
      "title": "Looks up and returns key demographic statistics for target state to be used for calculating sample weights",
      "topics": [
        "target.population.demographics"
      ]
    },
    {
      "page": "transition.matrix",
      "title": "Creates and Returns a Transition Probability Matrix for Deliberating Criminal Jury.",
      "topics": [
        "transition.matrix"
      ]
    },
    {
      "page": "transition.matrix.ordered",
      "title": "Build column-stochastic transition matrix for ordered verdict options",
      "topics": [
        "transition.matrix.ordered"
      ]
    },
    {
      "page": "weights_for_population",
      "title": "Calculates survey weights given respondent information and target population demographics",
      "topics": [
        "weights_for_population"
      ]
    }
  ],
  "_rundeps": [
    "DBI",
    "ellipse",
    "lattice",
    "MASS",
    "Matrix",
    "minqa",
    "mitools",
    "numDeriv",
    "Rcpp",
    "RcppArmadillo",
    "survey",
    "survival"
  ],
  "_score": 1.9242792860618816,
  "_indexed": true,
  "_nocasepkg": "sate",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-06-03T08:36:03.000Z",
      "distro": "noble",
      "commit": "ddfb1ba58dd1dc9928ef6ae33368c6f933e3e464",
      "fileid": "45263d0642777afc56688304015db870fe9b78487b1e7bd892638c8faa75da7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26873162040"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-06-03T08:36:13.000Z",
      "distro": "noble",
      "commit": "ddfb1ba58dd1dc9928ef6ae33368c6f933e3e464",
      "fileid": "c4f521517d00d0cc4f5c4c184f28dd04679a317c02124dcebca5ab60c478f10e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26873162040"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.1.1",
      "date": "2026-06-03T08:36:13.000Z",
      "commit": "ddfb1ba58dd1dc9928ef6ae33368c6f933e3e464",
      "fileid": "b9c8d2836a52321d2d6ba8e38a9d760542e6c9b35b762ce365bd041170f87e41",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26873162040"
    }
  ]
}