---
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
---

- [Partners](https://www.minitab.com/en-us/company/partners/)
- [Contact](https://www.minitab.com/en-us/company/contact-us/)
- [Talk to Minitab](https://www.minitab.com/en-us/talk-to-minitab/)
- [My Account](https://licensing.minitab.com/account/manage)

<https://blog.minitab.com/?hsLang=en>

 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) [Scytec Data Collection & OEE](https://www.minitab.com/en-us/products/scytec-data-collection-and-oee/) [Minitab Simul8](https://www.minitab.com/en-us/products/simul8/) [SPM](https://www.minitab.com/en-us/products/spm/)

 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://www.minitab.com/en-us/products/simul8/)

[Key Capabilities](https://www.minitab.com/en-us/solutions/key-capabilities/) [Automated Data Collection](https://www.minitab.com/en-us/solutions/key-capabilities/automated-data-collection/) [Advanced Design of Experiments](https://www.minitab.com/en-us/solutions/key-capabilities/advanced-design-of-experiments-omars/) [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://www.minitab.com/en-us/solutions/key-capabilities/digital-twins/) [Innovation & Project Management](https://www.minitab.com/en-us/solutions/key-capabilities/innovation-project-management/) [Model Deployment & ML Ops](https://www.minitab.com/en-us/solutions/key-capabilities/model-deployment-ml-ops/) [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/) [Construction](https://www.minitab.com/en-us/solutions/industry/construction/) [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/) [Pharmaceuticals](https://www.minitab.com/en-us/solutions/industry/pharmaceuticals/) [Services](https://www.minitab.com/en-us/solutions/industry/service-industries/) [Software & Technology](https://www.minitab.com/en-us/solutions/industry/software-technology/)

[Featured Roles](https://www.minitab.com/en-us/solutions/role/) [Engineering](https://www.minitab.com/en-us/solutions/role/engineering/) [Business Analysts](https://www.minitab.com/en-us/solutions/role/business-analysts/) [Research & Development](https://www.minitab.com/en-us/solutions/role/research-and-development/) [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/)

 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

[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

[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/)

[Start a free trial](https://www.minitab.com/en-us/products/minitab/free-trial/)

[Start a free trial](https://www.minitab.com/en-us/products/minitab/free-trial/)

- [Partners](https://www.minitab.com/en-us/company/partners/)
- [Contact](https://www.minitab.com/en-us/company/contact-us/)
- [Talk to Minitab](https://www.minitab.com/en-us/talk-to-minitab/)
- [My Account](https://licensing.minitab.com/account/manage)

[← *Return to blog home*](https://blog.minitab.com/en/blog)

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

![ANOVA: Data Means and Fitted Means, Balanced and Unbalanced Designs](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)

---

Written by **Minitab Blog Editor**

Published **February 3 2016**

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).

  

[Back to Top of Page](https://blog.minitab.com/en/blog/marilyn-wheatleys-blog/anova-data-means-and-fitted-means-balanced-and-unbalanced-designs#main-content)

Keep up with us

On this page

Published

 February 3 2016

Share

- Copy Link
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=)
- [Twitter](https://twitter.com/intent/tweet?url=)

[Minitab for manufacturing →](https://www.minitab.com/en-us/solutions/industry/manufacturing-industrial/)

## Discover More

### [![“Soft” Type II Savings: How To Bring Them to the P&L](https://blog.minitab.com/hubfs/SoftSavings_CI-CSuite.png) “Soft” Type II Savings: How To Bring Them to the P&L BANKING AND FINANCE](https://blog.minitab.com/en/blog/soft-type-ii-savings-how-to-bring-them-to-the-pl?hsLang=en)

### [![What Causes Manufacturing Scrap? Common Causes and How to Diagnose Them](https://blog.minitab.com/hubfs/lilian-do-khac-EyqUxJuOb1Q-unsplash.jpg) What Causes Manufacturing Scrap? Common Causes and How to Diagnose Them MANUFACTURING](https://blog.minitab.com/en/blog/what-causes-manufacturing-scrap?hsLang=en)

### [![AI’s ROI Reckoning: 3 Lessons for Manufacturers Investing in AI](https://blog.minitab.com/hubfs/AI_in_manufacturing.jpeg) AI’s ROI Reckoning: 3 Lessons for Manufacturers Investing in AI MANUFACTURING](https://blog.minitab.com/en/blog/ais-roi-reckoning-3-lessons-for-manufacturers-investing-in-ai?hsLang=en)

1829 Pine Hall Rd, State College,  
PA 16801, United States  
+1 814-238-3280

Join our Newsletter

Stay in touch with the fast-paced analytics world. All insights, no fluff.

#### Industries

- [Academic](https://www.minitab.com/en-us/industries/academic/)
- [Energy & Natural Resources](https://www.minitab.com/en-us/industries/energy-natural-resources/)
- [Government & Public Sector](https://www.minitab.com/en-us/industries/government-public-sector/)
- [Healthcare](https://www.minitab.com/en-us/industries/healthcare/)
- [Insurance](https://www.minitab.com/en-us/industries/insurance/)
- [Manufacturing & Industrial](https://www.minitab.com/en-us/industries/manufacturing-industrial/)
- [Services](https://www.minitab.com/en-us/industries/services/)
- [Software & Technology](https://www.minitab.com/en-us/industries/software-technology/)
- [Construction](https://www.minitab.com/en-us/industries/construction/)

#### Solutions

- [Digital Transformation](https://www.minitab.com/en-us/solutions/digital-transformation/)
- [Quality Improvement](https://www.minitab.com/en-us/solutions/quality-improvement/)
- [AI-enabled Analytics](https://www.minitab.com/en-us/solutions/ai-enabled-analytics/)
- [Process Optimization](https://www.minitab.com/en-us/solutions/process-optimization/)
- [Risk Reduction](https://www.minitab.com/en-us/solutions/risk-reduction/)
- [Workforce Enablement](https://www.minitab.com/en-us/solutions/workforce-enablement/)
- [Research and Development](https://www.minitab.com/en-us/solutions/research-development/)

#### Company

- [Careers](https://www.minitab.com/en-us/company/careers/)
- [Legal](https://www.minitab.com/en-us/company/legal/)
- [Terms of Use](https://www.minitab.com/en-us/company/legal/terms-of-use/)
- Cookies Setting
- [Privacy Notice](https://www.minitab.com/en-us/company/legal/privacy-notice/)

 © 2026 Minitab. All rights reserved.