代写BPE Senior Seminar Fall 2024 Third assignment代做R语言

BPE Senior Seminar

Fall 2024

Third assignment (100 points)

INSTRUCTIONS: This assignment is due on December 8th  by 11.59 p.m. Please use the following guidelines to complete the assignment and submit our work through NYU Brightspace.

For this assignment, you are required to work in groups of three students. At the beginning of your write- up, clearly state the full names and net IDs of all three members of your group. It's essential that the members of your group remain the same throughout the semester.

You have the option to use either Stata or R software for this assignment. Once you've made your choice, please stick with that software for the entirety of the semester.

Your main write-up should be formatted using the Times New Roman font at a 12pt size with 1.5 spacing. If you're including any code in your assignment, place it at the end in a section titled "Appendix." This section should be formatted  using the Courier  New font, which  is  best suited for  displaying  code in documents.

It's important to note that each member of the group must upload the assignment separately. When you're ready to submit, go to the Assignments tab in BrightSpace. Make sure your document is saved and uploaded as a PDF file. An important detail to remember is to name your file using your network ID. For example, if your net ID is "rcd306", the file you upload should be named "rcd306.pdf". Although your code will not be graded, you are required to submit it. One or two groups will be randomly selected to present their code.

The files for completing this assignment are available on Brightspace and Dropbox

1.    Plotting the Raw Data (20 points)

Download the Excel file announcement_replication.xlsx. In a do-file or R-file write down code that can perform. the following tasks. Remember that you need to use the foreign package to open the excel file.

We are going to replicate Figure 2A from “The Rise and Persistence of Illegal Crops: Evidence from a Naïve Policy Announcement” (Prem, Vargas, and Mejia, 2023) (page 348).

•    Use the group_by and summarize commands to get an average of the suitability for coca and non-coca areas for each year. Don't forget to call library(dplyr) (5 points).

•    Replicate the plot. You must distinguish between the two areas based on their suitability on the plot. Use a legend as in the paper (10 points).

•    What is this plot suggesting? (5 points)

2.    Replicating Table 1 (30 points)

Write down the code that replicates only columns 1, 2, and 3 of Table 1. The standard errors in this case will be the same as in the papers because the code automatically clusters at the municipality level, so don't worry about it.

•    Replication of the main table (30 points) (Hint: You need to include different fixed effects and controls depending on the specification.   Your outcome is coca_area_grid and   your independent variable is suit_announce. Read what is included in the specification of each column.  For example, column  2  includes not only Municipality FE and Year FE, but also Department Year FE. Thus, you need to interact  -using  *-  coddepto  with time  FE. The specification of column  3  also  includes  the  following  controls:  indrural_announcement, discapital_announcement, IPM_announcement, lpobl_tot_announcement;  which are interactions of these with a cease fire dummy that  identifies the  period after  2013. Just include these you don't need to interact anything with the controls).

3.    Interpretation (50 points)

•    What is the control group? What is the treatment group? What is the pre-treatment period? What is the post-treatment period? (10 points)

•    What is b capturing in all of these three cases? (5 points)

•    Explain what does the suit_announce variable measures in this setup?  (5 points)

•    Why  do the authors mention that the controls (municipality characteristics) are measured before the announcement?  (10 points)

•    Why do the authors include FE departments in column 2? If they include these FE, what are we comparing when we get our b? (10 points)

•    We know that the parallel trends assumption is crucial in a diff-in-diff setup.

o What resources do the authors use in the paper to provide some suggestive evidence that low and high coca-suitable municipalities follow similar trends? Be specific (5 points).

o What resources do the authors use in the paper to provide formal evidence that low and high coca-suitable communities follow similar trends? Be specific (5 points).

4.    Extra (25 points)

•    Do a  placebo  regression in which you change the  date of the announcement. Run the same regressions as you did in columns 1, 2, and 3. Show your results using a table (20 points).

•    Are these result consistent with what we should have expected? (5 points)


热门主题

课程名

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
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图