Inference for a Mean: Comparing a Mean to a Known Value

(To use this page, your browser must recognize JavaScript.)

Choose which calculation you desire, enter the relevant values for mu0 (known value), mu1 (mean of the population to be sampled), and sigma (standard deviation of the sampled population) and, if calculating power, a sample size. You may also modify α (type I error rate) and the power, if relevant. After making your entries, hit the calculate button at the bottom.

  • Calculate Sample Size (for specified Power)
  • Calculate Power (for specified Sample Size)
  • Enter a value for mu0:
    Enter a value for mu1:
    Enter a value for sigma:
  • 1 Sided Test
  • 2 Sided Test
  • Enter a value for α (default is .05):
    Enter a value for desired power (default is .80):
    The sample size is:

    Reference: The calculations are the customary based on the normal distribution. See for example Hypothesis Testing: One-Sample Inference - Sample Size Determination in Bernard Rosner's Fundamentals of Biostatistics.



    Rollin Brant
    Email me at: rollin@stat.ubc.ca