---
title: "ANOVA: Data Means and Fitted Means, Balanced and Unbalanced Designs"
description: "ANOVA: Data Means and Fitted Means, Balanced and Unbalanced Designs"
image: https://blog.minitab.com/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/capture-1-Jul-05-2025-10-42-46-4009-PM.png
---

English

- [English](https://blog.minitab.com/en/?hsLang=en)
- [Français](https://blog.minitab.com/fr/?hsLang=en)
- [Deutsch](https://blog.minitab.com/de/?hsLang=en)
- [Português](https://blog.minitab.com/pt/?hsLang=en)
- [Español](https://blog.minitab.com/es/?hsLang=en)
- [日本語](https://blog.minitab.com/ja/?hsLang=en)
- [한국어](https://blog.minitab.com/ko/?hsLang=en)
- [中文（简体）](https://blog.minitab.com/zh/?hsLang=en)

- [![Icon Partners](https://blog.minitab.com/hubfs/WCM/Partners.png) Partners](https://www.minitab.com/en-us/company/partners/)
- [![Icon Contact](https://blog.minitab.com/hubfs/WCM/Contact.png) Contact](https://www.minitab.com/en-us/company/contact-us/)
- [![Icon Talk to Minitab](https://blog.minitab.com/hubfs/WCM/Phone.png) Talk to Minitab](https://www.minitab.com/en-us/talk-to-minitab/)
- [![Icon My Account](https://blog.minitab.com/hubfs/WCM/MyAcct.png) My Account](https://licensing.minitab.com/account/manage)

[![Minitab](https://blog.minitab.com/hubfs/WCM/minitab-corp-logo.svg)](https://www.minitab.com/en-us/)

- Products
  
  Back
  
  [Products](https://www.minitab.com/en-us/products/)
  
  [All Products](https://www.minitab.com/en-us/products/) 
    - [Minitab Solution Center](https://www.minitab.com/en-us/products/minitab-solution-center/)
    - [Minitab Statistical Software](https://www.minitab.com/en-us/products/minitab/)
    - [Minitab Connect](https://www.minitab.com/en-us/products/connect/)
    - [Minitab Model Ops](https://www.minitab.com/en-us/products/model-ops/)
    - [Minitab Education Hub](https://www.minitab.com/en-us/products/education-hub/)
    - [Minitab Engage](https://www.minitab.com/en-us/products/engage/)
    - [Minitab Workspace](https://www.minitab.com/en-us/products/workspace/)
    - [Real-Time SPC](https://www.minitab.com/en-us/products/real-time-spc/)
    - [Prolink Data Collection & SPC](https://www.minitab.com/en-us/products/prolink)
    - [Simul8 Discrete Event Simulation](https://info.minitab.com/en/new-to-simul8?hsLang=en)
    - [SPM](https://www.minitab.com/en-us/products/spm/)
- Solutions
  
  Back
  
  [Solutions](https://www.minitab.com/en-us/solutions/)
  
  [All Solutions](https://www.minitab.com/en-us/solutions/) 
    - [Analytics](https://www.minitab.com/en-us/solutions/analytics/)
    - [Statistics & Predictive Analytics](https://www.minitab.com/en-us/solutions/analytics/statistical-analysis-predictive-analytics/)
    - [Data Science & Machine Learning](https://www.minitab.com/en-us/solutions/analytics/data-science-machine-learning/)
    - [Business Analytics & Intelligence](https://www.minitab.com/en-us/solutions/analytics/business-analytics-intelligence/)
    - [Statistical Process Control](https://www.minitab.com/en-us/solutions/analytics/statistical-process-control/)
    - [Quality Analytics](https://www.minitab.com/en-us/solutions/analytics/quality-analytics/)
    - [Live Analytics](https://www.minitab.com/en-us/solutions/analytics/live-analytics/)
    - [Reliability & Life Data Analysis](https://www.minitab.com/en-us/solutions/analytics/reliability/)
    - [Discrete Event Simulation](https://info.minitab.com/en/new-to-simul8?hsLang=en)
    - [Process Mining](https://info.minitab.com/en/new-to-simul8?hsLang=en)
    - [Key Capabilities](https://www.minitab.com/en-us/solutions/key-capabilities/)
    - [Continuous Improvement](https://www.minitab.com/en-us/solutions/key-capabilities/continuous-improvement/)
    - [Data Integration & Data Prep](https://www.minitab.com/en-us/solutions/key-capabilities/data-integration-data-prep/)
    - [Diagramming & Mind Mapping](https://www.minitab.com/en-us/solutions/key-capabilities/diagramming-mind-mapping/)
    - [Digital Twins](https://info.minitab.com/en/new-to-simul8?hsLang=en)
    - [Model Deployment & ML Ops](https://www.minitab.com/en-us/solutions/key-capabilities/model-deployment-ml-ops/)
    - [Innovation & Project Management](https://www.minitab.com/en-us/solutions/key-capabilities/innovation-project-management/)
    - [Process Excellence: Detect, Correct & Prevent](https://www.minitab.com/en-us/solutions/key-capabilities/process-excellence/)
    - [Featured Industries](https://www.minitab.com/en-us/solutions/industry/)
    - [Academic](https://www.minitab.com/en-us/solutions/industry/academic/)
    - [Energy & Natural Resources](https://www.minitab.com/en-us/solutions/industry/energy-resources/)
    - [Government & Public Sector](https://www.minitab.com/en-us/solutions/industry/government/)
    - [Healthcare](https://www.minitab.com/en-us/solutions/industry/healthcare/)
    - [Insurance](https://www.minitab.com/en-us/solutions/industry/insurance/)
    - [Manufacturing & Industrial](https://www.minitab.com/en-us/solutions/industry/manufacturing-industrial/)
    - [Services](https://www.minitab.com/en-us/solutions/industry/service-industries/)
    - [Software & Technology](https://www.minitab.com/en-us/solutions/industry/software-technology/)
    - [Construction](https://www.minitab.com/en-us/solutions/industry/construction/)
    - [Featured Roles](https://www.minitab.com/en-us/solutions/role/)
    - [Engineering](https://www.minitab.com/en-us/solutions/role/engineering/)
    - [Business Analysis](https://www.minitab.com/en-us/solutions/role/business-analysts/)
    - [Information Technology](https://www.minitab.com/en-us/solutions/role/information-technology/)
    - [Supply Chain](https://www.minitab.com/en-us/solutions/role/supply-chain/)
    - [Customer Service & Contact Center](https://www.minitab.com/en-us/solutions/role/customer-service-contact-center/)
    - [Human Resources](https://www.minitab.com/en-us/solutions/role/human-resources/)
    - [Marketing](https://www.minitab.com/en-us/solutions/role/marketing/)
    - [Research and Development](https://www.minitab.com/en-us/solutions/role/research-and-development/)
- Resources & Services
  
  Back
  
  [Resources & Services](https://www.minitab.com/en-us/resources-services/)
  
  [All Resources & Services](https://www.minitab.com/en-us/resources-services/) 
    - [Resources](https://www.minitab.com/en-us/resources-services/resources/)
    - [Case Studies](https://www.minitab.com/en-us/resources-services/resources/case-studies/)
    - [eBooks & White Papers](https://www.minitab.com/en-us/resources-services/resources/ebooks-and-white-papers/)
    - [Blog](https://blog.minitab.com/blog/?hsLang=en)
    - [Data Sets](https://www.minitab.com/en-us/resources-services/resources/data-set/)
    - [Webinars & Events](https://www.minitab.com/en-us/resources-services/resources/events/)
    - [Education Hub](https://www.minitab.com/en-us/resources-services/resources/education-hub/)
    - [Services](https://www.minitab.com/en-us/resources-services/services/)
    - [Training](https://www.minitab.com/en-us/resources-services/services/training/)
    - [Deployment](https://www.minitab.com/en-us/resources-services/services/deployment/)
    - [Consulting](https://www.minitab.com/en-us/resources-services/services/statistical-consulting/)
    - [Self-Paced Learning](https://www.minitab.com/en-us/resources-services/services/self-paced-learning/)
    - [Continuing Education](https://www.minitab.com/en-us/resources-services/services/continuing-education/)
- Support
  
  Back
  
  [Support](https://www.minitab.com/en-us/support/)
  
  [Technical Support](https://www.minitab.com/en-us/support/) 
    - [Subscriptions & Activation](https://www.minitab.com/en-us/support/subscriptions-and-activation/)
    - [Minitab Quick Start](https://www.minitab.com/en-us/support/quick-start/)
    - [Training](https://www.minitab.com/en-us/resources-services/services/training/)
    - [Installation Support](https://www.minitab.com/en-us/support/installation/)
    - [Support Videos](https://www.minitab.com/en-us/support/videos/)
    - [Support Documentation](https://www.minitab.com/en-us/support/documents/)
    - [Software Updates](https://www.minitab.com/en-us/support/software-updates/)
    - [Product Downloads](https://www.minitab.com/en-us/support/downloads/)
    - [Support Policy](https://www.minitab.com/en-us/support/policy/)
- Company
  
  Back
  
  [Company](https://www.minitab.com/en-us/company/)
  
  [Company](https://www.minitab.com/en-us/company/) 
    - [About Us](https://www.minitab.com/en-us/company/our-company/)
    - [Leadership Team](https://www.minitab.com/en-us/company/leadership-team/)
    - [Partners](https://www.minitab.com/en-us/company/partners/)
    - [Careers](https://www.minitab.com/en-us/company/careers/)
    - [Contact](https://www.minitab.com/en-us/company/contact-us/)
    - [News](https://www.minitab.com/en-us/company/press-releases/)

[Try/Buy](https://www.minitab.com/en-us/try-buy/)

- [Statistics](https://blog.minitab.com/en/blog/tag/statistics)
- [Data Analysis](https://blog.minitab.com/en/blog/tag/data-analysis)
  
    - <https://www.minitab.com/en-us/>
- [Quality Improvement](https://blog.minitab.com/en/blog/tag/quality-improvement)

- [Subscribe](https://info.minitab.com/blog/subscribe?hsLang=en)

![Minitab](https://20853177.fs1.hubspotusercontent-na1.net/hubfs/20853177/minitab-corp-logo.svg?t=1755011311618)

## Notice

You are now leaving minitab.com.

 Click Continue to proceed to:

 Continue

 Go Back

# ANOVA: Data Means and Fitted Means, Balanced and Unbalanced Designs

 Minitab Blog Editor  |  2/3/2016

 Topics: [Statistics](https://blog.minitab.com/en/blog/tag/statistics)

- [Share](https://www.linkedin.com/shareArticle?mini=true&url=https://blog.minitab.com/en/blog/marilyn-wheatleys-blog/anova-data-means-and-fitted-means-balanced-and-unbalanced-designs)
- [Share](https://www.facebook.com/sharer.php?u=https://blog.minitab.com/en/blog/marilyn-wheatleys-blog/anova-data-means-and-fitted-means-balanced-and-unbalanced-designs)

In this post, I’ll address some common questions we’ve received in [technical support](http://support.minitab.com) about the difference between fitted and data means, where to find each option within Minitab, and how Minitab calculates each.

First, let’s look at some definitions. It’s useful to have an example, so I’ll be using the Light Output data set from Minitab’s Data Set Library, which includes a description of the sample data [here](http://support.minitab.com/en-us/datasets/anova-data-sets/light-output-data/) . This same data set is available within Minitab by choosing **File**  > **Open Worksheet** , clicking the **Look in Minitab Sample Data folder**  button at the bottom, and then opening the file titled **LightOutput\_model.MTW** .

## Calculating Data Means

In an ANOVA, data means are the raw response variable means for each factor/level combination.

For the LightOutput data set, we can calculate the data means for Temperature by choosing **Stat** > **Basic Statistics** > **Display Descriptive Statistics**, and then completing the dialog box as shown below:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/e7f9c3df74e6bf359bd7b2c9d6d5b2fb-Jul-05-2025-10-42-55-0704-PM.png?width=334&height=351&name=e7f9c3df74e6bf359bd7b2c9d6d5b2fb-Jul-05-2025-10-42-55-0704-PM.png)

Click the **Statistics** button and make sure only **Mean** is selected, then click **OK** in each dialog. Repeat the above steps, and replace Temperature with GlassType to calculate the data means for that second factor. The session window will display these results:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/2018d9d24b3d4958e1a4abaa87c935b5-Jul-05-2025-10-42-43-3482-PM.png?width=276&height=229&name=2018d9d24b3d4958e1a4abaa87c935b5-Jul-05-2025-10-42-43-3482-PM.png)

The means calculated directly from the data shown above are the values that would be plotted in a Main Effects plot. To create that plot in Minitab, use **Stat** > **ANOVA** > **Main Effects Plot** and complete the dialog box as shown below:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/10798c96262e71dc5f2ac1faf970265d-Jul-05-2025-10-42-58-2994-PM.png?width=454&height=268&name=10798c96262e71dc5f2ac1faf970265d-Jul-05-2025-10-42-58-2994-PM.png)

Click **OK** display the graph, which will show the same mean values for each level of the two factors (I’ve added data labels to the graph below):

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/07a1919493ac7320ed88511665791f3e-Jul-05-2025-10-42-56-1463-PM.png?width=467&height=309&name=07a1919493ac7320ed88511665791f3e-Jul-05-2025-10-42-56-1463-PM.png)

So, **data means** are the *raw response variable means* for each factor/level combination. On the other hand, **fitted means** use least squares regression to predict the mean response values of a balanced design, in which your data has the same number of observations for every combination of factor levels. The two types of means are identical for balanced designs but can be different for unbalanced designs.

## Balanced Designs

As I mentioned above, in ANOVA a balanced design has an equal number of observations for all possible combinations of factor levels, whereas an unbalanced design has an unequal number of observations. 

If you’re not sure whether your design is balanced or not, Minitab makes it easy to find out. For the Light output data set, we can see that the design is balanced by choosing **Stat** > **Tables** > **Cross Tabulation and Chi-Square**, and then completing the dialog as shown below:

![1](https://blog.minitab.com/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/capture-8-Jul-05-2025-10-42-57-2410-PM.png)

Because there are 3 observations for every combination of Temperature and GlassType, this design is balanced.

We can fit a model to this data by choosing **Stat** > **ANOVA** > **General Linear Model** > **Fit General Linear Model**, and then completing that dialog box as shown below and clicking **OK**:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/eafcbac4acb154ce356c5776af0d4d31-Jul-05-2025-10-42-51-9623-PM.png?width=411&height=313&name=eafcbac4acb154ce356c5776af0d4d31-Jul-05-2025-10-42-51-9623-PM.png)

Now that we have a model for this data, we can obtain a main effect plot based on the least-squares model by choosing **Stat** > **ANOVA** > **General Linear Model** > **Factorial Plots** (NOTE: The Factorial Plots option will not be available until a model is fit, because these graphs are based on the model).  Click **OK** in the dialog box below to accept the defaults and generate the main effects plot:

![2](https://blog.minitab.com/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/capture-7-Jul-05-2025-10-42-49-8554-PM.png)

## Calculating Main Effects for Balanced Designs

Again, the fitted means in the main effects plot above are the same as the previous data means plot because this is a balanced design. In this case, the answer is the same, but Minitab obtained these results by finding the fitted value for every possible combination of factor levels. The following steps illustrate what Minitab is doing automatically, behind the scenes:

1. To obtain these fitted values, after the model has already been fit to the data, type all possible combinations of factor levels into the worksheet as shown below, and then use **Stat** > **ANOVA** > **General Linear Model** > **Predict**, and enter the two columns with all possible combinations:
   
   ![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/defee6b9e6ca9abe3913e934ff651ec1-Jul-05-2025-10-42-48-6606-PM.png?width=626&height=358&name=defee6b9e6ca9abe3913e934ff651ec1-Jul-05-2025-10-42-48-6606-PM.png)
2. Click **OK** in the dialog box above to store the results in the worksheet.
3. Now use **Stat** > **Basic Statistics** > **Store Descriptive Statistics** twice; once to get the means of the fits calculated in step 2 for Temp, and a second time to get the means of the fits for Glass Type:

![3](https://blog.minitab.com/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/capture-27-Jul-05-2025-10-42-47-5666-PM.png)

The results show the same means calculated in the fitted means main effects plot:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/cc634194e4ae1a338fa9a0d488a23d94-Jul-05-2025-10-42-53-9204-PM.png?width=262&height=115&name=cc634194e4ae1a338fa9a0d488a23d94-Jul-05-2025-10-42-53-9204-PM.png)

## Unbalanced Designs

Now let’s take a look at what happens in an unbalanced design, where there are an unequal number of observations per factor/level combination.

First, we’ll need to modify the worksheet to make the design unbalanced. Recall that this data set includes 3 observations per combination of factor levels. To make the design unbalanced, I’m changing the second row of data in the Temperature column. The original value there was 125, and I’ve changed that to 100:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/d311fe6fb278847ba8497bd12ab93083-Jul-05-2025-10-42-52-8403-PM.png?width=286&height=123&name=d311fe6fb278847ba8497bd12ab93083-Jul-05-2025-10-42-52-8403-PM.png)

With the data modified as shown above, we can use **Stat** > **Tables** > **Cross Tabulation and Chi-Square** again to see that the design is unbalanced:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/078deb10e154741f9c08a2962985da49-Jul-05-2025-10-42-45-5819-PM.png?width=350&height=191&name=078deb10e154741f9c08a2962985da49-Jul-05-2025-10-42-45-5819-PM.png)

## Calculating Main Effects for Unbalanced Designs

Now let’s fit a model to this data using **Stat** > **ANOVA** > **General Linear Model** > **Fit General Linear Model**. This time, click the **Results** button and use the drop-down list next to **Coefficients** to select **Full set of coefficients**, then click **OK** in each dialog. Our results are different. If we generate new factorial plots using the new model, we can see that some of these fitted means are different than those in the balanced model:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/a8c6b31bbd9947b9e37c7b6aea4a9281-Jul-05-2025-10-42-50-8339-PM.png?width=438&height=286&name=a8c6b31bbd9947b9e37c7b6aea4a9281-Jul-05-2025-10-42-50-8339-PM.png)

We can calculate the fitted means of the main effects in the same way as we calculated them for the balanced case, or we can see the same results by looking at the full table of coefficients:

![](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/c6f927ab025d5da0aa0c3639568eef46-Jul-05-2025-10-42-44-5174-PM.png?width=386&height=196&name=c6f927ab025d5da0aa0c3639568eef46-Jul-05-2025-10-42-44-5174-PM.png)

The fitted mean in the main effects plot for temperature at 100 is calculated by adding the coefficient for temperature at 100 to the constant.  So 957.3 + (-349.5) = 607.8 (rounded).  For temperature at 125, we add 957.3 + 111.5 = 1168.8, and so forth.

If you’ve enjoyed this post and would like to learn more, check out our other blog posts related to [ANOVA](https://blog.minitab.com/blog/statistics-and-quality-data-analysis?blog_id=079e7c3c-16b0-49f1-b495-d019505642f3&search_terms=anova&button-submit.x=0&button-submit.y=0&hsLang=en).

  

## You Might Also Like

<https://blog.minitab.com/en/blog/it-vs.-ot-unlocking-the-power-of-convergence?hsLang=en>

[IT vs. OT: Unlocking the Power of Convergence](https://blog.minitab.com/en/blog/it-vs.-ot-unlocking-the-power-of-convergence?hsLang=en)

[Operations](https://blog.minitab.com/en/blog/tag/operations)  | 6 Minute Read

<https://blog.minitab.com/en/blog/updating-graphs-patterned-data-tips-tricks-master-minitab?hsLang=en>

[Updating Graphs, Making Patterned Data and More Tips & Tricks to Help You Master Minitab](https://blog.minitab.com/en/blog/updating-graphs-patterned-data-tips-tricks-master-minitab?hsLang=en)

[Statistics](https://blog.minitab.com/en/blog/tag/statistics)  | 6 Minute Read

<https://blog.minitab.com/en/blog/honoring-women-in-math-and-statistics?hsLang=en>

[Against the Odds: Honoring Women in Math and Statistics](https://blog.minitab.com/en/blog/honoring-women-in-math-and-statistics?hsLang=en)

[Statistics](https://blog.minitab.com/en/blog/tag/statistics)  | 5 Minute Read

---

- [Careers](https://www.minitab.com/en-us/company/careers/)
- [Trust Center](https://www.minitab.com/en-us/trust-center/)
- [Suppliers](https://www.minitab.com/en-us/suppliers/)
- [Site Map](https://www.minitab.com/en-us/site-map/)

- [![linkedin](https://blog.minitab.com/hubfs/WCM/linkedin-1.png)](https://www.linkedin.com/company/minitab/)
- [![facebook](https://blog.minitab.com/hubfs/WCM/facebook.png)](https://www.facebook.com/Minitab/)
- [![youtube](https://blog.minitab.com/hubfs/WCM/youtube.png)](https://www.youtube.com/user/MinitabInc)
- [![instagram](https://blog.minitab.com/hubfs/WCM/instagram.png)](https://www.instagram.com/minitab/)

---

© 2025 Minitab, LLC. All Rights Reserved.

- [Terms of Use](https://www.minitab.com/en-us/legal/terms-of-use/)
- [Privacy Policy](https://www.minitab.com/en-us/legal/privacy-policy/)
- [Legal](https://www.minitab.com/en-us/legal/)

- Cookies Settings