Article Version of Record

A framework for planning sample sizes regarding prediction intervals of the normal mean using R shiny apps

Author(s) / Creator(s)

Luh, Wei-Ming
Guo, Jiin-Huarng

Abstract / Description

Replication is a core principle for research, and the recent recognition of the importance of constructing prediction intervals for precise replications highlights the need for robust sample-size planning methodologies. However, methodological and technical complexities often hinder researchers from efficiently achieving this task. This study addresses this challenge by developing five R Shiny apps specifically tailored to determine sample sizes concerning prediction intervals for the mean of the normal distribution. Two measures of precision, absolute and relative widths, are considered. Additionally, the apps consider unequal sampling unit costs and sample size allocations to achieve optimal results by exhaustive search. Simulation results validate the proposed methodology, demonstrating favorable coverage rates. Two illustrative examples of one-sample and two-sample problems showcase these apps’ versatility and user-friendly nature, providing researchers with a valid and straightforward approach for systematically planning sample sizes.

Keyword(s)

allocation ratio absolute width relative width sampling cost optimal sample size allocation replicability

Persistent Identifier

Date of first publication

2024-12-23

Journal title

Methodology

Volume

20

Issue

4

Page numbers

283–303

Publisher

PsychOpen GOLD

Publication status

publishedVersion

Review status

peerReviewed

Is version of

Citation

Luh, W. & Guo, J. (2024). A framework for planning sample sizes regarding prediction intervals of the normal mean using R shiny apps. Methodology, 20(4), 283-303. https://doi.org/10.5964/meth.13549
  • Author(s) / Creator(s)
    Luh, Wei-Ming
  • Author(s) / Creator(s)
    Guo, Jiin-Huarng
  • PsychArchives acquisition timestamp
    2025-04-25T11:32:57Z
  • Made available on
    2025-04-25T11:32:57Z
  • Date of first publication
    2024-12-23
  • Abstract / Description
    Replication is a core principle for research, and the recent recognition of the importance of constructing prediction intervals for precise replications highlights the need for robust sample-size planning methodologies. However, methodological and technical complexities often hinder researchers from efficiently achieving this task. This study addresses this challenge by developing five R Shiny apps specifically tailored to determine sample sizes concerning prediction intervals for the mean of the normal distribution. Two measures of precision, absolute and relative widths, are considered. Additionally, the apps consider unequal sampling unit costs and sample size allocations to achieve optimal results by exhaustive search. Simulation results validate the proposed methodology, demonstrating favorable coverage rates. Two illustrative examples of one-sample and two-sample problems showcase these apps’ versatility and user-friendly nature, providing researchers with a valid and straightforward approach for systematically planning sample sizes.
    en_US
  • Publication status
    publishedVersion
  • Review status
    peerReviewed
  • Citation
    Luh, W. & Guo, J. (2024). A framework for planning sample sizes regarding prediction intervals of the normal mean using R shiny apps. Methodology, 20(4), 283-303. https://doi.org/10.5964/meth.13549
  • ISSN
    1614-2241
  • Persistent Identifier
    https://hdl.handle.net/20.500.12034/11695
  • Persistent Identifier
    https://doi.org/10.23668/psycharchives.16283
  • Language of content
    eng
  • Publisher
    PsychOpen GOLD
  • Is version of
    https://doi.org/10.5964/meth.13549
  • Keyword(s)
    allocation ratio
    en_US
  • Keyword(s)
    absolute width
    en_US
  • Keyword(s)
    relative width
    en_US
  • Keyword(s)
    sampling cost
    en_US
  • Keyword(s)
    optimal sample size allocation
    en_US
  • Keyword(s)
    replicability
    en_US
  • Dewey Decimal Classification number(s)
    150
  • Title
    A framework for planning sample sizes regarding prediction intervals of the normal mean using R shiny apps
    en_US
  • DRO type
    article
  • Issue
    4
  • Journal title
    Methodology
  • Page numbers
    283–303
  • Volume
    20
  • Visible tag(s)
    Version of Record