forked from NickCH-K/did
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmpdta.sthlp
More file actions
58 lines (45 loc) · 1.73 KB
/
mpdta.sthlp
File metadata and controls
58 lines (45 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{smcl}
{* *! version 0.2.0 14apr2021}{...}
{vieweralsosee "att_gt" "help att_gt"}{...}
{vieweralsosee "aggte" "help aggte"}{...}
{vieweralsosee "did" "help did"}{...}
{vieweralsosee "ggdid" "help aggte"}{...}
{vieweralsosee "didsetup" "help didsetup"}{...}
{vieweralsosee "conditional_did_pretest" "help conditional_did_pretest"}{...}
{vieweralsosee "" "--"}{...}
{vieweralsosee "[TE] teffects intro" "help teffects intro"}{...}
{viewerjumpto "Syntax" "mpdta##syntax"}{...}
{viewerjumpto "Description" "mpdta##description"}{...}
{viewerjumpto "Author" "mpdta##author"}{...}
{viewerjumpto "References" "mpdta##references"}{...}
{title:mpdta}
{phang}
{bf:mpdta} {hline 2} Load example data mpdta from the did package
{marker syntax}{...}
{title:Syntax}
{p 8 17 2}
{cmd:mpdta}, [clear]
{synoptset 20 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opt clear}} replace existing data with the mpdta data.
I would make this the default but that feels un-Stata-like.{p_end}
{synoptline}
{p2colreset}{...}
{marker description}{...}
{title:Description}
{pstd}
{cmd:mpdta} will load the example data from the R did package called mpdta.
This data can be used to try out different did commands.
{pstd}
This dataset contains (the log of) teen employment in 500 counties in the U.S. from 2004 to 2007.
This is a subset of the dataset used in Callaway and Sant'Anna (2020). See that paper for additional descriptions.
{marker author}{...}
{title:Author}
Nick Huntington-Klein
{marker references}{...}
{title:References}
{phang} Callaway, B., and P. H. C. Sant'Anna (2020). Difference-in-Differences with Multiple Time Periods.
{it:Journal of Econometrics}. {browse "https://doi.org/10.1016/j.jeconom.2020.12.001":Link}.