#set document(title: "15.11 Exercises", author: "OpenStax") #set page(width: 8.5in, height: auto, margin: 1in) #import "@preview/cetz:0.5.2" #set text(font: ("STIX Two Text", "Libertinus Serif", "New Computer Modern"), size: 10.5pt, lang: "en") #show math.equation: set text(font: ("STIX Two Math", "New Computer Modern Math")) #set par(justify: true, leading: 0.62em, spacing: 0.9em) #set enum(spacing: 1.1em) // room between list items so tall inline fractions don't collide #set list(spacing: 1.1em) #set table(stroke: 0.5pt + rgb("#c7ccd3")) #let BLUE = rgb("#183B6F") // brand navy — section bars + example/solution labels (white on navy 11.09:1) #let ORANGE = rgb("#A94509") // brand primary-700 — AA-safe deep orange for TEXT (5.93:1 on white; raw brand #F37021 is 2.94:1 and must never carry text) #let RED = rgb("#DC2626") // brand error-600 #let GREEN = rgb("#059669") // brand success-600 (decoration only; small green text uses green-text #007942) #show heading.where(level: 1): it => block(width: 100%, above: 0pt, below: 16pt, fill: gradient.linear(BLUE, rgb("#2C5AA0")), inset: (x: 14pt, y: 12pt), radius: 3pt, text(fill: white, weight: "bold", size: 19pt, it.body)) #show heading.where(level: 2): it => block(width: 100%, above: 18pt, below: 10pt, fill: BLUE, inset: (x: 10pt, y: 6pt), radius: 2pt, text(fill: white, weight: "bold", size: 12pt, it.body)) #show heading.where(level: 3): it => text(fill: ORANGE, weight: "bold", size: 12.5pt, it.body) #show heading.where(level: 4): it => text(fill: BLUE, weight: "bold", size: 10.5pt, it.body) #let examplebox(label, title, body) = block(width: 100%, breakable: true, fill: rgb("#EFF1F5"), stroke: 0.5pt + rgb("#CFDDF0"), radius: 4pt, inset: 10pt, above: 12pt, below: 12pt)[ #block(below: 6pt)[#box(fill: BLUE, inset: (x: 6pt, y: 2pt), radius: 2pt, text(fill: white, weight: "bold", size: 8.5pt, label)) #h(0.4em) #strong[#title]] #body] // rail = decorative left rule (raw brand token); labelcolor = AA-safe label text shade #let notebox(label, rail, labelcolor, tint, body) = block(width: 100%, breakable: true, fill: tint, stroke: (left: 3pt + rail), inset: (left: 10pt, rest: 8pt), radius: (right: 4pt), above: 11pt, below: 11pt)[ #text(fill: labelcolor, weight: "bold", size: 7.5pt, tracking: 0.5pt)[#upper(label)] #linebreak() #body] #let solutionbox(body) = block(above: 4pt, below: 8pt)[ #text(fill: BLUE, weight: "bold", size: 8.5pt)[Solution] #linebreak() #body] #let figph(msg) = block(width: 100%, height: 60pt, fill: rgb("#f6f7f9"), stroke: (paint: rgb("#c7ccd3"), dash: "dashed"), radius: 4pt, inset: 10pt)[ #align(center + horizon, text(fill: rgb("#889"), style: "italic", size: 9pt, msg))] // Standardize inlined figure sizes: measure the natural CeTZ canvas, then scale to a // consistent envelope (aspect-aware; see build_typst.py FIG_* constants). Unlike the // print preamble, dimensions are FLOORED: in an editor a user can trim a figure to a // degenerate 1-D shape (a bare line), and w/h or tw/w would then divide by zero. #let _STD_W = 3.5 #let _WIDE_W = 5.6 #let _MAX_H = 3.4 #let _ASPECT_WIDE = 2.2 #let _UPSCALE_MAX = 1.15 #let stdfig(body) = context { let m = measure(body) let w = calc.max(m.width / 1in, 0.01) let h = calc.max(m.height / 1in, 0.01) let tw = if w / h > _ASPECT_WIDE { _WIDE_W } else { _STD_W } let s = calc.min(tw / w, _MAX_H / h, _UPSCALE_MAX) align(center, box(scale(x: s * 100%, y: s * 100%, reflow: true, body))) } #show figure: set block(breakable: false) #set figure(gap: 8pt) #show figure.caption: set text(size: 8.5pt, fill: rgb("#555")) == 15.11#h(0.6em)Exercises #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ #emph[Prerequisites] #link("https://onlinestatbook.com/2/analysis_of_variance/ANOVA.html")[All material presented in the ANOVA Chapter] ] Selected answers + What is the null hypothesis tested by analysis of variance? #linebreak() + What are the assumptions of between-subjects analysis of variance? #linebreak() + What is a between-subjects variable? #linebreak() + Why not just compute t-tests among all pairs of means instead computing an analysis of variance? #linebreak() + What is the difference between "N" and "n"? #linebreak() + How is it that estimates of variance can be used to test a hypothesis about means? #linebreak() + Explain why the variance of the sample means has to be multiplied by "n" in the computation of MSB. #linebreak() + What kind of skew does the F distribution have? #linebreak() + When do MSB and MSE estimate the same quantity? #linebreak() + If an experiment is conducted with 6 conditions and 5 subjects in each condition, what are dfn and dfe? #linebreak() + How is the shape of the F distribution affected by the degrees of freedom? #linebreak() + What are the two components of the total sum of squares in a one-factor between-subjects design? #linebreak() + How is the mean square computed from the sum of squares? #linebreak() + An experimenter is interested in the effects of two independent variables on self esteem. What is better about conducting a factorial experiment than conducting two separate experiements, one for each independent variable? #linebreak() + An experiment is conducted on the effect of age and treatment condition (experimental versus control) on reading speed. Which statistical term (main effect, simple effect, interaction, specific comparison) applies to each of the descriptions of effects. + An A(3) x B(4) factorial design with 6 subjects in each group is analyzed. Give the source and degrees of freedom columns of the analysis of variance summary table. #linebreak() + The following data are from a hypothetical study on the effects of age and time on scores on a test of reading comprehension. Compute the analysis of variance summary table. #linebreak() + Define "Three-way interaction" #linebreak() + Define interaction in terms of simple effects. #linebreak() + Plot an interaction for an A(2) x B(2) design in which the effect of B is greater at A1 than it is at A2. The dependent variable is "Number correct." Make sure to label both axes. #linebreak() + Following are two graphs of population means for 2 x 3 designs. For each graph, indicate which effect(s) (A, B, or A x B) are nonzero. #linebreak() #linebreak() + The following data are from an A(2) x B(4) factorial design. + Why are within-subjects designs usually more powerful than between-subjects design? #linebreak() #linebreak() + What source of variation is found in an ANOVA summary table for a within-subjects design that is not in in an ANOVA summary table for a between-subjects design. What happens to this source of variation in a between-subjects design? #linebreak() #linebreak() + The following data contain three scores from each of five subjects. The three scores per subject are their scores on three trials of a memory task. 4 6 7 #linebreak() 3 7 7 #linebreak() 2 8 5 #linebreak() 1 4 7 #linebreak() 4 6 9 + Compute an ANOVA + Test all pairwise differences between means using the Bonferroni test at the .01 level. + Test the linear and quadratic components of trend for these data. + Give the source and df columns of the ANOVA summary table for the following experiments: + Twenty two subjects are each tested on a simple reaction time task and on a choice reaction time task. + Twelve male and 12 female subjects are each tested under three levels #linebreak() of drug dosage: 0 mg, 10 mg, and 20 mg. + Twenty subjects are tested on a motor learning task for three trials a day for two days. + An experiment is conducted in which depressed people are either assigned to a drug therapy group, a behavioral therapy group, or a control group. Ten subjects are assigned to each group. The level of measured once a month for four months. #linebreak() + The dataset has the scores (times) for males and females on each of three tasks. #linebreak() a. Do a Gender (2) x Task (3) analysis of variance. #linebreak() b. Plot the interaction. #linebreak() + The data has four scores per subject. #linebreak() + Is the design between-subjects or within-subjects? + Create an ANOVA summary table. #linebreak() #linebreak() Angry Moods + Using the Anger Expression Index as the dependent variable, perform a 2x2 ANOVA with gender and sports participation as the two factors. Do athletes and non-athletes differ significantly in how much anger they express? Do the genders differ significantly in Anger Expression Index? Is the effect of sports participation significantly different for the two genders? #linebreak() + Compute a 2x2 ANOVA on this data with the following two factors: prime type (was the first word a weapon or not?) and word type (was the second word aggressive or non-aggressive?). Consider carefully whether the variables are between-subject or within-subects variables. #linebreak() #linebreak() + Compute the ANOVA summary table. #linebreak() + The effect of the treatment was larger for 15-year olds than it was for 5- or 10-year olds. + Overall, subjects in the treatment condition performed faster than subjects in the control condition. + The difference between the 10- and 15-year olds was significant under the treatment condition. + The difference between the 15- year olds and the average of the 5- and 10-year olds was significant. + As they grow older, children read faster. #linebreak() #figure(table( columns: 3, align: left, inset: 6pt, table.header([], [12-year olds], [16-year olds]), [30 minutes], [66 #linebreak() 68 #linebreak() 59 #linebreak() 72 #linebreak() 46], [74 #linebreak() 71 #linebreak() 67 #linebreak() 82 #linebreak() 76], [60 minutes], [69 #linebreak() 61 #linebreak() 69 #linebreak() 73 #linebreak() 61], [95 #linebreak() 92 #linebreak() 95 #linebreak() 98 #linebreak() 94], )) #figure(table( columns: 5, align: left, inset: 6pt, table.header([], [B1], [B2], [B3], [B4]), [A1], [1 #linebreak() 3 #linebreak() 4 #linebreak() 5], [2 #linebreak() 2 #linebreak() 4 #linebreak() 5], [3 #linebreak() 4 #linebreak() 2 #linebreak() 6], [4 #linebreak() 5 #linebreak() 6 #linebreak() 8], [A2], [1 #linebreak() 1 #linebreak() 2 #linebreak() 2], [2 #linebreak() 3 #linebreak() 2 #linebreak() 4], [4 #linebreak() 6 #linebreak() 7 #linebreak() 8], [8 #linebreak() 9 #linebreak() 9 #linebreak() 8], )) + Compute an analysis of variance. + Test differences among the four levels of B using the Bonferroni correction. + Test the linear component of trend for the effect of B. + Plot the interaction. + Describe the interaction in words. #linebreak() Questions from Case Studies: #linebreak() #linebreak() The following question is from the Stroop Interference ADHD Treatment Weapons and Aggression Smiles and Leniency