首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代做Econ78010、R编程设计代写
项目预算:
开发周期:
发布时间:
要求地区:
Econ78010: Econometrics for Economic Analysis, Fall 2023
Homework #3
Due date: Dec. 4th, 2023; 1pm.
Do not copy and paste the answers from your classmates. Two identical homework will be treated as
cheating. Do not copy and paste the entire output of your statistical package's. Report only the relevant part
of the output. Please also submit your R-script for the empirical part. Please put all your work in one single
le and upload via Moodle.
Part I Multiple Choice (30 points in total, 3 points each)
Please choose the answer that you think is appropriate.
1.1 A nonlinear function
a. makes little sense, because variables in the real world are related linearly.
b. can be adequately described by a straight line between the dependent variable and one of the explanatory
variables.
c. is a concept that only applies to the case of a single or two explanatory variables since you cannot draw
a line in four dimensions.
d. is a function with a slope that is not constant.
1.2 To test whether or not the population regression function is linear rather than a polynomial of order r,
a. check whether the regression for the polynomial regression is higher than that of the linear regression.
b. compare the TSS from both regressions.
c. look at the pattern of the coecients: if they change from positive to negative to positive, etc., then the
polynomial regression should be used.
d. use the test of (r-1) restrictions using the F-statistic.
1.3 In the regression model , Yi = β0 + β1Xi + β2Di + β3(Xi × Di) + ui
, where X is a continuous variable
and D is a binary variable, β3
a. indicates the slope of the regression when D = 1
b. has a standard error that is not normally distributed even in large samples since D is not a normally
distributed variable.
c. indicates the dierence in the slopes of the two regressions.
d. has no meaning since (Xi × Di) = 0 when Di = 0.
1.4 The interpretation of the slope coecient in the model ln(Yi) = β0 + β1Xi = ui
is as follows:
a. 1% change in X is associated with a β1% change in Y.
b. 1% change in X is associated with a change in Y of 0.01β1 .
c. change in X by one unit is associated with a 100β1% change in Y.
d. change in X by one unit is associated with a β1 change in Y.
1.5 The major aw of the linear probability model is that
a. the actuals can only be 0 and 1, but the predicted are almost always dierent from that.
b. the regression R2 cannot be used as a measure of t.
c. people do not always make clear-cut decisions.
d. the predicted values can lie above 1 and below 0.
1.6 In the expression, P r(Y = 1|X1) = Φ(β0 + β1X) ,
a.(β0 + β1X) plays the role of z in the cumulative standard normal distribution function.
b. β1 cannot be negative since probabilities have to lie between 0 and 1.
c.β0 cannot be negative since probabilities have to lie between 0 and 1.
d. min(β0 + β1X) > 0 since probabilities have to lie between 0 and 1.
1
1.7 In the expression Pr(deny = 1| P/I Ratio, black) =Φ (2.26 + 2.74P/I ratio + 0.71black), the eect of
increasing the P/I ratio from 0.3 to 0.4 for a white person
a. is 0.274 percentage points.
b. is 6.1 percentage points.
c. should not be interpreted without knowledge of the regression R2 .
d. is 2.74 percentage points.
1.8 E(Y |X1, ...Xk) = P r(Y = 1|X1, ..., Xk) means that:
A) for a binary variable model, the predicted value from the population regression is the probability that
Y=1, given X.
B) dividing Y by the X's is the same as the probability of Y being the inverse of the sum of the X's.
C) the exponential of Y is the same as the probability of Y happening.
D) you are pretty certain that Y takes on a value of 1 given the X's.
1.9 For the measure of t in your probit regression model, you can meaningfully use the:
A) regression R2.
B) size of the regression coecients.
C) pseudo R2.
D) standard error of the regression.
1.10 Your textbook plots the estimated regression function produced by the probit regression of deny on
P/I ratio. The estimated probit regression function has a stretched S shape given that the coecient on the
P/I ratio is positive. Consider a probit regression function with a negative coecient. The shape would
a. resemble an inverted S shape (for low values of X, the predicted probability of Y would approach 1)
b. not exist since probabilities cannot be negative
c. remain the S shape as with a positive slope coecient
d. would have to be estimated with a logit function
Part II Short Questions (32 points in total)
(10 points) 2.1 Dr. Qin would like to analyze the Return to Education and the Gender Gap. The equation
below shows the regression result using the 2005 Current Population Survey. lnEearnings refer to the logarithem of the monthly earnings; educ refers to the year of education; DF emme is a dummy variable, if the
individual is female, =1; exper is the working experience, measured by year; M idwest, South and W est are
dummy variables indicating the residence regions, while Northeast is the ommited region. Interpret the major
results(discuss the estimates for all variables and also address the question that Dr. Qin wants to analyze.
LnEarnings ˆ = 1.215 + 0.0899 × educ − 0.521 × DF emme + 0.0180 × (DF emme × educ)
(0.018) (0.0011) (0.022) (0.0016)
+0.0232 × exper − 0.000368 × exper2 − 0.058 × M idwest − 0.0078 × South − 0.030 × W est
(0.0008) (0.000018) (0.006) (0.006) (0.006)
n = 57, 863 ¯ R2 = 0.242
(14 points) 2.2 Sports economics typically looks at winning percentages of sports teams as one of various
outputs, and estimates production functions by analyzing the relationship between the winning percentage
and inputs. In Major League Baseball (MLB), the determinants of winning are quality pitching and batting.
All 30 MLB teams for the 1999 season. Pitching quality is approximated by Team Earned Run Average
(teamera), and hitting quality by On Base Plus Slugging Percentage (ops). Your regression output is:
W inpct = −0.19 − 0.099 × teamera + 1.49 × ops, R2 = 0.92
(0.08) (0.008) (0.126)
(a) (3 points) Interpret the regression. Are the results statistically signicant and important?
2
(b) (8 points) There are two leagues in MLB, the American League(AL) and the National League (NL). One
major dierence is that the pitcher in the AL does not have to bat. Instead there is a designatedhitter in
the hitting line-up. You are concerned that, as a result, there is a dierent eect of pitching and hitting in
the AL from the NL. To test this Hypothesis, you allow the AL regression to have a dierent intercept and
dierent slopes from the NL regression. You therefore create a binary variable for the American League
(DAL) and estiamte the following specication:
W inpct = −0.29 + 0.10 × DAL − 0.100 × teamera + 0.008 × (DAL × teamera)
(0.12) (0.24) (0.008) (0.018)
+1.622 ∗ ops − 0.187 ∗ (DAL × ops)
(0.163) (0.160) R
2 = 0.92
How should you interpret the winning percentage for AL and NL? Can you tell the dierent eect of
pitching and hitting between AL and NL? If so, how much?
(3 points) (c) You remember that sequentially testing the signicance of slope coecients is not the same as
testing for their signicance simultaneously. Hence you ask your regression package to calculate the F-statistic
that all three coecients involving the binary variable for the AL are zero. Your regression package gives a
value of 0.35. Looking at the critical value from the F-table, can you reject the null hypothesis at the 1%
level? Should you worry about the small sample size?
(8 points) 2.3 Four hundred driver's license applicants were randomly selected and asked whether they
passed their driving test (P assi = 1) or failed their test (P assi = 0 ); data were also collected on their gender
(M alei = 1 if male and = 0 if female) and their years of driving experience (Experiencei
in years). By this
data, a probit model is estimated and the result is as the following.
P r(P ass ˆ = 1) = Φ(0.806 + 0.041Experience − 0.174M ale − 0.015M ale × Experience)
= (0.200) (0.156) (0.259) (0.019)
The cumulative standard normal distribution table is appended.
(2 points) (a) Alpha is a man with 12 years of driving experience. What is the probability that he will
pass the test?
(2 points) (b) Belta is a woman with 5 years of driving experience. What is the probability that she will
pass the test?
(4 points) (c) Does the eect of experience on test performance depend on gender? Explain.
Part 3 Empirical Exercise (38 points in total)
For all regressions, please report the heteroskedasticity-robust standard errors.
(16 points) 3.1 Please use vote2023.dta to answer the following questions. The following model can be used
to study whether campaign expenditures aect election outcomes:
voteA = β0 + β1log(expendA) + β2log(expendB) + u_(1)
voteA = β0 + β1log(expendA) + β2log(expendB) + β3prtystrA + u (2)
where voteA is the percentage of the vote received by Candidate A, expendA and expendB are campaign
expenditures (in 1000 dollars) by Candidates A and B, and prtystrA is a measure of party strength for
Candidate A (the percentage of the most recent presidential vote that went to A's party).
(4 points) (i) Please run the regression (1) and report your result in a table. Do A's expenditure aect the
outcome and how? What about B's expenditure? (Hint: you need to rst creat the variables ln(expendA)
and ln(expendB)
(8 points) (ii) Please run the regression (2) and report your result in the same table. Do A's expenditure
aect the outcome and how? What about B's expenditure? Compare result from (i) and (ii), explain whether
we should include prtystrA in the regression or not. If we exclude it, to which direction the coecient of
interest tend to be biased towards?
3
(4 points) (iii) Can you tell whether a 1% increase in A's expenditures is oset by a 1% increase in B's
expenditure? How? Please suggest a regression or test and then answer the question according to your result.
(22 points) 3.2. Use the data set insurance.dta to answer the following questions. Please read the description le to understand the meanings of variables.
For the following questions, please use observations from those who report their health status as healthy
only.
(4 points) (a) Generate a new variable age2 = age ∗ age. Estimate a linear probability model with insured
as the dependent variable and the following regressors: selfemp age age2 deg_ged deg_hs deg_ba deg_ma
deg_phd deg_oth race_wht race_ot reg_ne reg_so reg_we male married. Please report the regression
outcome in a table. How does health insurance status vary with age? Is there a nonlinear relationship between
the probability of being insured and age?
(4 points) (b) Estimate a probit model using the same regressors as in (a), please report the regression
outcome in the same table as a. How does insurance status vary with age by this model?
(6 points) (c) Please get rid of the variable age2 and estimate the probit model by the left regressors.
Please report the regression outcome in the same table as a. Does throwing away age2 aect the t of the
model? How does insurance status vary with age by this model? Are the self-employed less likely to have
health insurance than wage earners? How does the status of self-employment aect insurance purchase for
individuals aged at 30? For individuals aged at 40?
(4 points) (d) Estimate a logit model using the same regressors as in (c). Pleasue report the regression
outcome in the same table. Is the eect of self-employment on insurance dierent for married workers than
for unmarried workers?
(4 points) (e) Use a linear probability model to answer the question: Is the eect of self-employment on
insurance dierent for married workers than for unmarried workers ? Is your answer consistent with the answer
in (d)?
4
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!