{
  "_id": "6a102720acfb0bcc41c8fe6a",
  "Package": "bain",
  "Type": "Package",
  "Title": "Bayes Factors for Informative Hypotheses",
  "Version": "0.2.11",
  "Authors@R": "c(\nperson(c(\"Xin\"), \"Gu\", role = c(\"aut\"), email = \"guxin57@hotmail.com\"),\nperson(c(\"Herbert\"), \"Hoijtink\", role = c(\"aut\"), email = \"h.hoijtink@uu.nl\"),\nperson(c(\"Joris\"), \"Mulder\", role = c(\"aut\"), email = \"jomulder@gmail.com\"),\nperson(c(\"Caspar\", \"J\"), \"van Lissa\", role = c(\"aut\", \"cre\"), email = \"c.j.vanlissa@tilburguniversity.edu\"),\nperson(c(\"Van Zundert\"), \"Camiel\", role = \"ctb\"),\nperson(c(\"Jeff\"), \"Jones\", role = \"ctb\"),\nperson(c(\"Niels\"), \"Waller\", role = \"ctb\")\n)",
  "Description": "Computes approximated adjusted fractional Bayes factors\nfor equality, inequality, and about equality constrained\nhypotheses. For a tutorial on this method, see Hoijtink,\nMulder, van Lissa, & Gu, (2019) <doi:10.1037/met0000201>. For\napplications in structural equation modeling, see: Van Lissa,\nGu, Mulder, Rosseel, Van Zundert, & Hoijtink, (2021)\n<doi:10.1080/10705511.2020.1745644>. For the statistical\nunderpinnings, see Gu, Mulder, and Hoijtink (2018)\n<doi:10.1111/bmsp.12110>; Hoijtink, Gu, & Mulder, J. (2019)\n<doi:10.1111/bmsp.12145>; Hoijtink, Gu, Mulder, & Rosseel,\n(2019) <doi:10.31234/osf.io/q6h5w>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://informative-hypotheses.sites.uu.nl/software/bain/",
  "BugReports": "https://github.com/cjvanlissa/bain/",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Repository": "https://cjvanlissa.r-universe.dev",
  "Date/Publication": "2024-06-12 11:05:56 UTC",
  "RemoteUrl": "https://github.com/cjvanlissa/bain",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
  "Packaged": {
    "Date": "2026-05-13 08:40:56 UTC",
    "User": "root"
  },
  "Author": "Xin Gu [aut],\nHerbert Hoijtink [aut],\nJoris Mulder [aut],\nCaspar J van Lissa [aut, cre],\nVan Zundert Camiel [ctb],\nJeff Jones [ctb],\nNiels Waller [ctb]",
  "Maintainer": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
  "MD5sum": "099f5daab7929afb95f1d78a8d11b572",
  "_user": "cjvanlissa",
  "_type": "src",
  "_file": "bain_0.2.11.tar.gz",
  "_fileid": "c83f21404e1bd06cf3520e69bafc88da83a125281cd4a32bd41c5b054c72af43",
  "_filesize": 703345,
  "_sha256": "c83f21404e1bd06cf3520e69bafc88da83a125281cd4a32bd41c5b054c72af43",
  "_created": "2026-05-13T08:40:56.000Z",
  "_published": "2026-05-22T09:51:28.312Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356219614,
      "time": 224,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965494571"
    },
    {
      "job": 77356219704,
      "time": 255,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965504632"
    },
    {
      "job": 77356220431,
      "time": 210,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965489949"
    },
    {
      "job": 77356219968,
      "time": 262,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965508761"
    },
    {
      "job": 77356220463,
      "time": 228,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965495918"
    },
    {
      "job": 77356220001,
      "time": 384,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965544959"
    },
    {
      "job": 77356220108,
      "time": 229,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965496049"
    },
    {
      "job": 77356219730,
      "time": 403,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965551697"
    },
    {
      "job": 77356219177,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965419753"
    },
    {
      "job": 77356219302,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157684187"
    },
    {
      "job": 77356219803,
      "time": 409,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965553386"
    },
    {
      "job": 77356219659,
      "time": 397,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965549131"
    },
    {
      "job": 77356219863,
      "time": 339,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965530991"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cjvanlissa/bain",
  "_commit": {
    "id": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
    "author": "cjvanlissa <c.j.vanlissa@tilburguniversity.edu>",
    "committer": "cjvanlissa <c.j.vanlissa@tilburguniversity.edu>",
    "message": "add rhub\n",
    "time": 1718190356
  },
  "_maintainer": {
    "name": "Caspar J van Lissa",
    "email": "c.j.vanlissa@tilburguniversity.edu",
    "login": "cjvanlissa",
    "uuid": 11941251
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "lavaan",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cjvanlissa",
  "_selfowned": true,
  "_usedby": 6,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "herberthoijtink",
      "count": 50,
      "uuid": 44405673
    },
    {
      "user": "cjvanlissa",
      "count": 30,
      "uuid": 11941251
    },
    {
      "user": "cvzundert",
      "count": 3,
      "uuid": 33832983
    },
    {
      "user": "xingu123",
      "count": 1,
      "uuid": 39527992
    }
  ],
  "_userbio": {
    "uuid": 11941251,
    "type": "user",
    "name": "C. J. van Lissa",
    "description": "Developmental datascientist, studying mothers' and fathers' unique roles in children's socio-emotional development."
  },
  "_downloads": {
    "count": 4485,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bain"
  },
  "_devurl": "https://github.com/cjvanlissa/bain",
  "_searchresults": 120,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bain.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cjvanlissa/bain",
  "_realowner": "cjvanlissa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2019-02-06"
    },
    {
      "version": "0.2.1",
      "date": "2019-02-08"
    },
    {
      "version": "0.2.2",
      "date": "2019-09-26"
    },
    {
      "version": "0.2.3",
      "date": "2019-12-04"
    },
    {
      "version": "0.2.4",
      "date": "2020-03-09"
    },
    {
      "version": "0.2.6",
      "date": "2021-09-03"
    },
    {
      "version": "0.2.7",
      "date": "2021-11-26"
    },
    {
      "version": "0.2.8",
      "date": "2021-12-06"
    },
    {
      "version": "0.2.9",
      "date": "2023-09-06"
    },
    {
      "version": "0.2.10",
      "date": "2023-09-27"
    },
    {
      "version": "0.2.11",
      "date": "2024-06-14"
    }
  ],
  "_exports": [
    "bain",
    "bain_sensitivity",
    "get_estimates",
    "pbf",
    "seBeta",
    "t_test"
  ],
  "_datasets": [
    {
      "name": "kuiper2013",
      "title": "The Effect of Prior Interaction on Trust",
      "object": "kuiper2013",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Study",
        "beta",
        "vi",
        "n"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "sesamesim",
      "title": "Simulated Sesame Street Data",
      "object": "sesamesim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "site",
        "setting",
        "viewenc",
        "age",
        "peabody",
        "prenumb",
        "postnumb",
        "funumb",
        "Bb",
        "Bl",
        "Bf",
        "Bn",
        "Br",
        "Bc",
        "Ab",
        "Al",
        "Af",
        "An",
        "Ar",
        "Ac"
      ],
      "rows": 240,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_dk",
      "title": "Simulated data about morality and politics in Denmark",
      "object": "synthetic_dk",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sepa_soc_1",
        "sepa_soc_2",
        "sepa_soc_3",
        "sepa_soc_4",
        "sepa_soc_5",
        "sepa_eco_1",
        "sepa_eco_2",
        "sepa_eco_3",
        "sepa_eco_4",
        "sepa_eco_5",
        "fam_1",
        "fam_2",
        "fam_3",
        "grp_1",
        "grp_2",
        "grp_3",
        "rec_1",
        "rec_2",
        "rec_3",
        "her_1",
        "her_2",
        "her_3",
        "def_1",
        "def_2",
        "def_3",
        "fai_1",
        "fai_2",
        "fai_3",
        "pro_1",
        "pro_2",
        "pro_3"
      ],
      "rows": 552,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_nl",
      "title": "Simulated data about morality and politics in The Netherlands",
      "object": "synthetic_nl",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sepa_soc_1",
        "sepa_soc_2",
        "sepa_soc_3",
        "sepa_soc_4",
        "sepa_soc_5",
        "sepa_eco_1",
        "sepa_eco_2",
        "sepa_eco_3",
        "sepa_eco_4",
        "sepa_eco_5",
        "secs_soc_1",
        "secs_soc_2",
        "secs_soc_3",
        "secs_soc_4",
        "secs_soc_5",
        "secs_soc_6",
        "secs_soc_7",
        "fam_1",
        "fam_2",
        "fam_3",
        "grp_1",
        "grp_2",
        "grp_3",
        "rec_1",
        "rec_2",
        "rec_3",
        "her_1",
        "her_2",
        "her_3",
        "def_1",
        "def_2",
        "def_3",
        "fai_1",
        "fai_2",
        "fai_3",
        "pro_1",
        "pro_2",
        "pro_3"
      ],
      "rows": 401,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_us",
      "title": "Simulated data about morality and politics in the USA",
      "object": "synthetic_us",
      "class": [
        "data.frame"
      ],
      "fields": [
        "secs_soc_1",
        "secs_soc_2",
        "secs_soc_3",
        "secs_soc_4",
        "secs_soc_5",
        "secs_soc_6",
        "secs_soc_7",
        "secs_eco_1",
        "secs_eco_2",
        "secs_eco_3",
        "secs_eco_4",
        "secs_eco_5",
        "fam_1",
        "fam_2",
        "fam_3",
        "grp_1",
        "grp_2",
        "grp_3",
        "rec_1",
        "rec_2",
        "rec_3",
        "her_1",
        "her_2",
        "her_3",
        "def_1",
        "def_2",
        "def_3",
        "fai_1",
        "fai_2",
        "fai_3",
        "pro_1",
        "pro_2",
        "pro_3"
      ],
      "rows": 518,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bain",
      "title": "Bayes factors for informative hypotheses",
      "topics": [
        "bain"
      ]
    },
    {
      "page": "bain_sensitivity",
      "title": "Sensitivity analysis for bain",
      "topics": [
        "bain_sensitivity"
      ]
    },
    {
      "page": "kuiper2013",
      "title": "The Effect of Prior Interaction on Trust",
      "topics": [
        "kuiper2013"
      ]
    },
    {
      "page": "pbf",
      "title": "Product Bayes Factor",
      "topics": [
        "pbf",
        "pbf.default",
        "pbf.numeric"
      ]
    },
    {
      "page": "seBeta",
      "title": "Standard Errors and CIs for Standardized Regression Coefficients",
      "topics": [
        "seBeta"
      ]
    },
    {
      "page": "sesamesim",
      "title": "Simulated Sesame Street Data",
      "topics": [
        "sesamesim"
      ]
    },
    {
      "page": "synthetic_dk",
      "title": "Simulated data about morality and politics in Denmark",
      "topics": [
        "synthetic_dk"
      ]
    },
    {
      "page": "synthetic_nl",
      "title": "Simulated data about morality and politics in The Netherlands",
      "topics": [
        "synthetic_nl"
      ]
    },
    {
      "page": "synthetic_us",
      "title": "Simulated data about morality and politics in the USA",
      "topics": [
        "synthetic_us"
      ]
    },
    {
      "page": "t_test",
      "title": "Student's t-test",
      "topics": [
        "t_test"
      ]
    }
  ],
  "_readme": "https://github.com/cjvanlissa/bain/raw/HEAD/README.md",
  "_rundeps": [
    "lavaan",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "quadprog"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_vignettes": [
    {
      "source": "Introduction_to_bain.Rmd",
      "filename": "Introduction_to_bain.html",
      "title": "Introduction to bain",
      "author": "Herbert Hoijtink, Caspar van Lissa, Joris Mulder, Xin Gu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Acknowledgment",
        "Introduction",
        "Usage",
        "Arguments",
        "Using bain with a lm or t_test object",
        "Using bain with a lavaan object",
        "Using bain with a named vector",
        "The specification of hypotheses",
        "Output from an analysis with bain",
        "Examples"
      ],
      "created": "2019-01-14 18:56:53",
      "modified": "2023-09-26 08:16:34",
      "commits": 20
    }
  ],
  "_score": 8.116549967026048,
  "_indexed": true,
  "_nocasepkg": "bain",
  "_universes": [
    "cjvanlissa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-05-13T08:43:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "70bfbd530925e2b89a0962e61be4f1b5f57d9a5f2889fc2030eeb8df8bce24e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-05-13T08:43:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "76d2f79951161b1b5df8ba2b5e6a52ebd0e567fcbad6c659ee4730920a9124f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-05-13T08:42:57.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "e299175ab3d2c0019780520dbcd8d4d373516ace42a8768b978cf42ef2b8ce7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-05-13T08:43:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "fcd18fea195a761faefb9612e1b7082106e59d030515f99e6572804731bb293c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-05-13T08:42:54.000Z",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "81cedf90ec654a1ad9d978cb938f156c688425bf31af87c7cf6234d1b8bf4b87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-05-13T08:44:28.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "1ca9258393ac6bc4e76408e26fcfea0aa040b81d026f4ed2f5975d86e3f7e5e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-05-13T08:42:49.000Z",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "291f3846ed13be5837f8c32e3df5e5dcaa87471847cfe09c076799a5b627cf00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-05-13T08:44:12.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "e653f0b335bc6dd4708f225f9e42f2c66236013e08bebff5058a432875025e3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-05-13T08:42:51.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "485ee62b72a8459110b5e768ab198b6949e71b3a2a88a4a857afa926c7888777",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-05-13T08:42:58.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "7f135275d82e0e818ac63d21d371fcdbe8921430bd7f40fb731ec01eb87c667b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-05-13T08:42:07.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "25dca06a1b18fa5c4af5ab825bc67a3a4438827e85d755e11f73a0bbe47a472d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.11",
      "date": "2026-05-22T09:51:08.000Z",
      "arch": "emscripten",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "7f093110dd086d5067879a7ae70ebb3ea348ab7c025caf7a994dbcfebdd8557c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/25788049445"
    }
  ]
}