1. Home
  2. Explore
  3. Statistics
  4. One-Way and Two-Way ANOVA

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

One-Way and Two-Way ANOVA

  • 44Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: ANOVA Foundations

Why is ANOVA preferred to repeated pairwise t-tests when comparing four group means, and what false-alarm risk is given for the six pairwise tests?

44 questions

  1. 1

    Why is ANOVA preferred to repeated pairwise t-tests when comparing four group means, and what false-alarm risk is given for the six pairwise tests?

    Model answer

    ANOVA tests all group means simultaneously, avoiding the inflated false-alarm risk of repeated pairwise tests. For four groups there are six pairwise comparisons, with a combined false-alarm risk of about 26%.

    Explanation

    Multiple pairwise tests increase the chance of at least one false positive; ANOVA addresses the overall comparison with one test.

  2. 2

    Explain the one-way ANOVA partition of total variation and identify the degrees of freedom for each component.

    Model answer

    Total variation about the grand mean splits into between-group variation and within-group variation: SST=SSB+SSWSST = SSB + SSWSST=SSB+SSW. The corresponding degrees of freedom are N−1=(k−1)+(N−k)N-1=(k-1)+(N-k)N−1=(k−1)+(N−k).

    Explanation

    The sums of squares partition the total variation, while their degrees of freedom partition the total degrees of freedom.

  3. 3

    What do between-group and within-group variation represent in one-way ANOVA?

    Model answer

    SSB measures how the group means scatter around the grand mean, while SSW measures how observations vary around their own group means. ANOVA asks whether the means scatter more than the within-group noise can explain.

    Explanation

    Between-group variation reflects how far group means lie from the grand mean; within-group variation measures individual variation around each group mean.

  4. 4

    Why does the ANOVA FFF ratio tend to be near 111 under the null hypothesis and increase when group means genuinely differ?

    Model answer

    The test statistic is F=MSB/MSWF=MSB/MSWF=MSB/MSW. It tends to be near 111 under the null hypothesis and becomes larger when real differences among group means increase the between-group variation.

    Explanation

    When the null hypothesis holds, both mean squares estimate the same background variance; genuine group differences can inflate MSB.

  5. 5

    State the assumptions of one-way ANOVA.

    Model answer

    Observations should be independent and randomly obtained; each population should be approximately normal; and group variances should be approximately equal.

    Explanation

    The one-way ANOVA assumptions given are independence and randomness, approximate normality, and approximately equal group variances.

  6. 6

    State the null and alternative hypotheses for an ANOVA comparing kkk population means.

    Model answer

    The null hypothesis is H_0:0 ext{mu}_1= ext{mu}_2= ext{...}= ext{mu}_k. The alternative is that at least one population mean differs from the others.

    Explanation

    The alternative hypothesis is an omnibus alternative: it does not claim that every mean differs from every other mean.

  7. 7

    What is the factor in a one-way ANOVA, and give examples of factors and their levels from pharmaceutical studies.

    Model answer

    One-way ANOVA studies one factor at several levels. Examples include formulation, dose level, or storage condition.

    Explanation

    A factor is the variable being studied, and its levels define the groups compared in one-way ANOVA.

  8. 8

    What two arithmetic checks should be made when constructing a one-way ANOVA table?

    Model answer

    Check that SST=SSB+SSWSST=SSB+SSWSST=SSB+SSW and that (N−1)=(k−1)+(N−k)(N-1)=(k-1)+(N-k)(N−1)=(k−1)+(N−k). A failure of either check indicates an arithmetic or table-entry error.

    Explanation

    The total sum of squares equals the sum of the between- and within-group sums of squares, and the degrees of freedom must also add correctly.

  9. 9

    Describe the rows and calculations in the standard one-way ANOVA table, and identify which rows form the FFF ratio.

    Model answer

    The rows are Between groups, Within groups (or Error), and Total. Their degrees of freedom are k−1k-1k−1, N−kN-kN−k, and N−1N-1N−1; the first two mean squares are SSB/(k−1)SSB/(k-1)SSB/(k−1) and SSW/(N−k)SSW/(N-k)SSW/(N−k), and F=MSB/MSWF=MSB/MSWF=MSB/MSW.

    Explanation

    The F ratio uses the between-groups and within-groups mean squares; the total row is not used to form it.

  10. 10

    Outline the main steps for carrying out a one-way ANOVA test.

    Model answer

    State H0H_0H0​ and H1H_1H1​, choose  ext{alpha}, calculate the grand mean and sums of squares, construct the table, and obtain the critical FFF for (k−1,N−k)(k-1,N-k)(k−1,N−k) degrees of freedom. Reject H0H_0H0​ if calculated FFF exceeds the critical value, then state the conclusion in context.

    Explanation

    The procedure compares the calculated statistic with a critical value chosen for the specified significance level and degrees of freedom.

  11. 11

    What can a significant one-way ANOVA establish, and what additional analysis is needed to identify differing pairs?

    Model answer

    After a significant ANOVA, use a post-hoc multiple-comparison procedure, such as Tukey's test, if the particular differing pairs are needed.

    Explanation

    The significant omnibus test indicates that not all means are equal, but it does not identify which specific means differ.

  12. 12

    For five brands of a drug, state the ANOVA hypotheses and calculate how many pairwise t-tests would be needed to compare every pair. Why use ANOVA first?

    Model answer

    For five brands, all pairwise comparisons require 101010 t-tests. Repeated tests are avoided as the primary overall test because each adds false-alarm risk; ANOVA first tests all means simultaneously.

    Explanation

    The number of pairs among five brands is 5(5−1)/2=105(5-1)/2=105(5−1)/2=10; the source gives the four-group example to illustrate the growing false-alarm risk.

  13. 13

    For the tablet times A: 8, 9, 7, 8; B: 10, 11, 9, 10; and C: 12, 13, 11, 12, give the group means, grand mean, sums of squares, degrees of freedom, and mean squares.

    Model answer

    The group means are 888, 101010, and 121212, and the grand mean is 101010. SSB=32SSB=32SSB=32, SSW=6SSW=6SSW=6, and SST=38SST=38SST=38; the degrees of freedom are 222, 999, and 111111, and the mean squares are 161616 and 0.6670.6670.667.

    Explanation

    These are the sums of squares, degrees of freedom, and mean squares for the worked one-way example.

  14. 14

    Using the one-way formulation data, test at the 5% level whether the mean disintegration times differ, given critical F(2,9)=4.26F(2,9)=4.26F(2,9)=4.26.

    Model answer

    The calculated statistic is F=16/0.667 ext(approximately)=24.0F=16/0.667\, ext{(approximately)}=24.0F=16/0.667ext(approximately)=24.0, with degrees of freedom (2,9)(2,9)(2,9). Since 24.0>4.2624.0>4.2624.0>4.26, reject H0H_0H0​ at the 5% level; the formulations differ significantly in mean disintegration time.

    Explanation

    The calculated statistic exceeds the stated critical value, so the omnibus null hypothesis is rejected.

  15. 15

    What do the sample means in the formulation example suggest about the relative disintegration times, and what limitation remains after the significant ANOVA?

    Model answer

    The sample means are 888, 101010, and 121212 minutes, so formulation A has the shortest mean time and C the longest. ANOVA alone does not determine which pairs differ significantly.

    Explanation

    The means show the direction of the observed differences, but the omnibus ANOVA does not establish which pairs differ significantly.

  16. 16

    Four tablet presses, with five tablets per press, give SSB=40SSB=40SSB=40 and SSW=60SSW=60SSW=60. Complete the one-way ANOVA calculations and decide at 5%, using critical F(3,16)=3.24F(3,16)=3.24F(3,16)=3.24.

    Model answer

    The between-groups mean square is 40/3=13.3340/3=13.3340/3=13.33, and the error mean square is 60/16=3.7560/16=3.7560/16=3.75. Thus Fext(approximately)=3.56F ext{(approximately)}=3.56Fext(approximately)=3.56 with (3,16)(3,16)(3,16) degrees of freedom; since 3.56>3.243.56>3.243.56>3.24, reject the equal-means null hypothesis at 5%. The total sum of squares and degrees of freedom are 100100100 and 191919.

    Explanation

    The sums of squares add to 100, and the degrees of freedom add to 19; the resulting F exceeds the supplied critical value.

  17. 17

    Quantify the pairwise-testing problem for four groups and explain how ANOVA addresses it.

    Model answer

    The six pairwise tests have a combined false-alarm risk of about 26% in the stated example. ANOVA uses one overall test to control the initial comparison of the group means.

    Explanation

    The number of pairwise comparisons among four groups is 4(4−1)/2=64(4-1)/2=64(4−1)/2=6, and the example reports a combined false-alarm risk of about 26%.

  18. 18

    Verify the sum-of-squares partition for the three-formulation disintegration example.

    Model answer

    The total sum of squares about the grand mean is 383838. Since SSB+SSW=32+6=38SSB+SSW=32+6=38SSB+SSW=32+6=38, the partition check holds.

    Explanation

    This calculation illustrates the exact partition check for the worked formulation data.

  19. 19

    Write the complete one-way ANOVA table for the three-formulation example.

    Model answer

    For the worked example, the Between groups row is SS=32SS=32SS=32, df=2df=2df=2, MS=16MS=16MS=16, F=24.0F=24.0F=24.0; the Within groups row is SS=6SS=6SS=6, df=9df=9df=9, MS=0.667MS=0.667MS=0.667; and the Total row is SS=38SS=38SS=38, df=11df=11df=11.

    Explanation

    The full table communicates the sources of variation, their degrees of freedom, mean squares, and the test statistics.

  20. 20

    Distinguish one-way from two-way ANOVA and explain the advantage of studying two factors in one experiment.

    Model answer

    One-way ANOVA studies one factor, whereas two-way ANOVA studies two factors simultaneously. It can assess both factor effects and, when combinations are replicated, whether the effect of one factor depends on the level of the other.

    Explanation

    Two-way ANOVA allows the effects of two factors to be assessed in one experiment and, with replication, can assess their interaction.

  21. 21

    State the replicated two-way ANOVA sum-of-squares partition and explain what each component represents.

    Model answer

    For a replicated two-way ANOVA, SST=SSA+SSB+SSAB+SSESST=SSA+SSB+SSAB+SSESST=SSA+SSB+SSAB+SSE, where SSASSASSA and SSBSSBSSB represent the factor effects, SSABSSABSSAB the interaction, and SSESSESSE the error.

    Explanation

    With replication, the total variation can be partitioned into the two main effects, their interaction, and error.

  22. 22

    How does the sum-of-squares partition change in a two-way ANOVA with one observation per factor combination, and why?

    Model answer

    With one observation per combination, there is no separate interaction estimate. The remainder after the two factor sums of squares is used as error, so SST=SSA+SSB+SSESST=SSA+SSB+SSESST=SSA+SSB+SSE.

    Explanation

    With only one observation in each factor combination, there is no separate replicated information to estimate interaction apart from error.

  23. 23

    How are the two factors tested in a two-way ANOVA?

    Model answer

    Test each factor using its own ratio: factor mean square divided by error mean square. Compare each calculated ratio with the table value for that factor's degrees of freedom and the error degrees of freedom.

    Explanation

    Each factor has its own numerator mean square and uses the shared error mean square as its denominator.

  24. 24

    In an unreplicated two-way ANOVA with three machines and four operators, what are the degrees of freedom for machines, operators, error, and total?

    Model answer

    Formulations have 222 degrees of freedom, temperatures have 222, error has (3−1)(3−1)=4(3-1)(3-1)=4(3−1)(3−1)=4, and total has 3×3−1=83\times3-1=83×3−1=8 degrees of freedom.

    Explanation

    For the three-by-three example, the factor degrees of freedom are 2 each, and the unreplicated error has 4 degrees of freedom.

  25. 25

    For the stability example with three formulations and three temperatures, construct the two-way ANOVA results and test both factors at 5%, given SSA=96SSA=96SSA=96, SSB=96SSB=96SSB=96, SSE=6SSE=6SSE=6, and critical F(2,4)=6.94F(2,4)=6.94F(2,4)=6.94.

    Model answer

    The formulation and temperature sums of squares are each 969696, with 222 degrees of freedom and mean square 484848. Error has SS=6SS=6SS=6, df=4df=4df=4, and MS=1.5MS=1.5MS=1.5; total has SS=198SS=198SS=198 and df=8df=8df=8. Both FFF values are 48/1.5=32.048/1.5=32.048/1.5=32.0, exceeding F(2,4)=6.94F(2,4)=6.94F(2,4)=6.94, so both factors significantly affect assay at 5%.

    Explanation

    The example's calculated F values both exceed the provided critical value, so each factor's null hypothesis is rejected.

  26. 26

    Interpret the factor means in the stability example in terms of temperature and formulation.

    Model answer

    The mean assay falls as temperature rises, and formulation A retains the highest assay at every temperature. The significant tests indicate effects of both formulation and temperature.

    Explanation

    The row and column means both decline across the listed levels, and the source states that formulation A retains the highest assay at every temperature.

  27. 27

    In the unreplicated stability example, calculate the error sum of squares from SST=198SST=198SST=198, SSA=96SSA=96SSA=96, and SSB=96SSB=96SSB=96.

    Model answer

    The total sum of squares is 198198198, so SSE=SST−SSA−SSB=198−96−96=6SSE=SST-SSA-SSB=198-96-96=6SSE=SST−SSA−SSB=198−96−96=6.

    Explanation

    The example uses one determination for each of nine combinations, so the residual after subtracting both factor sums of squares is 6.

  28. 28

    Why should the conclusions from the two F tests in the stability example be stated separately?

    Model answer

    The formulation null hypothesis is rejected because its F=32.0F=32.0F=32.0 exceeds 6.946.946.94, and the temperature null hypothesis is also rejected for the same reason. Report the conclusion for each factor separately.

    Explanation

    The two factor tests share a table and error estimate, but their conclusions must be reported separately.

  29. 29

    Describe the shape and support of the F distribution and state what determines its shape.

    Model answer

    The F distribution is nonnegative and right-skewed, with a long right tail. Its shape is determined by the numerator and denominator degrees of freedom.

    Explanation

    An F statistic is a ratio of variance estimates and is determined by a numerator and denominator degree of freedom.

  30. 30

    How should degrees of freedom be ordered when looking up a critical F value?

    Model answer

    Enter the table using the numerator degrees of freedom first and the denominator degrees of freedom second, at the chosen significance level. For example, the one-way example uses (2,9)(2,9)(2,9) and the two-way example uses (2,4)(2,4)(2,4).

    Explanation

    F tables are indexed in numerator-then-denominator order, along with the chosen significance level.

  31. 31

    Why does the critical F value increase when the error degrees of freedom decrease?

    Model answer

    A small error degrees of freedom means the error variance is estimated with greater uncertainty. The critical value therefore rises as the error degrees of freedom fall, requiring stronger evidence to reject the null hypothesis.

    Explanation

    The examples show that the critical value is higher for denominator degrees of freedom 4 than for 9.

  32. 32

    How is a calculated F statistic used to make a decision under the null hypothesis?

    Model answer

    Under H0H_0H0​, FFF tends to be near 111, although moderately larger values can occur by chance. Reject the null only when the calculated FFF exceeds the critical table value for the chosen  ext{alpha}.

    Explanation

    Under the null, the variance estimates are expected to be comparable; only a sufficiently large ratio lies in the rejection region.

  33. 33

    Explain the relationship F=t2F=t^2F=t2 for two groups. If t=2.92t=2.92t=2.92, what F value does the corresponding two-group ANOVA give, and what are its degrees of freedom?

    Model answer

    With exactly two groups, F=t2F=t^2F=t2, so the two tests give the same decision. If t=2.92t=2.92t=2.92, then F=2.922=8.5264F=2.92^2=8.5264F=2.922=8.5264 (about 8.538.538.53), with numerator degrees of freedom 111 and denominator degrees of freedom n−2n-2n−2 for nnn total observations.

    Explanation

    In the two-group case, the ANOVA F statistic and the corresponding t statistic produce the same decision because F=t2F=t^2F=t2.

  34. 34

    How should an F statistic be reported, and why are its degrees of freedom necessary?

    Model answer

    Report the statistic with both degrees of freedom, for example, F(2,9)=24.0F(2,9)=24.0F(2,9)=24.0. A bare F value does not identify the relevant table value.

    Explanation

    A complete F result identifies both degrees of freedom, allowing the statistic to be checked against the correct reference distribution.

  35. 35

    What further questions should an investigator consider after obtaining a significant ANOVA result?

    Model answer

    After a significant F, examine which means differ, assess assumptions by examining residuals, and consider whether the difference is pharmaceutically important. Statistical significance and practical importance are separate questions.

    Explanation

    Statistical significance does not by itself address whether the assumptions were met or whether the effect matters in practice.

  36. 36

    State the test statistic and degrees of freedom for testing whether a population correlation coefficient equals zero.

    Model answer

    To test H0:ho=0H_0: ho=0H0​:ho=0, use t=rn−21−r2t=\frac{r\sqrt{n-2}}{\sqrt{1-r^2}}t=1−r2​rn−2​​ with n−2n-2n−2 degrees of freedom, where rrr is the sample correlation and nnn is the number of pairs.

    Explanation

    The correlation test uses the sample correlation and the number of paired observations to calculate a t statistic with n−2n-2n−2 degrees of freedom.

  37. 37

    Test the significance of r=0.85r=0.85r=0.85 from 12 pairs at 5%, given critical t(10)=2.228t(10)=2.228t(10)=2.228.

    Model answer

    With r=0.85r=0.85r=0.85 and n=12n=12n=12, df=10df=10df=10 and t=5.10t=5.10t=5.10. Since 5.10>2.2285.10>2.2285.10>2.228, reject H0:ho=0H_0: ho=0H0​:ho=0 at 5%; the correlation is significant.

    Explanation

    For the example, the computed t statistic exceeds the supplied critical value, providing evidence of a nonzero population correlation.

  38. 38

    For a correlation study with r=0.62r=0.62r=0.62 from 10 pairs, set up the significance test by stating the hypotheses, formula, degrees of freedom, and critical value.

    Model answer

    Set H0:ho=0H_0: ho=0H0​:ho=0 and use t=0.6210−21−0.622t=\frac{0.62\sqrt{10-2}}{\sqrt{1-0.62^2}}t=1−0.622​0.6210−2​​ with df=10−2=8df=10-2=8df=10−2=8. Compare the calculated value with the two-sided 5% critical value t(8)=2.306t(8)=2.306t(8)=2.306.

    Explanation

    The supplied practice case specifies eight degrees of freedom and a 5% critical t value of 2.306; it does not require a decision without performing the calculation.

  39. 39

    How is the significance of a regression slope tested?

    Model answer

    To test H_0:eta=0, calculate t=b/SE(b)t=b/SE(b)t=b/SE(b) with df=n−2df=n-2df=n−2, where bbb is the estimated slope and SE(b)SE(b)SE(b) its standard error.

    Explanation

    The slope test divides the estimated slope by its standard error and uses n−2n-2n−2 degrees of freedom.

  40. 40

    A regression based on 12 points gives slope b=1.85b=1.85b=1.85 and SE(b)=0.37SE(b)=0.37SE(b)=0.37. Test the slope at 5% using critical t(10)=2.228t(10)=2.228t(10)=2.228.

    Model answer

    Here t=1.85/0.37=5.00t=1.85/0.37=5.00t=1.85/0.37=5.00 with df=12−2=10df=12-2=10df=12−2=10. Since 5.00>2.2285.00>2.2285.00>2.228, the slope is significantly different from zero at 5%.

    Explanation

    The calculated statistic exceeds the provided critical t value, supporting a slope different from zero.

  41. 41

    Explain the relationship between the test of a regression slope and the test of correlation in simple linear regression.

    Model answer

    Testing whether the slope is zero is equivalent to testing whether the population correlation is zero in simple linear regression. Their t statistics agree when based on the same data, apart from rounding.

    Explanation

    In simple linear regression, the slope test and the correlation test are two forms of the same test and their statistics agree when calculated from the same data.

  42. 42

    Why should a correlation coefficient not be reported as evidence of a relationship without a significance test?

    Model answer

    A large sample rrr from a small number of pairs can still be non-significant because it may arise by chance. Test it before drawing a population-level conclusion.

    Explanation

    A sample correlation can appear large but may not be statistically significant when based on few pairs.

  43. 43

    How is the overall regression tested, and how does this connect to ANOVA?

    Model answer

    The overall regression can be tested by an F test in the regression ANOVA table, using the same general F-test machinery as ANOVA for group means.

    Explanation

    The lecture connects regression testing to the same ANOVA F framework used to compare means.

  44. 44

    Besides the slope, which regression parameter can be tested against a hypothesized value?

    Model answer

    A regression intercept can also be tested against a specified hypothesized value.

    Explanation

    The source notes that the intercept, like the slope, can be tested against a hypothesized value.

1 of 44
Question 1 of 44

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent