Home > Articles

This chapter is from the book

This chapter is from the book

Statistical Power, Type I and Type II Errors

In previous chapters I have mentioned a topic termed statistical power from time to time. Because it is a major reason to carry out factorial analyses as discussed in this chapter, and to carry out the analysis of covariance as discussed in Chapter 8, it’s important to develop a more thorough understanding of what statistical power is and how to quantify it.

On a purely conceptual level, statistical power refers to a statistical test’s ability to identify the difference between two or more group means as genuine, when in fact the difference is genuine at the population level. You might think of statistical power as the sensitivity of a test to the difference between groups.

Suppose you’re responsible for bringing a collection of websites to the attention of consumers who are shopping online. Your goal is to increase the number of hits that your websites experience; any resulting revenue and profit are up to the people who choose which products to market and how much to charge for them.

You arrange with the owner of a popular site for web searches to display links to 16 of your sites, randomly selected from among those that your company controls. The other randomly selected 16 of your sites will, for a month, get no special promotion.

Your intent is to compare the average number of hourly hits for the sites whose links get prominent display with the average number of hourly hits for the remaining sites. You decide to make a directional hypothesis at the 0.05 alpha level: Only if the specially promoted sites have a higher average number of hits, and only if the difference between the two groups of sites is so large that it could come about by chance only once in 20 replications of this trial, will you reject the hypothesis that the added promotion makes no difference to the hourly average number of hits.

Your data come in a month later and you find that your control group—the sites that received no special promotion—have an average of 45 hits each hour, and the specially promoted sites have an average hourly hit rate of 55. The standard error of the mean is 5. Figure 7.23 displays the situation graphically.

Figure 7.23

Figure 7.23 Both power and alpha can be thought of as probabilities and depicted as areas under a curve.

Assume that two populations exist: The first consists of websites like yours that get no special promotion. The second consists of websites that are promoted via links on another popular site, but that are otherwise equivalent to the first population. If you repeated your month-long study hundreds or perhaps thousands of times, you might get two distributions that look like the two curves in Figure 7.23.

The curve on the left represents the population of websites that get no special promotion. Over the course of a month, some of those sites—a very few—get as few as 25 hits per hour, and an equally small number get 62 hits per hour. The great majority of those sites average 45 hits per hour: the mode, mean and median of the curve on the left.

The curve on the right represents the specially promoted websites. They tend to get about 10 hits more per hour than the sites represented by the curve on the left. Their overall average is 55 hits per hour.

Now, most of this information is hidden from you. You don’t have access to information about the full populations, just the results of the two samples you took—but that’s enough. Suppose that at the end of the month the two populations have the same mean, as would be the case if the extra promotion had no effect on the average hourly hits.

In that case, the difference in the average hit rate returned by your 16 experimental sites would have been due to nothing more than sampling error. That average of 55 hourly hits is among the averages in the right-hand tail of the curve on the left: the portion of the curve designated as alpha, shown in the chart in Figure 7.23 in a darker shade than the rest of the curve on the left.

Calculating Statistical Power

The boundary between alpha and the rest of the curve on the left is the critical value established by alpha. When you adopted 5% as your alpha level, with a directional hypothesis, you committed to the 5% of the right-hand tail of the curve. The critical value cuts off that 5%, and you can find that critical value using Excel’s T.INV() function:

  • =T.INV(0.95,30)

That is, what is the value in the t distribution with 30 degrees of freedom that separates the lowest 95% of the values in the distribution from the top 5%? The result is 1.7. If you go up from the mean of the distribution by 1.7 standard errors, you account for the lowest 95% of the distribution. In this case the standard error is 5 (you learned that when you got the data on mean hourly hits), and 5 times 1.7 is 8.5. Add that to the mean of the curve on the left, and you get a critical value of 53.5.

In sum: The value of alpha is entirely under your control—it’s your decision rule. You have made a directional hypothesis and you have set alpha to 0.05. Therefore, you have decided to reject the null hypothesis of no difference between the groups at the population level if, and only if, the experimental group’s sample mean turns out to be at least 1.7 standard errors above the control group’s mean.

Sometimes, the experimental group’s mean will come from that right-hand tail of the left curve’s distribution, just because of sampling error. Because the experimental group’s mean, in that case, is at least 1.7 standard errors above the control group’s mean, you’ll reject the null hypothesis even though both populations have the same mean. That’s Type I error, the probability of incorrectly rejecting a true null hypothesis.

Now suppose that in reality the populations are distributed as shown in Figure 7.23. If the sample experimental group has a mean at least 1.7 standard errors above the critical value of 54—which is 1.7 standard errors above the control group mean—then you’ll correctly reject the null hypothesis of no difference at the population level.

Focus on the right curve in Figure 7.23. The area to the right of the critical value in that curve is the statistical power of your t-test. It is the probability that the experimental group mean comes from the curve on the right, in a reality where the two groups are distributed as shown at the population level.

