Ed230B/C

Linear Statistical Models

Sample Quiz #2


Consider the design

a1a2a3
b1adg
b2beh
b3cfi

1. Use orthogonal coding to code this design. Indicate which columns are for which effects. Hint: More columns are provided than are needed.

   x1  x2  x3  x4  x5  x6  x7  x8  x9  x10
   
a

b

c

d

e

f

g

h

i

2. Give the Stata commands beginning with regress that will test the B main effect or use R2's to compute the F-ratio for B main effect, when each cell has 12 observations

Stata commands:


or

                           / (         )
F = ______________________________________
    (                    ) / (         )




*****


Linear Statistical Models Course

Phil Ender, 12Feb98