Hi all, I'm conducting a diff-in-diff analysis and I'm using margins to test the parallel trends assumption. My outcome variable is "medcost" (0,1) and I've included an interaction term for year (2009-2012, 2016-2019) and treatment (0,1). Here is my code: logit medcost i.year##i.treat2 if _age65yr==1 & mcaid_elig==1 & coverage==0 [pweight=_llcpwt], cluster(_state) allbaselevels
The output omits 2009 and 2010 and uses 2011 as the base level.
Thank you in advance for your help and advice!
Related Posts with interaction terms missing in output--please help!
How to create percentiles?I am working with US Census data for 2000. It is an individual-level data (14,081,466 observations) …
How to make a graph of mean and standard deviation?Greetings. How can I make this graph of mean and standard deviation in stata? What would the command…
Outreg2 in a loop and table titleHello everyone, I am facing an issue with the outreg2 command. So I am trying to run a loop like th…
generating a table including other tables as its columns.Dear All, First and foremost, this is my first post here so hello everyone, and my apologies if I m…
Spatial autocorrelation tests and spatial weight matrix for panel dataHello everyone, I could not find "splagvar" command from my Stata software. I would like to do Mora…
Subscribe to:
Post Comments (Atom)
0 Response to interaction terms missing in output--please help!
Post a Comment