Quantifying that probability is easy enough. Just take the difference between the critical value and the experimental group mean and divide by the standard error of 5:

  • =(54 − 55)/5

To get −0.2. That’s a t-value. Evaluate it using the T.DIST() function:

  • =T.DIST(−0.2,15,TRUE)

using 15 as the degrees of freedom, because at this point we’re working solely with the experimental group of 16 websites. The result is 0.422. That is, 42.2% of the area beneath the curve that represents the experimental group lies below the critical value of 54. Therefore 57.8% of the area under the curve lies to the right of the critical value, and the statistical power of the t-test is 57.8%. See Figure 7.24.

Figure 7.24

Figure 7.24 Type I error and alpha have counterparts in Type II error and beta.

In Figure 7.24 you can see the area that corresponds to statistical power in the curve on the right, to the right of the critical value. The remaining area under that curve is usually termed beta. It is alpha’s counterpart.

If you incorrectly reject a true null hypothesis (for example, by deciding that two population means differ when in fact they don’t), that’s a Type I error and it has a probability of alpha. You decide the value of alpha, and your decision is typically based on the cost of making a Type I error, in the context of the benefits of correctly rejecting a false null hypothesis.

If you incorrectly reject a true alternative hypothesis (for example, by deciding that two population means are identical when in fact they differ), that’s a Type II error and it has a probability of beta. The value of beta is not directly in your control. However, you can influence it, along with the statistical power of your test, as discussed in the next section.

Increasing Statistical Power

One excellent time to perform a power analysis is right after concluding a pilot study. At that point you often have the basic numbers on hand to calculate the power of a planned full study, and you’re still in a position to make changes to the experimental design if the power study warrants. While a comparison of costs and benefits does not always argue for an increase in statistical power, it can warn you against pointless use of costly resources.

For example, if you can’t get the estimated statistical power above 50%, you might decide that the study just isn’t feasible—your odds of getting a reliable treatment effect are too low. Or it might turn out that increasing the sample size by 50% will result in an increase of only 5% in statistical power, so you’re not getting enough bang for your buck.

You have available several methods of increasing statistical power. Some are purely theoretical, and have little chance of helping in real-world conditions. Others can make good sense.

One way is to reduce the size of the denominator of the test statistic. That denominator is typically a measure of the variability in the individual measures: a t-test, for example, might use either the standard error of the mean or the standard error of the difference between two means as the denominator of the t-ratio. An F-test uses the mean square residual (depending on the context, also known as mean square within or mean square error) as the denominator of the F-ratio.

When the denominator of a ratio decreases, the ratio itself increases. Other things equal, a larger t-ratio is more likely to be significant in a statistical sense than is a smaller t-ratio. One way to decrease the standard error or the mean square residual is to increase the sample size. Recall that the standard error of the mean divides the standard deviation by the square root of the sample size, and the mean square residual is the result of dividing the residual sum of squares by the residual degrees of freedom. In either case, increasing the sample size decreases the size of the t-ratio’s or the F-ratio’s denominator, which in turn increases the t-ratio or the F-ratio—improving the statistical power.

Another method of decreasing the size of the denominator is directly pertinent to factorial analysis, discussed in this chapter, and the analysis of covariance, discussed in Chapter 8. Both techniques add one or more predictors to the analysis: predictors that might have a substantial effect on the outcome variable. In that case, some of the variability in the individual measures can be attributed to the added factor or covariate and in that way kept out of the ratio’s denominator.

So, adding a factor or covariate to the analysis might result in moving some of the variation out of the t-test’s or the F-test’s denominator and into the regression sum of squares (or the sum of squares between), thus increasing the size of the ratio and therefore its statistical power. Furthermore, and perhaps more importantly, adding the factor or the covariate could better illuminate the outcome of the study, particularly if two or more of the factors turn out to be involved in significant interactions.

You should also bear in mind three other ways to increase statistical power (neither of them directly related to the topics discussed in this chapter or in Chapter 8). One is to increase the treatment effect—the numerator of the t-ratio or the F-ratio, rather than its denominator. If you can increase the size of the treatment without also increasing the individual variation, your statistical test will be more powerful.

Consider making directional hypotheses (“one-tailed tests”) instead of nondirectional hypotheses (“two-tailed tests”). One-tailed tests put all of alpha into one tail of the distribution. That moves the critical value toward the distribution’s mean value. The closer the critical value is to the mean, the more likely you are to obtain an experimental result that exceeds the critical value—again, increasing the statistical power.

A related technique is to relax alpha. Notice in Figure 7.24 that if you increase (or relax) alpha from 0.05 to, say, 0.10, one result takes place in the distribution the right: the area representing statistical power increases as the critical value moves toward the mean of the curve on the left. By increasing the likelihood of making a Type I error, you reduce the likelihood of making a Type II error.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020