{
  "_id": "6a2512694b233be19838a463",
  "Package": "retrodesign",
  "Type": "Package",
  "Title": "Tools for Type S (Sign) and Type M (Magnitude) Errors",
  "Version": "0.2.2",
  "Authors@R": "c(\nperson(\"Andrew\", \"Timm\", email = \"timmandrew1@gmail.com\", role = c(\"cre\",\"aut\")),\nperson(\"Andrew\", \"Gelman\", role = c(\"ctb\", \"cph\")),\nperson(\"John\", \"Carlin\", role = c(\"ctb\", \"cph\")),\nperson(\"Martijn\", \"Weterings\", role = c(\"ctb\"))\n)",
  "Description": "Provides tools for working with Type S (Sign) and Type M\n(Magnitude) errors, as proposed in Gelman and Tuerlinckx (2000)\n<doi:10.1007/s001800000040> and Gelman & Carlin (2014)\n<doi:10.1177/1745691614551642>. In addition to simply\ncalculating the probability of Type S/M error, the package\nincludes functions for calculating these errors across a\nvariety of effect sizes for comparison, and recommended sample\nsize given \"tolerances\" for Type S/M errors. To improve the\nspeed of these calculations, closed forms solutions for the\nprobability of a Type S/M error from Lu, Qiu, and Deng (2018)\n<doi:10.1111/bmsp.12132> are implemented. As of 1.0.0, this\nincludes support only for simple research designs. See the\npackage vignette for a fuller exposition on how Type S/M errors\narise in research, and how to analyze them using the type of\ndesign analysis proposed in the above papers.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/andytimm/retrodesign",
  "BugReports": "https://github.com/andytimm/retrodesign/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "Repository": "https://andytimm.r-universe.dev",
  "Date/Publication": "2024-03-28 01:06:05 UTC",
  "RemoteUrl": "https://github.com/andytimm/retrodesign",
  "RemoteRef": "HEAD",
  "RemoteSha": "ad3ea5592fa796359675a7248e7273b93f4571e0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 06:38:09 UTC",
    "User": "root"
  },
  "Author": "Andrew Timm [cre, aut],\nAndrew Gelman [ctb, cph],\nJohn Carlin [ctb, cph],\nMartijn Weterings [ctb]",
  "Maintainer": "Andrew Timm <timmandrew1@gmail.com>",
  "MD5sum": "98acc641d0c80eebf226453e0baae104",
  "_user": "andytimm",
  "_type": "src",
  "_file": "retrodesign_0.2.2.tar.gz",
  "_fileid": "6fdba77eff6be61cc0b9f28e6cea1aa74e157c6db074c331afce21e30d6f5de5",
  "_filesize": 326385,
  "_sha256": "6fdba77eff6be61cc0b9f28e6cea1aa74e157c6db074c331afce21e30d6f5de5",
  "_created": "2026-06-07T06:38:09.000Z",
  "_published": "2026-06-07T06:40:41.130Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79938023723,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461539337"
    },
    {
      "job": 79938023732,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461539333"
    },
    {
      "job": 79938023726,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461536188"
    },
    {
      "job": 79938023734,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461538573"
    },
    {
      "job": 79937884678,
      "time": 150,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461524828"
    },
    {
      "job": 79938023731,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461536686"
    },
    {
      "job": 79938023728,
      "time": 70,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461533966"
    },
    {
      "job": 79938023738,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461533641"
    },
    {
      "job": 79938023722,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461534182"
    }
  ],
  "_buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/andytimm/retrodesign",
  "_commit": {
    "id": "ad3ea5592fa796359675a7248e7273b93f4571e0",
    "author": "Andrew Timm <timmandrew1@gmail.com>",
    "committer": "Andrew Timm <timmandrew1@gmail.com>",
    "message": "version bump\n",
    "time": 1711587965
  },
  "_maintainer": {
    "name": "Andrew Timm",
    "email": "timmandrew1@gmail.com",
    "login": "andytimm",
    "description": "Senior Data Scientist at Grow Progress, building our platform for efficient message testing at scale. Former campaign field/data staff.",
    "uuid": 12973310
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "andytimm",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "andytimm",
      "count": 65,
      "uuid": 12973310
    }
  ],
  "_userbio": {
    "uuid": 12973310,
    "type": "user",
    "name": "Andrew Timm",
    "description": "Senior Data Scientist at Grow Progress, building our platform for efficient message testing at scale. Former campaign field/data staff."
  },
  "_downloads": {
    "count": 147,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/retrodesign"
  },
  "_devurl": "https://github.com/andytimm/retrodesign",
  "_searchresults": 50,
  "_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/retrodesign.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/andytimm/retrodesign",
  "_realowner": "andytimm",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-03-08"
    },
    {
      "version": "0.2.0",
      "date": "2023-08-24"
    },
    {
      "version": "0.2.1",
      "date": "2023-11-03"
    },
    {
      "version": "0.2.2",
      "date": "2024-03-28"
    }
  ],
  "_exports": [
    "retro_design",
    "retro_design_closed_form",
    "retrodesign",
    "sim_plot",
    "type_m",
    "type_s"
  ],
  "_help": [
    {
      "page": "retro_design",
      "title": "retro_design: Calculates Power, Type S, and Type M error",
      "topics": [
        "retro_design"
      ]
    },
    {
      "page": "retro_design_closed_form",
      "title": "retro_design_closed_form: Calculates Power, Type S, and Type M error",
      "topics": [
        "retro_design_closed_form"
      ]
    },
    {
      "page": "retro_design_closed_form.list",
      "title": "List retro_design_closed_form",
      "topics": [
        "retro_design_closed_form.list"
      ]
    },
    {
      "page": "retro_design_closed_form.numeric",
      "title": "Numeric retro_design_closed_form",
      "topics": [
        "retro_design_closed_form.numeric"
      ]
    },
    {
      "page": "retrodesign",
      "title": "retrodesign: Calculates Power, Type S, and Type M error",
      "topics": [
        "retrodesign"
      ]
    },
    {
      "page": "retrodesign.list",
      "title": "List retrodesign",
      "topics": [
        "retrodesign.list"
      ]
    },
    {
      "page": "retrodesign.numeric",
      "title": "Numeric retrodesign",
      "topics": [
        "retrodesign.numeric"
      ]
    },
    {
      "page": "sim_plot",
      "title": "sim_plot: visualize type S/M errors",
      "topics": [
        "sim_plot"
      ]
    },
    {
      "page": "type_m",
      "title": "type_m",
      "topics": [
        "type_m"
      ]
    },
    {
      "page": "type_m.list",
      "title": "List type_m",
      "topics": [
        "type_m.list"
      ]
    },
    {
      "page": "type_m.numeric",
      "title": "Numeric type_m",
      "topics": [
        "type_m.numeric"
      ]
    },
    {
      "page": "type_s",
      "title": "type_s",
      "topics": [
        "type_s"
      ]
    },
    {
      "page": "type_s.list",
      "title": "List type_s",
      "topics": [
        "type_s.list"
      ]
    },
    {
      "page": "type_s.numeric",
      "title": "Numeric type_s",
      "topics": [
        "type_s.numeric"
      ]
    }
  ],
  "_readme": "https://github.com/andytimm/retrodesign/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "Intro_To_retrodesign.Rmd",
      "filename": "Intro_To_retrodesign.html",
      "title": "An Introduction to Type S and M errors in Hypothesis Testing",
      "author": "Andrew Timm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "An Initial Example",
        "A Severe Example",
        "Assessing Type S/M errors when you don't have prior information",
        "So how worried should we be in more reasonable studies?",
        "Solutions outside NHST",
        "Further Reading"
      ],
      "created": "2019-01-25 19:57:35",
      "modified": "2023-10-23 01:54:34",
      "commits": 14
    }
  ],
  "_score": 5.653212513775344,
  "_indexed": true,
  "_nocasepkg": "retrodesign",
  "_universes": [
    "andytimm"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-07T06:40:10.000Z",
      "distro": "noble",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "7cffe00c9e07e9ad5f1c02aac1e573c213d562de3980ef9a1997034258307d8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-07T06:40:09.000Z",
      "distro": "noble",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "da58892f077298d565aee3ea4b540df54ab8c7adce9ab1b57754cd631ae788d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-07T06:39:44.000Z",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "621bec1ac1b174daa51e9ddb71872596d1c470984f228cfe70867c2767bf0311",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-07T06:40:04.000Z",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "3e829359437eaa372d77f2a13d26b94a207ca198635e82459854bf0cfed9d204",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-06-07T06:40:00.000Z",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "3a270a6e1f415e95e59090d8e7b996ad43b96b1e4934af0ced54041a39cd7f09",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-07T06:39:18.000Z",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "b94eaddf4065560363b6d3f805ed8fc39db920faa25cfcf9a0ea7a0005f2e404",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-07T06:39:15.000Z",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "8e63c81eb53e622565b1ba1fa955a09273c651683e11b57a540ff1e05228f98c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-07T06:39:18.000Z",
      "commit": "ad3ea5592fa796359675a7248e7273b93f4571e0",
      "fileid": "b2960823129596494e344348b5a2775944969d24f780b0bc45dce8f2ea90d875",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/27085079966"
    }
  ]
}