STA302H1F / 1001 HF - Summer 2009
Term Test - Solution
June 1, 2009
Last Name:_
First Name:_
Student Number:_
Instructions:
Time: 1 hour and 40 minutes.
No aids allowed except a nonprogrammable calculator.
If you do not understand a question, or are havin
University of Toronto
Department of Statistics
STA302H1F / 1001 HF - Summer 2011
Term Test - Solution
June 1, 2011
Last Name:_
First Name:_
Student Number:_
Enrolled in (Circle one):
STA302
STA1001
Instructions:
Time: 1 hour and 50 minutes.
No aids allowe
rows created in WORK.cc
from /cquest/roger/students0/perm/t-eleven/Desktop/AUTO_MPG.csv.
proc corr;
var horsepower acceleration weight displacement;
with mpg;
run;
proc reg data = cc;
model mpg = displacement;
run;
proc sorted data = cc out = cc_sorted_
Analysis of Variance in Matrix form
The ANOVA table sums of squares, SSTO, SSR and SSE can all be
expressed in matrix form as follows.
STA302/1001 - week 10
1
Multiple Regression
A multiple regression model is a model that has more than one
explanatory
STA302 Summer 2009 Week 9 - Outline
Transformations + SAS example (week 7).
Simple linear regression in matrix form:
Model
Gauss Markov Conditions.
Matrix differentiation.
Least Squares estimates of regression parameters using matrix form.
Properties of
STA302 Summer 2011 Tutorial Week 8
Matrix and vector operation addition, multiplication.
Determinants (mainly for 2x2 matrix)
Inverse of 2x2 matrix.
Rules for transpose and inverse matrixes.
Full rank matrix.
Idempotent matrix.
Random vectors.
Mean of ran
Diagnostics and Transformation for SLR
In general, it makes sense to base inference and conclusions only on
valid models.
So we need to make sure we are fitting an appropriate model.
For this we need to plot the data!
Example
STA302/1001 week 7
1
Infl
Decomposition of Sum of Squares
The total sum of squares (SS) in the response variable is
SSTO = (Yi Y )
2
The total SS can be decompose into two main sources; error SS and
regression SS
2
The error SS is SSE = ei .
The regression SS is SSR = b
2
1
(
Inference about the Slope and Intercept
Recall, we have established that the least square estimates 0 and 1
are linear combinations of the Yis.
Further, we have showed that they are unbiased and have the
following variances
()
1 X2
Var 0 = +
n S
XX
2
an
Biological Foundations of Psychology
Key points on genes:
1) Genes play extremely intimate roles in
determining who we are, influencing even
how intelligent we are, our personalities
(e.g., extraversion), behaviours (e.g.,
drinking alcohol, overeating), a
Analysis of Variance in Matrix form
The ANOVA table sums of squares, SSTO, SSR and SSE can all be
expressed in matrix form as follows.
STA302/1001 - week 10
1
Multiple Regression
A multiple regression model is a model that has more than one
explanatory
Diagnostics and Transformation for SLR
In general, it makes sense to base inference and conclusions only on
valid models.
So we need to make sure we are fitting an appropriate model.
For this we need to plot the data!
Example
STA302/1001 week 7
1
Infl
Decomposition of Sum of Squares
The total sum of squares (SS) in the response variable is
SSTO = (Yi Y )
2
The total SS can be decompose into two main sources; error SS and
regression SS
2
The error SS is SSE = ei .
The regression SS is SSR = b
2
1
(
STA 302 / 1001 Summer 2010
Term Test
May 26, 2010
LAST NAME : SOLUTIONS
FIRST NAME: _
STUDENT # : _
STA 302
ENROLLED IN (tick one):
STA 1001
INSTRUCTIONS:
Time: 90 minutes
Aids allowed: calculator
A t-distribution table is provided on the last page
STA 302 H1F / 1001 HF Fall 2010
Test
October 21, 2010
LAST NAME:
SOLUTIONS
FIRST NAME:
STUDENT NUMBER:
INSTRUCTIONS:
Time: 90 minutes
Aids allowed: calculator.
All of the formulae below can be taken as known unless a question indicates otherwise.
Tota
70
71
ID
:
Do
wn
lo
ad
er
Test ID:
1510
Test
ID:
1510
STA302H1F / 1001 HF - Summer 2009
Term Test - Solution
Down
load
er ID:
Tes
7071 t ID:
151
0
June 1, 2009
Last Name:_
r ID: 7071
Downloade
First Name:_
Te
st
ID
:
15
10
Student Number:_
Tes
t ID:
Time:
STA 302 H1F / 1001 HF Fall 2009
Test
October 22, 2009
LAST NAME:
FIRST NAME:
STUDENT NUMBER:
ENROLLED IN: (circle one)
STA 302
STA 1001
INSTRUCTIONS:
Time: 90 minutes
Aids allowed: calculator.
A table of values from the t distribution is on the last pa
STA 302 / 1001 Summer 2010
Assignment 2
Due: Wednesday, June 16, by the end of the lecture (9:00pm). Your assignment should
be handed to me in class on that day. Late assignments can be submitted to my office (SS
6025). Slip it under the door if the door