代做PPOL 506 SPRING 2024 MIDTERM帮做R编程

PPOL 506

SPRING 2024 MIDTERM

Part 1: Conceptual and theoretical exam (50 points)

Use only handwritten notes on one, 8.5 by 11-inch piece of paper and a calculator to complete part 1 of the midterm. You must work by yourself. Show work if you want partial credit. If an answer is wrong and you do not show work, you will lose all points associated with the question.

Part 2: Computational exam (20 points)

You may use material from the class and outside material to complete part 2 of the midterm. You must work by yourself. You must submit your R code as well as your responses for full points.

Your final submission should have two parts: submission of R code and written answers. Your R code should be clean and run from start to finish without breaking. All R output/calculations included in your written answers should be in your R code upload file. Your written answers should be submitted as a doc or pdf file. This document should contain all answers. If you are asked to generate R output (tables, regressions, ANOVA, figures, etc.) these outputs should be included in your written submissions.

Question 1 (17 points)

The following regression output regresses annual weeks worked on age, an indicator for male, an indicator for married, a factor variable of education (bachelor’s degree or higher omitted category), and indicator for born in the United States. Using the regression output, answer the following questions.

a) What is the unit of analysis for this regression? (1 point)

b) What is the sample size for this regression? (1 point)

c) Write the prediction equation. Define each variable (outcome and explanatory) and specify the units. If a variable is binary or categorical, define each value. (4 points)

d) Conduct a hypothesis test for the estimated effect of age. Specify the hypotheses you are testing, calculate the test statistic, and draw a conclusion using either the test statistic critical value or associated p-value. Assume α = 0.05. (4 points)

e) Calculate a 95% confidence interval for the effect of age. Interpret. (3 points)

f) Conduct a global test of independence (i.e., test if any of the explanatory variables are statistically related to the outcome variable). Assume α = 0.05. Clearly write out the hypotheses, solve for the test statistic, and draw a conclusion. (4 points)

Question 2 (6 points)

An article reports results from a multivariate regression of climate change beliefs. The model used a response variable with a four-point scale in which climate change beliefs were scaled from 1 (climate change is not happening) to 4 (climate change, caused by human behavior, is happening). The explanatory variables used in the model include x1 = education (in years), x2 = age (in years), x3 = politically conservative (1=yes), x4 = religious fundamentalist (1=yes), and x5 = live in same city as when age 16 (1=yes). The prediction equation is as follows

Report the prediction equations for political conservatives and nonconservatives (you may assume all estimated relationships in the prediction equation are statistically significant). Interpret what these prediction equations suggest about the effect of education on climate change beliefs for those of differing political ideologies.

Question 3 (21 points)

A researcher is examining the effect of an affordable housing program on child mental health. Model 1 predicts the mental health score (values ranging from 1-10, higher values indicating poorer mental health) as a function of participation in the housing program (0=not in the housing program and 1=in the program, and race). Model 2 includes several additional explanatory variables and an interaction between the housing program and child’s race.

a) Why is the race/ethnicity category White omitted from the regression? (2 points)

b) Using Model 1, interpret the coefficients on Housing program and Black. Is the relationship between Housing program and Mental health score statistically significant? (4 points) 

c) Using Model 1, what is the predicted mean mental health score for a White child from a family that participates in the affordable housing? How about for a Black child, a Latino child, and a child of other race? (4 points)

d) Using Model 2, what is the prediction equation for the child mental health score for a White child whose family participates in the affordable housing program? How about for a Black child whose family participates in the affording housing program? (4 points)

e) Using the partially created two-way ANOVA table and your knowledge of F-statistics, test the null hypothesis of identical mean mental health scores across race/ethnicity groupings (raceth) controlling for the affordable housing program (affordhouse). (4 points)

f) Using Model 2, interpret the coefficients on Housing program, Latino, and Number of children. (3 points)

Question 4 (6 points)

The following table reports the results of a two-way ANOVA test with an interaction. The response variable is Earned Income Tax Credit (measured in $). The factor variables include male (male=1, female=0) and married (married=1, not married=0).

a) Do the results of this test provide evidence for identical mean earned income tax credit dollars among men and women, controlling for marriage? Why or why not? (2 points)

b) Do the results of this test provide evidence that the size of the effect of marital status on the amount of earned income tax credit received varies by sex? Why or why not? (2 points)

c) Is there a significant interaction between sex and marital status on the amount of earned income tax credit received?  (2 points)

 


热门主题

课程名

socs0030 data7201 data2x01 mn-3507 mat246h1 ib2d90 ib3j80 acc207 comp90007 compx518-24a fit1050 info1111 acct2201 buad801 compsci369 cse 332s info1110 math1033 scie1000 eeee2057 math4063 cmt219 econ5074 fit3094 finm081 econ2005 cpt202 ec333 econ0001 eng5009 csse2310/csse7231 cpt204 elec4630 dts104tc ma117 comp2017 640481 csit128 eco000109m finc5090 ggr202h5f nbs8295 4ssmn902 chc6171 dsa1002 ebu6304 csci-ua.202 ma416 mec206 comp1021 iom209 com6511 cpt206 bism7202 cpt106 ecom209 comp1212 idepg001 math1062 mn-3526 fnce3000 fmhu5002 psyc10003 fina2222 be631-6-sp/1 finc2011 37989 5aaob204 citx1401 econ0028 bsan3204 comp9123 cmt218 itp122 qbus6820 ecmt1020 ecmt2150 bus0117 soft3202/comp9202 basc0057 mecm30013 aem4060 acb1120 comp2123 econ2151 ecmt6006 inmr77 com 5140 ocmp5328 comp1039 had7002h cmt309 asb-3715 elec373 cpt204-2324 be631-6-sp mast10007 econ3016 comp30023 buss6002 comp4403 finm1416 csc-30002 6qqmn971 fin668 mnfg309 inft2031 cits1402 comp2011 eecs 3221 ebu4201 ct60a9600 com336 8pro102 comp8410 comp3425 econ7300 comp222 finm8007 comp2006 comp26020 eeen3007j cis432 comp1721 csci251 comp5125m com398sust finm7405 econ7021 fin600 infs4205/7205 mktg2510- 32022 mth6158 comp328 finn41615 2024 mec302 mgmt3004 mgt7158 com160 as.640.440 f27sb rv32i eecs 113 comp1117b cs 412 comp 315 ecs 116 fit5046 comp30024 acs341 econ1020 isys3014 acc408 comp1047 csc 256 cs 6347 comp5349 ecx2953/ecx5953 bios706 msin0041 econ339 finm7008 comp34212 csmde21 estr2520 comp285/comp220 mds5130/iba6205 finc6010 is3s665 busi2194 125.785 comp3310 mth6150 comp30027 busi2211 bff2401 fnce90046 visu2001 mang6554 finc6001 125785 data423-24s1 engi 1331 fint2100 comp20005 eec286 (520|600).666 cs 61b can202 mast20029 info20003 stat512 econ3208 cmpsc311 engg1340 ecmt1010 fit5216 basc0003
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图