{
  "_id": "6a10229eacfb0bcc41c8ccb9",
  "Package": "NAP",
  "Type": "Package",
  "Title": "Non-Local Alternative Priors in Psychology",
  "Version": "1.1",
  "Date": "2022-1-6",
  "Authors@R": "c(person(\"Sandipan\", \"Pramanik\", email = \"sandy@stat.tamu.edu\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Valen E.\", \"Johnson\", role = \"aut\"))",
  "Author": "Sandipan Pramanik [aut, cre], Valen E. Johnson [aut]",
  "Maintainer": "Sandipan Pramanik <sandy@stat.tamu.edu>",
  "Description": "Conducts Bayesian Hypothesis tests of a point null\nhypothesis against a two-sided alternative using Non-local\nAlternative Prior (NAP) for one- and two-sample z- and t-tests\n(Pramanik and Johnson, 2022). Under the alternative, the NAP is\nassumed on the standardized effects size in one-sample tests\nand on their differences in two-sample tests. The package\nconsiders two types of NAP densities: (1) the normal moment\nprior, and (2) the composite alternative. In fixed design\ntests, the functions calculate the Bayes factors and the\nexpected weight of evidence for varied effect size and sample\nsize. The package also provides a sequential testing framework\nusing the Sequential Bayes Factor (SBF) design. The functions\ncalculate the operating characteristics (OC) and the average\nsample number (ASN), and also conducts sequential tests for a\nsequentially observed data.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 05:13:07 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2022-01-06 11:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/NAP",
  "RemoteRef": "HEAD",
  "RemoteSha": "81223255577cc31650f3a219a8c464b36f075047",
  "MD5sum": "848f24f99fed075af406e512e9bb9d91",
  "_user": "cran",
  "_type": "src",
  "_file": "NAP_1.1.tar.gz",
  "_fileid": "5f98195a3d057ebce41701c443f9e7b4cd92bd35e3c0117c33f8a7bb8c7e52a8",
  "_filesize": 316689,
  "_sha256": "5f98195a3d057ebce41701c443f9e7b4cd92bd35e3c0117c33f8a7bb8c7e52a8",
  "_created": "2026-05-14T05:13:07.000Z",
  "_published": "2026-05-22T09:32:14.963Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77353383062,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6987645719"
    },
    {
      "job": 77353383061,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987643921"
    },
    {
      "job": 77353382633,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987624992"
    },
    {
      "job": 77353383149,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157338766"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25783508791",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/NAP",
  "_commit": {
    "id": "81223255577cc31650f3a219a8c464b36f075047",
    "author": "Sandipan Pramanik <sandy@stat.tamu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1\n",
    "time": 1641468602
  },
  "_maintainer": {
    "name": "Sandipan Pramanik",
    "email": "sandy@stat.tamu.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 159,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NAP"
  },
  "_mentions": 17,
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NAP.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2021-11-04"
    },
    {
      "version": "1.1",
      "date": "2022-01-06"
    }
  ],
  "_exports": [
    "fixedHajnal.onet_es",
    "fixedHajnal.onet_n",
    "fixedHajnal.onez_es",
    "fixedHajnal.onez_n",
    "fixedHajnal.twot_es",
    "fixedHajnal.twot_n",
    "fixedHajnal.twoz_es",
    "fixedHajnal.twoz_n",
    "fixedNAP.onet_es",
    "fixedNAP.onet_n",
    "fixedNAP.onez_es",
    "fixedNAP.onez_n",
    "fixedNAP.twot_es",
    "fixedNAP.twot_n",
    "fixedNAP.twoz_es",
    "fixedNAP.twoz_n",
    "HajnalBF_onet",
    "HajnalBF_onez",
    "HajnalBF_twot",
    "HajnalBF_twoz",
    "implement.SBFHajnal_onet",
    "implement.SBFHajnal_onez",
    "implement.SBFHajnal_twot",
    "implement.SBFHajnal_twoz",
    "implement.SBFNAP_onet",
    "implement.SBFNAP_onez",
    "implement.SBFNAP_twot",
    "implement.SBFNAP_twoz",
    "mycombine.fixed",
    "mycombine.seq.onesample",
    "mycombine.seq.twosample",
    "NAPBF_onet",
    "NAPBF_onez",
    "NAPBF_twot",
    "NAPBF_twoz",
    "SBFHajnal_onet",
    "SBFHajnal_onez",
    "SBFHajnal_twot",
    "SBFHajnal_twoz",
    "SBFNAP_onet",
    "SBFNAP_onez",
    "SBFNAP_twot",
    "SBFNAP_twoz"
  ],
  "_help": [
    {
      "page": "NAP-package",
      "title": "Non-Local Alternative Priors in Psychology",
      "topics": [
        "NAP-package",
        "NAP"
      ]
    },
    {
      "page": "fixedHajnal.onet_es",
      "title": "Fixed-design one-sample t-tests using Hajnal's ratio for varied sample sizes",
      "topics": [
        "fixedHajnal.onet_es"
      ]
    },
    {
      "page": "fixedHajnal.onet_n",
      "title": "Fixed-design one-sample t-tests using Hajnal's ratio and a pre-fixed sample size",
      "topics": [
        "fixedHajnal.onet_n"
      ]
    },
    {
      "page": "fixedHajnal.onez_es",
      "title": "Fixed-design one-sample z-tests using Hajnal's ratio for varied sample sizes",
      "topics": [
        "fixedHajnal.onez_es"
      ]
    },
    {
      "page": "fixedHajnal.onez_n",
      "title": "Fixed-design one-sample z-tests using Hajnal's ratio and a pre-fixed sample size",
      "topics": [
        "fixedHajnal.onez_n"
      ]
    },
    {
      "page": "fixedHajnal.twot_es",
      "title": "Fixed-design two-sample t-tests with NAP for varied sample sizes",
      "topics": [
        "fixedHajnal.twot_es"
      ]
    },
    {
      "page": "fixedHajnal.twot_n",
      "title": "Fixed-design two-sample t-tests using Hajnal's ratio and a pre-fixed sample size",
      "topics": [
        "fixedHajnal.twot_n"
      ]
    },
    {
      "page": "fixedHajnal.twoz_es",
      "title": "Fixed-design two-sample z-tests with NAP for varied sample sizes",
      "topics": [
        "fixedHajnal.twoz_es"
      ]
    },
    {
      "page": "fixedHajnal.twoz_n",
      "title": "Fixed-design two-sample z-tests using Hajnal's ratio and a pre-fixed sample size",
      "topics": [
        "fixedHajnal.twoz_n"
      ]
    },
    {
      "page": "fixedNAP.onet_es",
      "title": "Fixed-design one-sample t-tests with NAP for varied sample sizes",
      "topics": [
        "fixedNAP.onet_es"
      ]
    },
    {
      "page": "fixedNAP.onet_n",
      "title": "Fixed-design one-sample t-tests with NAP and a pre-fixed sample size",
      "topics": [
        "fixedNAP.onet_n"
      ]
    },
    {
      "page": "fixedNAP.onez_es",
      "title": "Fixed-design one-sample z-tests with NAP for varied sample sizes",
      "topics": [
        "fixedNAP.onez_es"
      ]
    },
    {
      "page": "fixedNAP.onez_n",
      "title": "Fixed-design one-sample z-tests with NAP and a pre-fixed sample size",
      "topics": [
        "fixedNAP.onez_n"
      ]
    },
    {
      "page": "fixedNAP.twot_es",
      "title": "Fixed-design two-sample t-tests with NAP for varied sample sizes",
      "topics": [
        "fixedNAP.twot_es"
      ]
    },
    {
      "page": "fixedNAP.twot_n",
      "title": "Fixed-design two-sample t-tests with NAP and a pre-fixed sample size",
      "topics": [
        "fixedNAP.twot_n"
      ]
    },
    {
      "page": "fixedNAP.twoz_es",
      "title": "Fixed-design two-sample z-tests with NAP for varied sample sizes",
      "topics": [
        "fixedNAP.twoz_es"
      ]
    },
    {
      "page": "fixedNAP.twoz_n",
      "title": "Fixed-design two-sample z-tests with NAP and a pre-fixed sample size",
      "topics": [
        "fixedNAP.twoz_n"
      ]
    },
    {
      "page": "HajnalBF_onet",
      "title": "Hajnal's ratio in one-sample t tests",
      "topics": [
        "HajnalBF_onet"
      ]
    },
    {
      "page": "HajnalBF_onez",
      "title": "Hajnal's ratio in one-sample z tests",
      "topics": [
        "HajnalBF_onez"
      ]
    },
    {
      "page": "HajnalBF_twot",
      "title": "Hajnal's ratio in two-sample t tests",
      "topics": [
        "HajnalBF_twot"
      ]
    },
    {
      "page": "HajnalBF_twoz",
      "title": "Hajnal's ratio in two-sample z tests",
      "topics": [
        "HajnalBF_twoz"
      ]
    },
    {
      "page": "implement.SBFHajnal_onet",
      "title": "Implement Sequential Bayes Factor using the Hajnal's ratio for one-sample t-tests",
      "topics": [
        "implement.SBFHajnal_onet"
      ]
    },
    {
      "page": "implement.SBFHajnal_onez",
      "title": "Implement Sequential Bayes Factor using the Hajnal's ratio for one-sample z-tests",
      "topics": [
        "implement.SBFHajnal_onez"
      ]
    },
    {
      "page": "implement.SBFHajnal_twot",
      "title": "Implement Sequential Bayes Factor using the NAP for two-sample t-tests",
      "topics": [
        "implement.SBFHajnal_twot"
      ]
    },
    {
      "page": "implement.SBFHajnal_twoz",
      "title": "Implement Sequential Bayes Factor using the NAP for two-sample z-tests",
      "topics": [
        "implement.SBFHajnal_twoz"
      ]
    },
    {
      "page": "implement.SBFNAP_onet",
      "title": "Implement Sequential Bayes Factor using the NAP for one-sample t-tests",
      "topics": [
        "implement.SBFNAP_onet"
      ]
    },
    {
      "page": "implement.SBFNAP_onez",
      "title": "Implement Sequential Bayes Factor using the NAP for one-sample z-tests",
      "topics": [
        "implement.SBFNAP_onez"
      ]
    },
    {
      "page": "implement.SBFNAP_twot",
      "title": "Implement Sequential Bayes Factor using the NAP for two-sample t-tests",
      "topics": [
        "implement.SBFNAP_twot"
      ]
    },
    {
      "page": "implement.SBFNAP_twoz",
      "title": "Implement Sequential Bayes Factor using the NAP for two-sample z-tests",
      "topics": [
        "implement.SBFNAP_twoz"
      ]
    },
    {
      "page": "mycombine.fixed",
      "title": "Helper function",
      "topics": [
        "mycombine.fixed"
      ]
    },
    {
      "page": "mycombine.seq.onesample",
      "title": "Helper function",
      "topics": [
        "mycombine.seq.onesample"
      ]
    },
    {
      "page": "mycombine.seq.twosample",
      "title": "Helper function",
      "topics": [
        "mycombine.seq.twosample"
      ]
    },
    {
      "page": "NAPBF_onet",
      "title": "Bayes factor in favor of the NAP in one-sample t tests",
      "topics": [
        "NAPBF_onet"
      ]
    },
    {
      "page": "NAPBF_onez",
      "title": "Bayes factor in favor of the NAP in one-sample z tests",
      "topics": [
        "NAPBF_onez"
      ]
    },
    {
      "page": "NAPBF_twot",
      "title": "Bayes factor in favor of the NAP in two-sample t tests",
      "topics": [
        "NAPBF_twot"
      ]
    },
    {
      "page": "NAPBF_twoz",
      "title": "Bayes factor in favor of the NAP in two-sample z tests",
      "topics": [
        "NAPBF_twoz"
      ]
    },
    {
      "page": "SBFHajnal_onet",
      "title": "Sequential Bayes Factor using the Hajnal's ratio for one-sample t-tests",
      "topics": [
        "SBFHajnal_onet"
      ]
    },
    {
      "page": "SBFHajnal_onez",
      "title": "Sequential Bayes Factor using the Hajnal's ratio for one-sample z-tests",
      "topics": [
        "SBFHajnal_onez"
      ]
    },
    {
      "page": "SBFHajnal_twot",
      "title": "Sequential Bayes Factor using the Hajnal's ratio for two-sample t-tests",
      "topics": [
        "SBFHajnal_twot"
      ]
    },
    {
      "page": "SBFHajnal_twoz",
      "title": "Sequential Bayes Factor using the Hajnal's ratio for two-sample z-tests",
      "topics": [
        "SBFHajnal_twoz"
      ]
    },
    {
      "page": "SBFNAP_onet",
      "title": "Sequential Bayes Factor using the NAP for one-sample t-tests",
      "topics": [
        "SBFNAP_onet"
      ]
    },
    {
      "page": "SBFNAP_onez",
      "title": "Sequential Bayes Factor using the NAP for one-sample z-tests",
      "topics": [
        "SBFNAP_onez"
      ]
    },
    {
      "page": "SBFNAP_twot",
      "title": "Sequential Bayes Factor using the NAP for two-sample t-tests",
      "topics": [
        "SBFNAP_twot"
      ]
    },
    {
      "page": "SBFNAP_twoz",
      "title": "Sequential Bayes Factor using the NAP for two-sample z-tests",
      "topics": [
        "SBFNAP_twoz"
      ]
    }
  ],
  "_rundeps": [
    "codetools",
    "doParallel",
    "foreach",
    "iterators"
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "nap",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-14T05:15:05.000Z",
      "distro": "noble",
      "commit": "81223255577cc31650f3a219a8c464b36f075047",
      "fileid": "3a8edd48f531a64c72e6e55828fdb9f1c3f43d891491a0d1ae3400caac7cd087",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25783508791"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-14T05:14:59.000Z",
      "distro": "noble",
      "commit": "81223255577cc31650f3a219a8c464b36f075047",
      "fileid": "6061e42846280f0272ed0dc3d7dca7d5c43401a3732988c61e6e44f43d9c79d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25783508791"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-05-22T09:32:01.000Z",
      "commit": "81223255577cc31650f3a219a8c464b36f075047",
      "fileid": "7802d688283ab203473260bacb8b1a143ed849c1f465ece2fa098b617f6cb30d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25783508791"
    }
  ]
}