{"id":12484,"date":"2020-05-11T17:27:48","date_gmt":"2020-05-11T11:57:48","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/"},"modified":"2024-09-04T10:42:29","modified_gmt":"2024-09-04T05:12:29","slug":"analysis-of-variance-anova","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/","title":{"rendered":"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions"},"content":{"rendered":"\n<p><em>Contributed by: Mr. MH Siddiqui<br>LinkedIn profile:&nbsp;<a rel=\"nofollow noreferrer noopener\" href=\"https:\/\/www.linkedin.com\/in\/masood-siddiqui-7118a71b\/\" target=\"_blank\">https:\/\/www.linkedin.com\/in\/masood-siddiqui-7118a71b\/<\/a> <\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-analysis-of-variance-anova\"><strong>What is Analysis of Variance (ANOVA)?<\/strong><\/h2>\n\n\n\n<p>In some decision-making situations, the sample data may be divided into various groups i.e. the sample may be supposed to have consisted of k-sub samples. There are interest lies in examining whether the total sample can be considered as homogenous or there is some indication that sub-samples have been drawn from different populations. So, in these situations, we have to compare the mean values of various groups, with respect to one or more criteria.<\/p>\n\n\n\n<p>The total variation present in a set of data may be partitioned into a number of non-overlapping components as per the nature of the classification. The systematic procedure to achieve this is called <strong><a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/analysis-of-variance\" target=\"_blank\" rel=\"noreferrer noopener\">Analysis of Variance<\/a> (ANOVA)<\/strong>. With the help of such a partitioning, some testing of hypothesis may be performed.&nbsp;<\/p>\n\n\n\n<p>Initially, Analysis of Variance (<a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/analysis-of-variance\" target=\"_blank\" rel=\"noreferrer noopener\">ANOVA<\/a>) had been employed only for the experimental data from the Randomized Designs but later they have been used for analyzing survey and secondary data from the Descriptive Research.&nbsp;<\/p>\n\n\n\n<p>Analysis of Variance may also be visualized as a technique to examine a dependence relationship where the response (dependence) variable is metric (measured on interval or ratio scale) and the factors (independent variables) are categorical in nature with a number of categories more than two.&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"example-of-anova\"><strong>Example of ANOVA<\/strong><\/h4>\n\n\n\n<p>Ventura is an <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/data-science-in-fmcg\" target=\"_blank\" rel=\"noreferrer noopener\">FMCG<\/a> company, selling a range of products. Its outlets have been spread over the entire state. For administrative and planning purpose, Ventura has sub-divided the state into four geographical-regions (Northern, Eastern, Western and Southern). Random sample data of sales collected from different outlets spread over the four geographical regions.&nbsp;<\/p>\n\n\n\n<p>Variation, being a fundamental characteristics of data, would always be present. Here, the total variation in the sales may be measured by the squared sum of deviation from the mean sales. If we analyze the sources of variation in the sales, in this case, we may identify two sources:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Sales within a region would differ and this would be true for all four regions (within-group variations)<\/li>\n\n\n\n<li>There might be impact of the regions and mean-sales of the four regions would not be all the same i.e. there might be variation among regions (between-group variations).<\/li>\n<\/ul>\n\n\n\n<p>So, total variation present in the sample data may be partitioned into two components: between-regions and within-regions and their magnitudes may be compared to decide whether there is a substantial difference in the sales with respect to regions. If the two variations are in close agreement, then there is no reason to believe that sales are not same in all four regions and if not then it may be concluded that there exists a substantial difference between some or all the regions.<\/p>\n\n\n\n<p>Here, it should be kept in mind that ANOVA is the partitioning of variation as per the assignable causes and random component and by this partitioning ANOVA technique may be used as a method for testing significance of difference among means (more than two).&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"types-of-analysis-of-variance-anova\"><strong>Types of Analysis of Variance (ANOVA)<\/strong><\/h2>\n\n\n\n<p>If the values of the response variable have been affected by only one factor (different categories of single factor), then there will be only one assignable reason by which data is sub-divided, then the corresponding analysis will be known as <strong>One-Way Analysis of Variance<\/strong>.&nbsp; The example (Ventura Sales) comes in this category. Other examples may be: examining the difference in analytical-aptitude among students of various subject-streams (like engineering graduates, management graduates, statistics graduates); impact of different modes of advertisements on brand-acceptance of consumer durables etc.<\/p>\n\n\n\n<p>On the other hand, if we consider the effect of more than one assignable cause (different categories of multiple factors) on the response variable then the corresponding analysis is known as <strong>N-Way ANOVA<\/strong> (N&gt;=2). In particular, if the impact of two factors (having multiple categories) been considered on the dependent (response) variable then that is known as <strong>Two-Way ANOVA<\/strong>. For example: in the Ventura Sales, if along with geographical-regions (Northern, Eastern, Western and Southern), one more factor \u2018type of outlet\u2019 (Rural and Urban) has been considered then the corresponding analysis will be Two-Way ANOVA. More examples: examining the difference in analytical-aptitude among students of various subject-streams and geographical locations; the impact of different modes of advertisements and occupations on brand-acceptance of consumer durables etc.<\/p>\n\n\n\n<p>Two-Way ANOVA may be further classified into two categories:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Two-Way ANOVA with one observation per cell<\/strong>: there will be only one observation in each cell (combination). Suppose, we have two factors A (having m categories) and B (having n categories), So, there will be N= m*n total observations with one observation(data-point) in each of (A<sub>i <\/sub>B<sub>j<\/sub>) cell (combination), i=1, 2, \u2026\u2026., m and j= 1, 2, \u2026..n. Here, the effect of the two factors may be examined.<\/li>\n\n\n\n<li><strong>Two-Way ANOVA with multiple observations per cell<\/strong>: there will be multiple observations in each cell (combination). Here, along with the effect of two factors, their interaction effect may also be examined. Interaction effect occurs when the impact of one factor (assignable cause) depends on the category of other assignable cause (factor) and so on. For examining interaction-effect it is necessary that each cell (combination) should have more than one observations so it may not be possible in the earlier Two-Way ANOVA with one observation per cell.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conceptual-background\"><strong>Conceptual Background<\/strong><\/h2>\n\n\n\n<p>The fundamental concept behind the Analysis of Variance is \u201c<strong>Linear Model<\/strong>\u201d.&nbsp;<\/p>\n\n\n\n<p>X<sub>1<\/sub>, X<sub>2<\/sub>,\u2026\u2026\u2026.X<sub>n<\/sub> are observable quantities. Here, all the values can be expressed as:<\/p>\n\n\n\n<p>X<sub>i<\/sub> = \u00b5<sub>i<\/sub> + e<sub>i<\/sub>&nbsp;<\/p>\n\n\n\n<p>Where \u00b5<sub>i<\/sub> is the true value which is because of some assignable causes and e<sub>i<\/sub> is the error term which is because of random causes. Here, it has been assumed that all error terms e<sub>i<\/sub> are independent distributed normal variate with mean zero and common variance (\u03c3<sub>e<\/sub><sup>2<\/sup>).&nbsp;<\/p>\n\n\n\n<p>Further, true value \u00b5<sub>i<\/sub> can be assumed to be consist of a linear function of t<sub>1<\/sub>, t<sub>2<\/sub>,\u2026\u2026.t<sub>k<\/sub>, known as \u201ceffects\u201d.<\/p>\n\n\n\n<p>If in a linear model, all effects t<sub>j<\/sub>\u2019s are unknown constants (parameters), then that linear model is known as \u201c<strong>fixed-effect model<\/strong>\u201d. Otherwise, if effects t<sub>j<\/sub>\u2019s are random variables then that model is known as \u201c<strong>random-effect model<\/strong>\u201d.&nbsp;<\/p>\n\n\n\n<p><strong>One-Way Analysis of Variance&nbsp;<\/strong><\/p>\n\n\n\n<p>We have n observations (X<sub>ij<\/sub>), divided into k groups, A<sub>1<\/sub>, A<sub>2<\/sub>,\u2026\u2026.A<sub>k<\/sub>, with each group having n<sub>j<\/sub> observations.<\/p>\n\n\n\n<p>Here, the proposed fixed-effect linear model is:&nbsp;<\/p>\n\n\n\n<p>X<sub>ij<\/sub> = \u00b5<sub>i<\/sub> + e<sub>ij<\/sub>&nbsp;<\/p>\n\n\n\n<p>Where \u00b5<sub>i<\/sub> is the mean of the i<sup>th<\/sup> group.<\/p>\n\n\n\n<p>General effect (grand mean): \u00b5 = \u03a3 (n<sub>i<\/sub>. \u00b5<sub>i<\/sub>)\/n&nbsp;<\/p>\n\n\n\n<p>and additional effect of the i<sup>th<\/sup> group over the general effect: \u03b1<sub>i<\/sub> = \u00b5<sub>i<\/sub> - \u00b5.<\/p>\n\n\n\n<p>So, the linear model becomes:&nbsp;<\/p>\n\n\n\n<p>&nbsp;X<sub>ij<\/sub> = \u00b5 + \u03b1<sub>i<\/sub> + e<sub>ij<\/sub><\/p>\n\n\n\n<p>with \u03a3<sub>i<\/sub> (n<sub>i<\/sub> \u03b1<sub>i<\/sub>) = 0<\/p>\n\n\n\n<p>The least-square estimates of \u00b5 and \u03b1i may be determined by minimizing error sum of square (\u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> e<sub>ij<\/sub><sup>2<\/sup>)<sup> <\/sup>= \u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> (X<sub>ij<\/sub> - \u00b5 - \u03b1<sub>i<\/sub>)<sup>2 <\/sup>as:<\/p>\n\n\n\n<p>X.. (combined mean of the sample) and X<sub>i<\/sub>. (mean of the i<sup>th<\/sup> group in the sample).<\/p>\n\n\n\n<p>So, the estimated linear model becomes:<\/p>\n\n\n\n<p>X<sub>ij<\/sub> = X.. + (X<sub>i<\/sub>.- X..) + (X<sub>ij<\/sub>- X<sub>i<\/sub>.)<\/p>\n\n\n\n<p>This can be further solved as:<\/p>\n\n\n\n<p>\u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> (X<sub>ij<\/sub> \u2013X..)<strong><sup>2<\/sup><\/strong> = \u03a3<sub>i<\/sub> n<sub>i<\/sub> (X<sub>i<\/sub>.- X..)<strong><sup>2<\/sup><\/strong> + \u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> (X<sub>ij<\/sub> \u2013X<sub>i<\/sub>.)<strong><sup>2<\/sup><\/strong><\/p>\n\n\n\n<p>Total Sum of Square = Sum of square due to group-effect + Sum of square due to error<\/p>\n\n\n\n<p>or<\/p>\n\n\n\n<p>Total Sum of Square= Between Group Sum of square+ Within Group Sum of square&nbsp;<\/p>\n\n\n\n<p>TSS= SSB + SSE<\/p>\n\n\n\n<p>Further, Mean Sum of Square may be given as:<\/p>\n\n\n\n<p>MSB = SSB\/(k-1) and MSE = SSE\/(n-k),&nbsp;<\/p>\n\n\n\n<p>where (k-1) is the degree of freedom (df) for SSB and (n-k) is the df for SSE.<\/p>\n\n\n\n<p>Here, it should be noted that SSB and SSE added up to TSS and the corresponding df\u2019s (k-1) and (n-k) add up to total df (n-1) but MSB and MSE will not be added up to Total MS.<\/p>\n\n\n\n<p>This by partitioning TSS and total df into two components, we may be able to test the hypothesis:<\/p>\n\n\n\n<p>H<sub>0<\/sub>: \u00b5<sub>1<\/sub> = \u00b5<sub>2<\/sub>=\u2026\u2026\u2026.= \u00b5<sub>k<\/sub>&nbsp;<\/p>\n\n\n\n<p>H<sub>1<\/sub>: Not all \u00b5\u2019s are same i.e. at least one \u00b5 is different from others.<\/p>\n\n\n\n<p>or alternatively:<\/p>\n\n\n\n<p>H<sub>0<\/sub>: \u03b1<sub>1<\/sub> = \u03b1<sub>2<\/sub>=\u2026\u2026\u2026.= \u03b1<sub>k<\/sub> =0<\/p>\n\n\n\n<p>H<sub>1<\/sub>: Not all \u03b1\u2019s are zero i.e. at least one \u03b1 is different from zero.<\/p>\n\n\n\n<p>MSE has always been an unbiased estimate of \u03c3<sub>e<\/sub><sup>2 <\/sup>and if H<sub>0 <\/sub>is true then MSB will also be an unbiased estimate of \u03c3<sub>e<\/sub><sup>2<\/sup>.&nbsp;<\/p>\n\n\n\n<p>Further MSB\/ \u03c3<sub>e<\/sub><sup>2<\/sup> will follow Chi-square (\u03c7<sup>2<\/sup>) distribution with(k-1) df and MSE\/ \u03c3<sub>e<\/sub><sup>2<\/sup> will follow Chi-square (\u03c7<sup>2<\/sup>) distribution with(n-k) df. These two \u03c7<sup>2<\/sup> distributions are independent so the ratio of two Chi-square (\u03c7<sup>2<\/sup>) variate F= MSB\/MSE will follow variance-ratio distribution (F distribution) with (k-1), (n-k) df.&nbsp;<\/p>\n\n\n\n<p>Here, the test-statistic F is a right-tailed test (one-tailed Test). Accordingly, p-value may be estimated to decide about reject\/not able to reject of the null hypothesis H<sub>0<\/sub>.<\/p>\n\n\n\n<p>If is H<sub>0 <\/sub>rejected i.e. all \u00b5\u2019s are not same then rejecting the null hypothesis does not inform which group-means are different from others, So, Post-Hoc Analysis is to be performed to identify which group-means are significantly different from others. Post Hoc Test is in the form of multiple comparison by testing equality of two group-means (two at a time) i.e. H<sub>0<\/sub>: \u00b5<sub>p<\/sub> = \u00b5<sub>q <\/sub>by using two-group independent samples test or by comparing the difference between sample means (two at a time) with the least significance difference (LSD)\/critical difference (CD)&nbsp;<\/p>\n\n\n\n<p>= t<sub>error-df<\/sub>*MSE\/ (1\/n<sub>p<\/sub>+1\/n<sub>q<\/sub> )<sup>1\/2 <\/sup>&nbsp;<\/p>\n\n\n\n<p>If observed difference between two means is greater than the LSD\/CD then the corresponding Null hypothesis is rejected at alpha level of significance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"assumptions-for-anova\"><strong>Assumptions for ANOVA<\/strong><\/h2>\n\n\n\n<p>Though it has been discussed in the conceptual part just to reiterate it should be ensured that the following assumptions must be fulfilled:<\/p>\n\n\n\n<p>1. The populations from where samples have been drawn should follow a <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/probability-and-normal-distribution\" target=\"_blank\" rel=\"noreferrer noopener\">normal distribution<\/a>.<\/p>\n\n\n\n<p>2. The samples have been selected randomly and independently.&nbsp;&nbsp;<\/p>\n\n\n\n<p>3. Each group should have common variance i.e. should be homoscedastic i.e. the variability in the dependent variable values within different groups is equal.<\/p>\n\n\n\n<p>It should be noted that the Linear Model used in ANOVA is not affected by minor deviations in the assumptions especially if the sample is large.<\/p>\n\n\n\n<p>The Normality Assumption may be checked using Tests of Normality: Shapiro-Wilk Test and Kolmogorov-Smirnov Test with Lilliefors Significance Correction. Here, Normal Probability Plots (P-P Plots and Q-Q Plots) may also be used for checking normality assumption. The assumption of Equality of Variances (homoscedasticity) may be checked using different Tests of Homogeneity of Variances (Levene Test, Bartlett's test, Brown\u2013Forsythe test etc.).&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"anova-vs-t-test\"><strong>ANOVA vs T-test<\/strong><\/h2>\n\n\n\n<p>We employ two-independent sample T-test to examine whether there exists a significant difference in the means of two categories i.e. the two samples have come from the same or different populations. The extension to it may be applied to perform multiple T-tests (by taking two at a time) to examine the significance of the difference in the means of k-samples in place of ANOVA. If this is attempted, then the errors involved in the testing of hypothesis (type I and type II error) can\u2019t be estimated correctly and the value of type I error will be much more than alpha (significance level). So, in this situation, ANOVA is always preferred over multiple intendent samples T-tests.<\/p>\n\n\n\n<p>Like, in our example we have four categories of the regions Northern (N), Eastern (E), Western (W) and Southern (S). If we want to compare the population means by using two-independent sample T-test i.e. by taking two categories (groups) at a time. We have to make <sup>4<\/sup>C<sub>2<\/sub> = 6 number of comparisons i.e. six independent samples tests have to performed (Tests comparing N with S, N with E, N with W, E with W, E with S and W with S), Suppose we are using 5% level of significance for the null hypothesis based on six individual T-tests, then type I error will be = 1- (0.95)<sup>6 <\/sup>=1-0.735= 0.265 i.e. 26.5%.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"one-way-anova-in-spss\"><strong>One-Way ANOVA in SPSS<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Analyze<\/strong> => <strong>Compare Means<\/strong>=> <strong>One-Way ANOVA<\/strong> to open relevant dialogue box.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Dependent variable in the <strong>Dependent List<\/strong> box and independent variable in the <strong>Factor<\/strong> box are to be entered.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>Options\u2026 <\/strong>command-button to open <strong>One-Way ANOVA: Options<\/strong> sub-dialogue box. Check <strong>Descriptive<\/strong> and <strong>Homogeneity-of-variance<\/strong> boxes under <strong>Statistics<\/strong>. Press <strong>Continue<\/strong> to return to the main dialogue box.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>Post Hoc\u2026<\/strong> command-button to open <strong>One-Way ANOVA: Post Hoc Multiple Comparisons<\/strong> sub-dialogue box. We will get a number of options for multiple comparison tests. We will select an appropriate test and check that (eg. <strong>Tukey HSD<\/strong>). Press <strong>Continue<\/strong> to return to the main dialogue box.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>Ok<\/strong> to have the output.\u00a0<\/li>\n<\/ul>\n\n\n\n<p>Here, we consider the example of Ventura Sales, where the sample has been sub-divided into four geographical regions (Northern, Eastern, Western and Southern), so we have four groups. So, the Hypotheses:<\/p>\n\n\n\n<p>Null Hypothesis H<sub>0<\/sub>: \u00b5<sub>N<\/sub> = \u00b5<sub>E <\/sub>= \u00b5<sub>W <\/sub>= \u00b5<sub>S<\/sub>&nbsp;<\/p>\n\n\n\n<p>Alternative Hypothesis H<sub>1<\/sub>: Not all \u00b5\u2019s are same i.e. at least one \u00b5 is different from others.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>ANOVA<\/strong><\/td><\/tr><tr><td>Sale of the outlet (Rs.'000)&nbsp;&nbsp;<\/td><\/tr><tr><td><br><\/td><td>Sum of Squares<\/td><td>df<\/td><td>Mean Square<\/td><td>F<\/td><td>Sig.<\/td><\/tr><tr><td>Between Groups<\/td><td>1182.803<\/td><td>3<\/td><td>394.268<\/td><td>10.771<\/td><td>.000<\/td><\/tr><tr><td>Within Groups<\/td><td>2049.780<\/td><td>56<\/td><td>36.603<\/td><td><br><\/td><td><br><\/td><\/tr><tr><td>Total<\/td><td>3232.583<\/td><td>59<\/td><td><br><\/td><td><br><\/td><td><br><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>As per the ANOVA table, Total Sum of Square (TSS)= 3232.583 has been partitioned into two sums of squares: Between Groups Sum of Square (BSS)= 1182.803 and Within Groups Sum of Square (SSE)= 2049.780. The corresponding Mean Sum of Squares are MSB = 394.268 and MSE= 36.603. It is evident that magnitude of the between-group variation is much higher as compared to within-group variation i.e. two variations are not in close agreement then there is reason to believe that sales are not same in all four regions. Further, the Variance Ratio: F statistic = MSB\/MSE = 394.268\/36.603 = 10.771 appears to be significantly higher than 1 this supports the view that sales are not the same in all four regions. Finally, the p-value (Sig. = 0.000 &lt; 0.05), which is a substantially low value, indicates that the Null Hypothesis H<sub>0 <\/sub>may be rejected at 5% level of significance i.e. there exists a substantial difference in the mean sales among some or all the regions.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><br><strong>Test of Homogeneity of Variances<\/strong><\/td><\/tr><tr><td>Sale of the outlet (Rs.'000)&nbsp;&nbsp;<\/td><\/tr><tr><td>Levene Statistic<\/td><td>df1<\/td><td>df2<\/td><td>Sig.<\/td><\/tr><tr><td>1.909<\/td><td>3<\/td><td>56<\/td><td>.139<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The Test of Homogeneity of Variance Table indicates that the assumption of homogeneity of variance (homoscedasticity) has not been violated as the Levene\u2019s Statistics is not significant (p value = 0.139 &gt;0.05) at 5% level of significance.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Check out this free course on <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/basics-of-exploratory-data-analysis\" target=\"_blank\" rel=\"noreferrer noopener\">Basics of exploratory data analysis<\/a>.<\/p>\n\n\n\n<p><strong>Post Hoc Tests<\/strong><\/p>\n\n\n\n<p><strong>Multiple Comparison<\/strong><\/p>\n\n\n\n<p>Dependent Variable: Sale of the outlet (Rs.'000)&nbsp;&nbsp;<\/p>\n\n\n\n<p>Tukey HSD<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>(I) Location of the outlet in the region<\/td><td>(J) Location of the outlet in the region<\/td><td>Mean Difference (I-J)<\/td><td>Std. Error<\/td><td>Sig.<\/td><\/tr><tr><\/tr><tr><td>Northern<\/td><td>Eastern<\/td><td>8.636<sup>*<\/sup><\/td><td>2.850<\/td><td>.044<\/td><\/tr><tr><td>Western<\/td><td>9.897<sup>*<\/sup><\/td><td>2.621<\/td><td>.014<\/td><\/tr><tr><td>Southern<\/td><td>16.836<sup>*<\/sup><\/td><td>2.886<\/td><td>.000<\/td><\/tr><tr><td>Eastern<\/td><td>Northern<\/td><td>-8.636<sup>*<\/sup><\/td><td>2.850<\/td><td>.044<\/td><\/tr><tr><td>Western<\/td><td>1.261<\/td><td>1.738<\/td><td>.979<\/td><\/tr><tr><td>Southern<\/td><td>8.200<sup>*<\/sup><\/td><td>2.116<\/td><td>.012<\/td><\/tr><tr><td>Western<\/td><td>Northern<\/td><td>-9.897<sup>*<\/sup><\/td><td>2.621<\/td><td>.014<\/td><\/tr><tr><td>Eastern<\/td><td>-1.261<\/td><td>1.738<\/td><td>.979<\/td><\/tr><tr><td>Southern<\/td><td>6.939<sup>*<\/sup><\/td><td>1.795<\/td><td>.033<\/td><\/tr><tr><td>Southern<\/td><td>Northern<\/td><td>-16.836<sup>*<\/sup><\/td><td>2.886<\/td><td>.000<\/td><\/tr><tr><td>Eastern<\/td><td>-8.200<sup>*<\/sup><\/td><td>2.116<\/td><td>.012<\/td><\/tr><tr><td>Western<\/td><td>-6.939<sup>*<\/sup><\/td><td>1.795<\/td><td>.033<\/td><\/tr><tr><td>*The mean difference is significant at the 0.05 level.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Finally, Post Hoc Tests have been performed since the null hypothesis H<sub>0 <\/sub>has been rejected so we are interested to examine which regions are different. Here, just for the demonstration purpose, Tukey HSD Test have been employed. The test consists of multiple comparisons by testing equality of group-means (two at a time) i.e. H<sub>0<\/sub>: \u00b5<sub>p<\/sub> = \u00b5<sub>q<\/sub> for each of six pairs.&nbsp;<\/p>\n\n\n\n<p>There is significant difference in the pairs: Northern # Eastern (Sig. = 0.044), Northern # Western (Sig. = 0.014), Northern # Southern (Sig. = 0.000), Eastern # Southern (Sig. = 0.012) and Western # Southern (Sig. = 0.000) but Eastern and Western regions are not significantly different (Sig. = 0.979) with respect to mean-sales. So, it can be proposed that Northern region mean-sales is significantly different from other regions the same is with Southern region mean-sales. Whereas, there is insignificant difference in the mean-sales of Eastern and Western regions but they are significantly different from the Northern and Southern regions.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"two-way-analysis-of-variance-two-way-anova\"><strong>Two-Way Analysis of Variance (Two-Way ANOVA)&nbsp;&nbsp;<\/strong><\/h2>\n\n\n\n<p>Here, the value of the dependent variable (response variable) may be impacted by two assignable causes (factors). For example: in the Ventura Sales along with geographical regions (Northern, Eastern, Western and Southern), termed as Factor \u201cA\u201d, we want to examine the impact of the type of outlet (Rural and Urban), termed as Factor \u201cB\u201d, on the mean-sales of the outlets.<\/p>\n\n\n\n<p>Here, the proposed fixed-effect Linear Model is:<\/p>\n\n\n\n<p>X<sub>ijk<\/sub> = \u00b5<sub>ij<\/sub> + e<sub>ijk<\/sub>&nbsp;<\/p>\n\n\n\n<p>Where, \u00b5<sub>ij<\/sub> is the true-value of the (i, j)<sup>th<\/sup> cell and e<sub>ijk<\/sub> is the error term. Error term is assumed to be independently normally distributed with zero mean and common variance. \u00b5<sub>ij<\/sub> is further decomposed as:&nbsp;&nbsp;<\/p>\n\n\n\n<p>\u00b5<sub>ij<\/sub> = \u00b5 + \u03b1<sub>i<\/sub> + \u03b2<sub>j<\/sub> + \u03b3<sub>ij<\/sub><\/p>\n\n\n\n<p>So, the fixed effect Linear Model becomes:<\/p>\n\n\n\n<p>X<sub>ijk<\/sub> = \u00b5 + \u03b1<sub>i<\/sub> + \u03b2<sub>j<\/sub> + \u03b3<sub>ij<\/sub>+ e<sub>ijk<\/sub><\/p>\n\n\n\n<p>Where,&nbsp;<\/p>\n\n\n\n<p>\u00b5 = Overall Mean Value<\/p>\n\n\n\n<p>\u03b1<sub>i<\/sub> = Effect of the Factor A<sub>i<\/sub>&nbsp;<\/p>\n\n\n\n<p>\u03b2<sub>j<\/sub> = Effect of the Factor B<sub>j<\/sub><\/p>\n\n\n\n<p>\u03b3<sub>ij<\/sub> = Interaction-Effect of the Factor (A<sub>i<\/sub>B<sub>j<\/sub>)<\/p>\n\n\n\n<p>e<sub>ijk<\/sub> = Error Term<\/p>\n\n\n\n<p>The Least-square estimates may be determined by minimizing error sum of square (\u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> \u03a3<sub>k<\/sub> e<sub>ijk<\/sub>)<sup>2<\/sup>.&nbsp;<\/p>\n\n\n\n<p>Accordingly, the Analysis of Variance is based on the following relation:<\/p>\n\n\n\n<p>\u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> \u03a3<sub>k<\/sub> (X<sub>ijk<\/sub> \u2013X\u2026)<strong><sup>2<\/sup><\/strong> = np \u03a3<sub>i<\/sub> (X<sub>i<\/sub>.. \u2013 X\u2026)<strong><sup>2<\/sup><\/strong> + mp \u03a3<sub>j<\/sub> (X.<sub>j.<\/sub> \u2013X\u2026)<strong><sup>2<\/sup><\/strong>+ p \u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> (X<sub>ij. <\/sub>\u2013 X<sub>i<\/sub>.. \u2013 X<sub>.j. <\/sub>+X\u2026)<strong><sup>2<\/sup><\/strong>+ \u03a3<sub>i<\/sub> \u03a3<sub>j<\/sub> \u03a3<sub>k<\/sub> (X<sub>ijk<\/sub> \u2013 X<sub>ij.<\/sub>)<strong><sup>2<\/sup><\/strong><\/p>\n\n\n\n<p>Total SS = SS due to Factor A + SS due to Factor B + SS due to Interaction of A &amp; B + SS due to Error.&nbsp;<\/p>\n\n\n\n<p>or<\/p>\n\n\n\n<p>TSS = SSA+ SSB+ SS (AB)+ SSE<\/p>\n\n\n\n<p>By partitioning the variation into the above components, we are able to test following hypotheses:<\/p>\n\n\n\n<p>H<sub>01<\/sub>: \u03b1<sub>1<\/sub> = \u03b1<sub>2<\/sub>=\u2026\u2026\u2026.= \u03b1<sub>m<\/sub> =0 (No Effect of Factor A)<\/p>\n\n\n\n<p>H<sub>02<\/sub>: \u03b2<sub>1<\/sub> = \u03b2<sub>2<\/sub>=\u2026\u2026\u2026.= \u03b2<sub>n<\/sub>&nbsp; =0 (No Effect of Factor B)<\/p>\n\n\n\n<p>H<sub>03<\/sub>: \u03b3<sub>ij<\/sub> =0 for all i and j (Interaction-Effect is absent)<\/p>\n\n\n\n<p>Accordingly, the Mean Sum of Squares given by:<\/p>\n\n\n\n<p>MSA = SSA\/(m-1)<\/p>\n\n\n\n<p>MSB = SSB\/(n-1)<\/p>\n\n\n\n<p>MS(AB) = SS(AB)\/(m-1)(n-1)<\/p>\n\n\n\n<p>MSE = SSE\/mn(p-1)<\/p>\n\n\n\n<p>and the Variance Ratios:<\/p>\n\n\n\n<p>F<sub>A<\/sub>= MSA\/MSE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ~ F distribution with (m-1), mn(p-1) df<\/p>\n\n\n\n<p>F<sub>B<\/sub> =MSB\/MSE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ~ F distribution with (n-1), mn(p-1) df<\/p>\n\n\n\n<p>F<sub>AB<\/sub> = MS (AB)\/MSE&nbsp; &nbsp; &nbsp; &nbsp; ~ F distribution with (m-1)(n-1), mn(p-1) df.<\/p>\n\n\n\n<p>Accordingly, p-values may be estimated to decide about reject\/not able to reject the three null hypotheses H<sub>01<\/sub>, H<sub>02 <\/sub>and H<sub>03<\/sub> respectively.<\/p>\n\n\n\n<p>For more tutorials on data science and analysis concepts, follow our <a aria-label=\"Data Science page (opens in a new tab)\" href=\"https:\/\/www.mygreatlearning.com\/blog\/data-science\/\" target=\"_blank\" rel=\"noreferrer noopener\">Data Science page<\/a>. Great Learning also offers comprehensive courses on Data Science and Analytics and <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-and-business-analytics-course\" target=\"_blank\" rel=\"noreferrer noopener\">Data Science and Analytics<\/a> which prepares you for all kinds of data science roles.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contributed by: Mr. MH SiddiquiLinkedIn profile:&nbsp;https:\/\/www.linkedin.com\/in\/masood-siddiqui-7118a71b\/ What is Analysis of Variance (ANOVA)? In some decision-making situations, the sample data may be divided into various groups i.e. the sample may be supposed to have consisted of k-sub samples. There are interest lies in examining whether the total sample can be considered as homogenous or there is [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":12490,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[],"content_type":[],"class_list":["post-12484","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-science"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>ANOVA Test: Analysis of Variance Definition, Types and Examples<\/title>\n<meta name=\"description\" content=\"ANOVA (Analysis of Variance) is a technique to examine a dependence relationship where the response variable is metric and the factors are categorical in nature. Know it&#039;s Example, Definition, Types Etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions\" \/>\n<meta property=\"og:description\" content=\"ANOVA (Analysis of Variance) is a technique to examine a dependence relationship where the response variable is metric and the factors are categorical in nature. Know it&#039;s Example, Definition, Types Etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-11T11:57:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-04T05:12:29+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"655\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions\",\"datePublished\":\"2020-05-11T11:57:48+00:00\",\"dateModified\":\"2024-09-04T05:12:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/\"},\"wordCount\":3014,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_532873330-2.jpg\",\"articleSection\":[\"Data Science and Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/\",\"name\":\"ANOVA Test: Analysis of Variance Definition, Types and Examples\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_532873330-2.jpg\",\"datePublished\":\"2020-05-11T11:57:48+00:00\",\"dateModified\":\"2024-09-04T05:12:29+00:00\",\"description\":\"ANOVA (Analysis of Variance) is a technique to examine a dependence relationship where the response variable is metric and the factors are categorical in nature. Know it's Example, Definition, Types Etc.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_532873330-2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_532873330-2.jpg\",\"width\":1000,\"height\":655,\"caption\":\"analysis of variance\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/analysis-of-variance-anova\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Science and Analytics\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/data-science\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ANOVA Test: Analysis of Variance Definition, Types and Examples","description":"ANOVA (Analysis of Variance) is a technique to examine a dependence relationship where the response variable is metric and the factors are categorical in nature. Know it's Example, Definition, Types Etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/","og_locale":"en_US","og_type":"article","og_title":"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions","og_description":"ANOVA (Analysis of Variance) is a technique to examine a dependence relationship where the response variable is metric and the factors are categorical in nature. Know it's Example, Definition, Types Etc.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2020-05-11T11:57:48+00:00","article_modified_time":"2024-09-04T05:12:29+00:00","og_image":[{"width":1000,"height":655,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions","datePublished":"2020-05-11T11:57:48+00:00","dateModified":"2024-09-04T05:12:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/"},"wordCount":3014,"commentCount":1,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg","articleSection":["Data Science and Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/","url":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/","name":"ANOVA Test: Analysis of Variance Definition, Types and Examples","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg","datePublished":"2020-05-11T11:57:48+00:00","dateModified":"2024-09-04T05:12:29+00:00","description":"ANOVA (Analysis of Variance) is a technique to examine a dependence relationship where the response variable is metric and the factors are categorical in nature. Know it's Example, Definition, Types Etc.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg","width":1000,"height":655,"caption":"analysis of variance"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/analysis-of-variance-anova\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Data Science and Analytics","item":"https:\/\/www.mygreatlearning.com\/blog\/data-science\/"},{"@type":"ListItem","position":3,"name":"ANOVA: What is Analysis of Variance, Examples, Types and Assumptions"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",1000,655,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2-300x197.jpg",300,197,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2-768x503.jpg",768,503,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",1000,655,false],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",1000,655,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",1000,655,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",640,419,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",96,63,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_532873330-2.jpg",150,98,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":1,"uagb_excerpt":"Contributed by: Mr. MH SiddiquiLinkedIn profile:&nbsp;https:\/\/www.linkedin.com\/in\/masood-siddiqui-7118a71b\/ What is Analysis of Variance (ANOVA)? In some decision-making situations, the sample data may be divided into various groups i.e. the sample may be supposed to have consisted of k-sub samples. There are interest lies in examining whether the total sample can be considered as homogenous or there is&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/12484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=12484"}],"version-history":[{"count":22,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/12484\/revisions"}],"predecessor-version":[{"id":104605,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/12484\/revisions\/104605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/12490"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=12484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=12484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=12484"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=12484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}