Final MGT604 Fall 2023
Final MGT604 Fall 2023
The doors of the examination room will be opened approximately 10 Candidates must not use or attempt to use any improper source of
minutes before the start of the examination. Candidates will be per- information. No candidates for an examination may bring into the
mitted to enter the examination room quietly up to one half hour after examination room any books, notes or other material containing infor-
the scheduled start of the exam. Candidates arriving late will not be mation pertaining to the examination unless the examiner has given
allowed any extra time. instructions that such material will be allowed and this instruction is
specified on the examination paper. Any item brought into the exami-
Candidates must not begin the examination or attempt to read the nation room is subject to inspection.
examination questions until instructed to do so.
No briefcases, backpacks or other bags and carriers may be brought to
Candidates once having entered, may not leave the exam room before the desk site where the candidate is writing the examination. These
completing and submitting the exam unless accompanied by a Proctor. bags should be left outside the examination room. If books, notes etc.
Candidates are not permitted to submit their examination and leave the cannot be left outside the examination room, they must be put at the
examination room until 1 hour after the examination has begun, and front of the examination room in a place designated by the proctor
in no case before their attendance has been taken. In no case may a before a candidate takes a seat. Candidates are advised not to bring
candidate leave the room temporarily, for any reason, until 30 minutes valuables to the examination room.
after the start of the examination. In order that remaining candidates
are not disrupted, candidates must remain seated and may not leave Unless specified by the professor, no calculator, electronic or commu-
the examination room during the last 15 minutes of the examination nication devices will be allowed in the examination room, including cell
session. phones, smartphones, etc. Cell phones will be taken away if found and
an Irregularity notice will be filed with the Integrity Office. Allowed
At the close of the examination period, candidates must stop writing aids must be indicated on the examination paper. If non programmable
immediately. The Presiding Officer may seize the papers of candidates calculators are permitted, only those without lids, authorized by the
who fail to observe this requirement, and a penalty may be imposed instructor, will be allowed. It is the candidate’s responsibility to ascer-
at the discretion of the instructor. Candidates must submit all their tain whether the use of calculators is permitted, and, if it is, whether
work, according to the instructions of the Presiding Officer, including any restrictions are imposed on the types of calculators that may be
all materials and a copy of the examination paper with their name and brought to the examination. No pencil cases are allowed on the desks.
student ID number written on it. Unused examination booklets may
not be taken from the examination room. Translation dictionaries (e.g. English French) or other dictionaries,
(thesaurus, definitions, technical) are not allowed unless specified by
A candidate who leaves before the examination is over must hand in the instructor and indicated on the examination paper. Electronic dic-
all completed and attempted work, notes made during the exam, and a tionaries are never allowed.
copy of the examination paper with their name and student ID number
on it. Except for bottled water (with label removed), no food or drink is al-
lowed in the examination room. Candidates with health problems that
Talk or any form of communication between candidates is absolutely warrant relaxation of this regulation should provide medical documen-
forbidden. No information of any kind is to be written on the question tation to the presiding officer prior to the beginning of the examination.
paper or on scrap paper for the purpose of assisting other candidates. Such students should restrict themselves to those items and packaging
Responses to questions must not be done in an exaggerated way or in that will least distract other examinees.
a manner that will involve transmission of information to others.
Candidates are expected to write their examinations in an honest and
Candidates must remain seated during the examination period. A straightforward manner. Where there are reasonable grounds for be-
candidate needing to speak to the proctor (e.g. to ask for additional lieving a violation of exam protocol has occurred, the candidate will be
supplies or to request permission to leave the examination room for subject to the disciplinary procedures and sanctions according to the
any reason) should so indicate by raising their hand. University Calendar.
Questions concerning possible errors, ambiguities or omissions in the Only currently registered students will be permitted to write the final
examination paper must be directed to the proctor who will investi- exam.
gate them through the proper channels. The proctor is not permitted
to answer questions other than those concerning the examination paper. Examinations conducted at Wilfrid Laurier University will be bound by
WLU regulations, regardless of where the candidate is registered.
Var Label
10% 10%
−∞ −1.28 1.28 ∞
ii. (2 points) What do you think of the overall fit of the model? how much of the variation in the
dependent variable is explained by variation in the explanatory variables.
iii. (3 points) Test whether or not the explanatory variables simultaneously explain the dependent
variable.
iv. (6 points) We want to test whether the partial effect of ACT is the same as the priGPA. Here is
some code and output. Can you conduct the test given the information presented below? if
so, conduct the test, if not explain why.
R Code for Q 2- b.iv
> nossummary(reg2_6)
Call:
lm(formula = final ~ attend + ACT + hwrte + first + second +
priGPA, data = attend)
Residuals:
Min 1Q Median 3Q Max
-14.0833 -2.6871 -0.1738 2.8526 10.9272
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 9.45211 1.53067 6.175 1.15e-09
attend 0.03128 0.04408 0.710 0.4782
ACT 0.39891 0.05346 7.462 2.68e-13
hwrte 0.02111 0.01096 1.926 0.0545
first -0.25449 0.51873 -0.491 0.6239
second -0.82139 0.43062 -1.907 0.0569
priGPA 2.05513 0.39192 5.244 2.12e-07
Call:
lm(formula = final ~ attend + ACTpriGPA + hwrte + first + second,
data = attend)
Residuals:
Min 1Q Median 3Q Max
-14.131 -2.711 -0.101 2.938 11.091
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 17.973527 1.020169 17.618 <2e-16
attend -0.005689 0.040646 -0.140 0.8887
ACTpriGPA 0.116598 0.009546 12.215 <2e-16
hwrte 0.019468 0.010934 1.780 0.0755
first -0.148984 0.514612 -0.290 0.7723
second -0.839521 0.430148 -1.952 0.0514
v. (7 points) Test whether the coefficient on hwrte is double that of attend by explaining the way
you would conduct the test. This is explaining the test and no code is needed. If you only give
code, you receive a mark of zero.
vi. (7 points) You want to test βACT = .5 & βpriGPA = .6. Explain the way you would conduct the
test. This is explaining the test and no code is needed. If you only give code, you receive
a mark of zero.
Question 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 points
Suppose you have data on school achievements. The data set is for California and has the following variables
R Output for Q 3- a
Call:
lm(formula = testscr ~ region, data = schools)
Residuals:
Min 1Q Median 3Q Max
-49.903 -13.667 0.393 13.543 48.257
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 658.4935 1.5620 421.564 < 2e-16
region -3.0409 0.8862 -3.432 0.00066
Call:
lm(formula = testscr ~ central + southern + superior, data = schools)
Residuals:
Min 1Q Median 3Q Max
-42.789 -12.455 -0.657 13.774 48.996
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 665.989 1.776 375.080 < 2e-16
central -18.365 2.408 -7.627 1.65e-13
southern -16.535 2.365 -6.993 1.08e-11
superior -9.147 2.705 -3.382 0.000787
i. (5 points) Interpret the coefficients From the regression above. Are there any differences between
the regions
ii. (5 points) What is the difference between the central and southern region in terms of test scores
c: We now issue the following commands
R Code for Q 3- c
Question 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 points
This question has two parts that are independent of each other
a: You have the following output from
What is the effect of the change on the coefficients, fitted values and residuals
What is the effect of the change on the coefficients, fitted values and residuals
iii. (5 points) Suppose you issue the following commands in
R Code for Q 4- a.iii
What is the effect of the change on the coefficients, fitted values and residuals
iv. (10 points) Suppose you issue the following commands in
R Code for Q 4- a.iv
What is the effect of the change on the coefficients, fitted values and residuals
b: (25 points) In the output from below, fill out the missing values where you see the word calculate
(assume tdf,.975 = 1.96)