{
  "_id": "6a1018eeacfb0bcc41c85c7b",
  "Package": "OneSampleMR",
  "Title": "One Sample Mendelian Randomization and Instrumental Variable\nAnalyses",
  "Version": "0.1.7.9000",
  "Authors@R": "c(\nperson(\"Tom\", \"Palmer\", , \"remlapmot@hotmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-4655-4511\")),\nperson(\"Wes\", \"Spiller\", , \"wes.spiller@bristol.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-8169-5531\")),\nperson(\"Eleanor\", \"Sanderson\", , \"eleanor.sanderson@bristol.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5188-5775\")),\nperson(\"Nicolai\", \"Vitt\", , \"nicolai.vitt@bristol.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-5988-9372\"))\n)",
  "Description": "Useful functions for one-sample (individual level data)\nMendelian randomization and instrumental variable analyses. The\npackage includes implementations of; the Sanderson and\nWindmeijer (2016) <doi:10.1016/j.jeconom.2015.06.004>\nconditional F-statistic, the multiplicative structural mean\nmodel Hernán and Robins (2006)\n<doi:10.1097/01.ede.0000222409.00878.37>, and two-stage\npredictor substitution and two-stage residual inclusion\nestimators explained by Terza et al. (2008)\n<doi:10.1016/j.jhealeco.2007.09.009>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/remlapmot/OneSampleMR,\nhttps://remlapmot.github.io/OneSampleMR/,\nhttps://mrcieu.r-universe.dev/OneSampleMR",
  "BugReports": "https://github.com/remlapmot/OneSampleMR/issues/",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-05-14 18:26:57 UTC",
  "RemoteUrl": "https://github.com/remlapmot/OneSampleMR",
  "RemoteRef": "HEAD",
  "RemoteSha": "531242a1540b045dfd68083d9cb6c4a34b747a44",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 19:41:50 UTC",
    "User": "root"
  },
  "Author": "Tom Palmer [aut, cre] (ORCID: <https://orcid.org/0000-0003-4655-4511>),\nWes Spiller [aut] (ORCID: <https://orcid.org/0000-0002-8169-5531>),\nEleanor Sanderson [aut] (ORCID:\n<https://orcid.org/0000-0001-5188-5775>),\nNicolai Vitt [aut] (ORCID: <https://orcid.org/0000-0002-5988-9372>)",
  "Maintainer": "Tom Palmer <remlapmot@hotmail.com>",
  "MD5sum": "7fbabfa736d7975336b845dd5fee762f",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "OneSampleMR_0.1.7.9000.tar.gz",
  "_fileid": "797aaca8390cd21e327718716fc1ec0d0693d0c56fc31cd72972f4089b641932",
  "_filesize": 204413,
  "_sha256": "797aaca8390cd21e327718716fc1ec0d0693d0c56fc31cd72972f4089b641932",
  "_created": "2026-05-14T19:41:50.000Z",
  "_published": "2026-05-22T08:50:54.276Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77346994795,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7003267915"
    },
    {
      "job": 77346994851,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003267098"
    },
    {
      "job": 77346994998,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7003296412"
    },
    {
      "job": 77346994706,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003298559"
    },
    {
      "job": 77346994382,
      "time": 217,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003209587"
    },
    {
      "job": 77346994316,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156553857"
    },
    {
      "job": 77346994841,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7003243060"
    },
    {
      "job": 77346995279,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7003248323"
    },
    {
      "job": 77346994692,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003242527"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/remlapmot/OneSampleMR",
  "_commit": {
    "id": "531242a1540b045dfd68083d9cb6c4a34b747a44",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "Tom Palmer <remlapmot@hotmail.com>",
    "message": "Document\n",
    "time": 1778783217
  },
  "_maintainer": {
    "name": "Tom Palmer",
    "email": "remlapmot@hotmail.com",
    "login": "remlapmot",
    "orcid": "0000-0003-4655-4511",
    "uuid": 3777473
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "gmm",
      "role": "Imports"
    },
    {
      "package": "ivreg",
      "version": ">= 0.6-5",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "msm",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "AER",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lfe",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "remlapmot",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 6
    },
    {
      "week": "2026-20",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.1.6",
      "date": "2025-05-21"
    },
    {
      "name": "v0.1.7",
      "date": "2026-03-09"
    }
  ],
  "_topics": [
    "instrumental-variable",
    "instrumental-variables",
    "mendelian-randomisation",
    "mendelian-randomization",
    "mendelianrandomisation",
    "mendelianrandomization"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 790,
      "uuid": 3777473
    },
    {
      "user": "nvitt",
      "count": 1,
      "uuid": 12894061
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 239,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OneSampleMR"
  },
  "_devurl": "https://github.com/remlapmot/onesamplemr",
  "_pkgdown": "https://remlapmot.github.io/OneSampleMR/",
  "_searchresults": 34,
  "_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/OneSampleMR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/remlapmot/onesamplemr",
  "_realowner": "remlapmot",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-11-12"
    },
    {
      "version": "0.1.1",
      "date": "2022-04-28"
    },
    {
      "version": "0.1.2",
      "date": "2022-05-11"
    },
    {
      "version": "0.1.3",
      "date": "2023-05-03"
    },
    {
      "version": "0.1.4",
      "date": "2024-06-14"
    },
    {
      "version": "0.1.5",
      "date": "2024-06-26"
    },
    {
      "version": "0.1.6",
      "date": "2025-05-21"
    },
    {
      "version": "0.1.7",
      "date": "2026-03-09"
    }
  ],
  "_exports": [
    "fsw",
    "msmm",
    "tsps",
    "tsri"
  ],
  "_help": [
    {
      "page": "asmm",
      "title": "Additive structural mean model",
      "topics": [
        "asmm"
      ]
    },
    {
      "page": "fsw",
      "title": "Conditional F-statistic of Sanderson and Windmeijer (2016)",
      "topics": [
        "fsw",
        "fsw.fixest",
        "fsw.ivreg",
        "fsw.iv_robust",
        "print.fsw"
      ]
    },
    {
      "page": "msmm",
      "title": "Multiplicative structural mean model",
      "topics": [
        "msmm"
      ]
    },
    {
      "page": "summary.msmm",
      "title": "Summarizing MSMM Fits",
      "topics": [
        "print.msmm",
        "print.summary.msmm",
        "summary.msmm"
      ]
    },
    {
      "page": "summary.tsps",
      "title": "Summarizing TSPS Fits",
      "topics": [
        "print.summary.tsps",
        "print.tsps",
        "summary.tsps"
      ]
    },
    {
      "page": "summary.tsri",
      "title": "Summarizing TSRI Fits",
      "topics": [
        "print.summary.tsri",
        "print.tsri",
        "summary.tsri"
      ]
    },
    {
      "page": "tsps",
      "title": "Two-stage predictor substitution (TSPS) estimators",
      "topics": [
        "tsps"
      ]
    },
    {
      "page": "tsri",
      "title": "Two-stage residual inclusion (TSRI) estimators",
      "topics": [
        "tsri"
      ]
    }
  ],
  "_readme": "https://github.com/remlapmot/OneSampleMR/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "expm",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gmm",
    "gtable",
    "isoband",
    "ivreg",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "msm",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "compare-smm-fits.Rmd",
      "filename": "compare-smm-fits.html",
      "title": "Comparison fits of the multiplicative structural mean model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Comparison fits"
      ],
      "created": "2021-08-19 14:38:08",
      "modified": "2024-08-27 19:55:40",
      "commits": 9
    },
    {
      "source": "f-statistic-comparison.Rmd",
      "filename": "f-statistic-comparison.html",
      "title": "Comparison of conditional F-statistics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Run fsw() on ivreg() model object",
        "Run fsw() on AER::ivreg() model object",
        "Run fsw() on estimatr::iv_robust() model object",
        "Run fsw() on fixest::feols() model object",
        "Comparison with F-statistic from lfe package",
        "Comparison with output from ivreg2"
      ],
      "created": "2021-08-19 14:38:08",
      "modified": "2026-02-26 15:46:25",
      "commits": 9
    }
  ],
  "_score": 7.309630167425899,
  "_indexed": true,
  "_nocasepkg": "onesamplemr",
  "_universes": [
    "mrcieu",
    "remlapmot"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:44:38.000Z",
      "distro": "noble",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "393c335cd007375b12ebc047ac804a73d37477d6c6acc1af94f8a7d65cb80502",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:44:35.000Z",
      "distro": "noble",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "d766d8b69eba1a7253c12f62fd35e5b45904a6481347b22e4c93fe7e790932e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:46:06.000Z",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "5e6d34fb087075b2648fcc0f7ade05cc0ef39e8dbf50040c8e1a623f5aaf79ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:46:19.000Z",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "5c8118e1e4c1bdbf4cece0ec219d2d55f4ab3c6cce37220df967292decbfeba8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:43:16.000Z",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "6773046bf981aa4486b63e4ff1a077d62b8a6eef8979dc2accaa01607a9f75ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:43:32.000Z",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "373a51c2ed3f7ad673d089c55c74d409ac7110918385d4bf5680c7902d815642",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.7.9000",
      "date": "2026-05-14T19:43:16.000Z",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "7dde1bf4ad684ad878a59c51009ac144bf641ce88b9cb8ba006d9d0daf87bc93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.7.9000",
      "date": "2026-05-22T08:50:36.000Z",
      "commit": "531242a1540b045dfd68083d9cb6c4a34b747a44",
      "fileid": "f8b01c4f08024649dc5925796cb8708eebe8958ed256a99dc35f6c8ea7cf944f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25881356725"
    }
  ]
}