{
  "_id": "6a27df1324555f66ed547fa0",
  "Package": "SimTOST",
  "Title": "Sample Size Estimation for Bio-Equivalence Trials Through\nSimulation",
  "Version": "1.0.2",
  "Authors@R": "c(\nperson(given = \"Thomas\",\nfamily = \"Debray\",\nemail = \"tdebray@fromdatatowisdom.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1790-2719\")),\nperson(given = \"Johanna\",\nfamily = \"Munoz\",\nemail = \"johanna.munoz@fromdatatowisdom.com\",\nrole = c(\"aut\")),\nperson(given = \"Dewi\",\nfamily = \"Amaliah\",\nemail = \"dewi.amaliah@fromdatatowisdom.com\",\nrole = c(\"ctb\")),\nperson(given = \"Wei\",\nfamily = \"Wei\",\nemail = \"wei.wei@biogen.com\",\nrole = c(\"ctb\")),\nperson(given = \"Marian\",\nfamily = \"Mitroiu\",\nemail = \"marian.mitroiu@biogen.com\",\nrole = c(\"ctb\")),\nperson(given = \"Scott\",\nfamily = \"McDonald\",\nemail = \"scott.mcdonald@fromdatatowisdom.com\",\nrole = c(\"ctb\")),\nperson(\"Biogen Inc\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Sample size estimation for bio-equivalence trials is\nsupported through a simulation-based approach that extends the\nTwo One-Sided Tests (TOST) procedure. The methodology provides\nflexibility in hypothesis testing, accommodates multiple\ntreatment comparisons, and accounts for correlated endpoints.\nUsers can model complex trial scenarios, including parallel and\ncrossover designs, intra-subject variability, and different\nequivalence margins. Monte Carlo simulations enable accurate\nestimation of power and type I error rates, ensuring\nwell-calibrated study designs. The statistical framework builds\non established methods for equivalence testing and multiple\nhypothesis testing in bio-equivalence studies, as described in\nSchuirmann (1987) <doi:10.1007/BF01068419>, Mielke et al.\n(2018) <doi:10.1080/19466315.2017.1371071>, Shieh (2022)\n<doi:10.1371/journal.pone.0269128>, and Sozu et al. (2015)\n<doi:10.1007/978-3-319-22005-5>. Comprehensive documentation\nand vignettes guide users through implementation and\ninterpretation of results.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://smartdata-analysis-and-statistics.github.io/SimTOST/",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 09:34:28 UTC",
    "User": "root"
  },
  "Author": "Thomas Debray [aut, cre]\n(<https://orcid.org/0000-0002-1790-2719>), Johanna Munoz [aut],\nDewi Amaliah [ctb], Wei Wei [ctb], Marian Mitroiu [ctb], Scott\nMcDonald [ctb], Biogen Inc [cph, fnd]",
  "Maintainer": "Thomas Debray <tdebray@fromdatatowisdom.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-18 23:40:08 UTC",
  "RemoteUrl": "https://github.com/cran/SimTOST",
  "RemoteRef": "HEAD",
  "RemoteSha": "190307baae7308d82de1816f89bb59625a4e0ce6",
  "MD5sum": "2062d911cd3b8c170cb658d6037c3664",
  "_user": "cran",
  "_type": "src",
  "_file": "SimTOST_1.0.2.tar.gz",
  "_fileid": "b512780261df018b9c3e42cc99ee7b8b818a05730457ed3f0b8e28d36e1b7ca7",
  "_filesize": 514898,
  "_sha256": "b512780261df018b9c3e42cc99ee7b8b818a05730457ed3f0b8e28d36e1b7ca7",
  "_created": "2026-06-09T09:34:28.000Z",
  "_published": "2026-06-09T09:38:27.673Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80292000916,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7503946073"
    },
    {
      "job": 80292000908,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7503949286"
    },
    {
      "job": 80292000898,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503943006"
    },
    {
      "job": 80292000896,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503948257"
    },
    {
      "job": 80291029347,
      "time": 318,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503884741"
    },
    {
      "job": 80292000815,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7503934061"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27196960045",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SimTOST",
  "_commit": {
    "id": "190307baae7308d82de1816f89bb59625a4e0ce6",
    "author": "Thomas Debray <tdebray@fromdatatowisdom.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1739922008
  },
  "_maintainer": {
    "name": "Thomas Debray",
    "email": "tdebray@fromdatatowisdom.com",
    "orcid": "0000-0002-1790-2719"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.13",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "matrixcalc",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "PowerTOST",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_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": 125,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SimTOST"
  },
  "_devurl": "https://github.com/smartdata-analysis-and-statistics/simtost",
  "_pkgdown": "https://smartdata-analysis-and-statistics.github.io/SimTOST/",
  "_searchresults": 7,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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/SimTOST.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/smartdata-analysis-and-statistics/simtost",
  "_realowner": "smartdata-analysis-and-statistics",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-02-18"
    },
    {
      "version": "1.0.2",
      "date": "2025-02-18"
    }
  ],
  "_exports": [
    "check_equivalence",
    "derive_allocation_rate",
    "derive_arm_names",
    "derive_endpoint_names",
    "derive_varcov_list",
    "get_par",
    "info_msg",
    "mcsapply",
    "plot.simss",
    "power_cal",
    "power_dom",
    "power_Mielke",
    "print.simss",
    "ptv",
    "ptvdf",
    "run_simulations_2x2_dom",
    "run_simulations_2x2_rom",
    "run_simulations_par_dom",
    "run_simulations_par_rom",
    "sampleSize",
    "sampleSize_Mielke",
    "sign_Mielke",
    "simParallelEndpoints",
    "test_2x2_dom",
    "test_2x2_rom",
    "test_par_dom",
    "test_par_rom",
    "test_studies",
    "uniroot.integer.mod",
    "validate_positive_definite",
    "validate_sample_size_limits"
  ],
  "_help": [
    {
      "page": "get_par",
      "title": "Parameter Configuration for Endpoints and Comparators",
      "topics": [
        "get_par"
      ]
    },
    {
      "page": "plot.simss",
      "title": "Plot Power vs Sample Size for Simulation Results",
      "topics": [
        "plot.simss"
      ]
    },
    {
      "page": "power_dom",
      "title": "Power Calculation for Difference of Means (DOM) Hypothesis Test",
      "topics": [
        "power_dom"
      ]
    },
    {
      "page": "print.simss",
      "title": "Print Summary of Sample Size Estimation",
      "topics": [
        "print.simss"
      ]
    },
    {
      "page": "run_simulations_2x2_dom",
      "title": "Run Simulations for a 2x2 Crossover Design with Difference of Means (DOM) test",
      "topics": [
        "run_simulations_2x2_dom"
      ]
    },
    {
      "page": "run_simulations_2x2_rom",
      "title": "Run Simulations for a 2x2 Crossover Design with Ratio of Means (ROM) test",
      "topics": [
        "run_simulations_2x2_rom"
      ]
    },
    {
      "page": "run_simulations_par_dom",
      "title": "Run Simulations for a Parallel Design with Difference of Means (DOM) test",
      "topics": [
        "run_simulations_par_dom"
      ]
    },
    {
      "page": "run_simulations_par_rom",
      "title": "Run Simulations for a Parallel Design with Ratio of Means (ROM) test",
      "topics": [
        "run_simulations_par_rom"
      ]
    },
    {
      "page": "sampleSize",
      "title": "Sample Size Calculation for Bioequivalence and Multi-Endpoint Studies",
      "topics": [
        "sampleSize"
      ]
    },
    {
      "page": "sampleSize_Mielke",
      "title": "Sample Size Estimation for Multiple Hypothesis Testing Using Mielke's Method",
      "topics": [
        "sampleSize_Mielke"
      ]
    },
    {
      "page": "simParallelEndpoints",
      "title": "Generate Simulated Endpoint Data for Parallel Group Design",
      "topics": [
        "simParallelEndpoints"
      ]
    },
    {
      "page": "SimTOST",
      "title": "Sample Size Estimation via Simulation",
      "topics": [
        "SimTOST-package",
        "SimTOST"
      ]
    },
    {
      "page": "test_2x2_dom",
      "title": "Simulate a 2x2 Crossover Design and Compute Difference of Means (DOM)",
      "topics": [
        "test_2x2_dom"
      ]
    },
    {
      "page": "test_2x2_rom",
      "title": "Simulate a 2x2 Crossover Design and Compute Ratio of Means (ROM)",
      "topics": [
        "test_2x2_rom"
      ]
    },
    {
      "page": "test_par_dom",
      "title": "Simulate a Parallel Design and Test Difference of Means (DOM)",
      "topics": [
        "test_par_dom"
      ]
    },
    {
      "page": "test_par_rom",
      "title": "Simulate a Parallel Design and Test Ratio of Means (ROM)",
      "topics": [
        "test_par_rom"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/SimTOST/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/SimTOST/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "MASS",
    "matrixcalc",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sampleSize_crossover.Rmd",
      "filename": "sampleSize_crossover.html",
      "title": "Bioequivalence Tests for 2x2 Cross-Over Trial Designs with Log-Normal Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bioequivalence Tests for AUC and Cmax",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    },
    {
      "source": "sampleSize_parallel.Rmd",
      "filename": "sampleSize_parallel.html",
      "title": "Bioequivalence Tests for Parallel Trial Designs with Log-Normal Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Multiple Independent Co-Primary Endpoints",
        "Approach 1: Using sampleSize_Mielke",
        "Approach 2: Using sampleSize",
        "Multiple Correlated Co-Primary Endpoints",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    },
    {
      "source": "sampleSize_parallel_2A1E.Rmd",
      "filename": "sampleSize_parallel_2A1E.html",
      "title": "Bioequivalence Tests for Parallel Trial Designs: 2 Arms, 1 Endpoint",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Difference of Means Test",
        "Scenario",
        "Trial Design",
        "Objective",
        "Implementation",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    },
    {
      "source": "sampleSize_parallel_2A3E.Rmd",
      "filename": "sampleSize_parallel_2A3E.html",
      "title": "Bioequivalence Tests for Parallel Trial Designs: 2 Arms, 3 Endpoints",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Testing multiple co-primary endpoints",
        "Independent Testing of Co-Primary Endpoints",
        "Simultaneous Testing of Independent Co-Primary Endpoints",
        "Simultaneous Testing of Correlated Co-Primary Endpoints",
        "Testing multiple primary endpoints",
        "Simultaneous Testing of Primary Endpoints",
        "Hierarchical Testing of Endpoints",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    },
    {
      "source": "sampleSize_parallel_3A1E.Rmd",
      "filename": "sampleSize_parallel_3A1E.html",
      "title": "Bioequivalence Tests for Parallel Trial Designs: 3 Arms, 1 Endpoint",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Sample Size Calculation for AUCinf: Equivalence to EU Remicade",
        "Hypotheses",
        "Preparing the function arguments",
        "Computing Sample Size",
        "Sample Size Calculation for AUCinf: Equivalence to US Remicade and EU Remicade",
        "Implementation Details",
        "Results and Interpretation",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    },
    {
      "source": "sampleSize_parallel_3A3E.Rmd",
      "filename": "sampleSize_parallel_3A3E.html",
      "title": "Bioequivalence Tests for Parallel Trial Designs: 3 Arms, 3 Endpoints",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Input Data",
        "Simultaneous Testing of Independent Co-Primary Endpoints",
        "Different Hypotheses across endpoints",
        "Simultaneous Testing of Independent Primary Endpoints",
        "Equivalence for At Least 2 of the 3 Endpoints with Bonferroni Adjustment",
        "Unequal Allocation Rates Across Arms",
        "Accounting for Participant Dropout",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    },
    {
      "source": "intropkg.Rmd",
      "filename": "intropkg.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Hypotheses",
        "Difference of Means (DOM)",
        "Ratio of Means (ROM)",
        "Regulatory Requirements",
        "Testing of multiple endpoints",
        "Testing multiple co-primary endpoints",
        "Testing multiple primary endpoints",
        "Bonferroni correction",
        "Sidak correction",
        "K adjustment",
        "Hierarchical testing of multiple endpoints",
        "Testing of multiple treatments",
        "References"
      ],
      "created": "2025-02-18 10:10:14",
      "modified": "2025-02-18 10:10:14",
      "commits": 1
    }
  ],
  "_score": 3.5440680443502757,
  "_indexed": false,
  "_nocasepkg": "simtost",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://smartdata-analysis-and-statistics.r-universe.dev/SimTOST",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T09:37:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "190307baae7308d82de1816f89bb59625a4e0ce6",
      "fileid": "8602146f57847d04729fb6de242253e9ed46f625c024ff329a3e51840d965cbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27196960045"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T09:37:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "190307baae7308d82de1816f89bb59625a4e0ce6",
      "fileid": "da5545db9c945582b395b0af528415fb7841ea346202e5414d7959a2e71e121e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27196960045"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T09:37:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "190307baae7308d82de1816f89bb59625a4e0ce6",
      "fileid": "5cbb574b471707c925ca679fb4fa089bd152264037962291ad609ceba270d4fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27196960045"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T09:37:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "190307baae7308d82de1816f89bb59625a4e0ce6",
      "fileid": "31287bbd7910a27efa1578a82d61a72d848a25ee87650818b70d5b2b9527ed67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27196960045"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-06-09T09:37:08.000Z",
      "arch": "emscripten",
      "commit": "190307baae7308d82de1816f89bb59625a4e0ce6",
      "fileid": "b34f02a5307b6c21d6aeaf2314631122910f25c91fe0b79a9fd98b5000ede27f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27196960045"
    }
  ]
}