# Two-Way Basic Factorial Design (cont.)

Prof Randi Garcia
March 19, 2018

1. Write a short description of your 290 project study
2. Once the free-write is over, you will
i. find two people who are both NOT in your group, and
ii. take turns describing your studies to each other.

### Announcements

• Projects
• Some of you need CITI training
• Next component due on Apr 2 on Moodle
• HW #5 due on Friday at 5pm on Moodle
• SDS Presentation of the major
• Tuesday, March 20th, noon in Ford 240
• Food will be served!

### Agenda

• Exam 1 discussion
• Mid-Semester Assessment
• The BF[2] design

### Exam 1

• Great job!
• Median = 93, Mean = 91.06, sd = 7.33
• Lots of trouble on the first question about the donuts. It was a BF[1] design, but many thought it was CB[1].

 min Q1 median Q3 max    mean       sd  n missing
67 89     93 95 100 91.0625 7.330614 32       0


### Piglets

It seems natural to think that adding the right vitamins to a pig's diet might produce fatter pigs faster. You've decided to study the effects of B12 in two doses (0mg and 5mg). But pigs have bacteria living in their intestines that might prevent the uptake of vitamins, so you decided to give antibiotics to the pigs in one of two doses (0mg or 40 mg). You design your experiment in such a way that 3 piglets are randomly assigned to each of the 4 treatment conditions. You measure their weight every day, and take each pig's average daily weight gain as your final number recorded.

### Research Questions in a BF[2] Design

1. Does treatment A have an effect on the response variable?
• Is there a main effect of factor 1?
2. Does treatment B have an effect on the response variable?
• Is there a main effect of factor 2?
3. Does being in a specific combination of treatments have an effect over and above the additive effects of treatment A and B alone?
• Is there an interaction between factor 1 and factor 2?

### Interaction Graphs

Mantra: An interaction is present if the effect of one factor is different across levels of the other factor.

For each of the following interaction graphs, answer the following questions with YES or NO.

1. Is there a main effect of B12?
2. Is there a main effect of antibiotics?
3. Is there an interaction between B12 and antibiotics?

1. YES
2. YES
3. YES

1. NO
2. NO
3. YES

1. YES
2. YES
3. NO