Hello everyone, this is my first post here so please excuse me if the formatting is not great yet.
I am learning stata through a class in college and I currently have a problem set to complete on fixed effects and difference in differences.
The very first question is just a test of average from two datasets. My first thought was to find the mean and then do a t-test. However, the professor is asking for a regression to test the difference in average. "Test whether these average wages are significantly different in 1950 and 2010, and present these results in a well-labeled table. Beware of missing values and use a regression".
I do not understand what she means by it. Should I join the datasets to create a single one? And then if "wage" is the Y, I do not see what my variables would be in the regression.
All I have to do is present the results in a table, but I do not know how to do this in the to-do file.
Thank you so much!
Alex
Related Posts with Confusion about FE and DID
Difference between variables doesn't workHello everybody, I've been using this forum for reading very useful tips, for which I am really gre…
Generate new variable(s) conditional on different variables taking a specific valueDears, I would generate new variables every time that corr_tof* takes the same value as tof. Here b…
Intended Nickell bias to test the usefullness of different fixed effectsHi all, I am working on panel data and I assume that at least one of my explanatory variables is en…
Find the the variable with highest value and mark this as 1, while the other variables are marked 0Hello all, I have a data set that looks like this: Code: input int year float(A B C D E) 1950 .3…
margins for mvregHi, I did a mvreg on 2 continuous outcomes variables y1 y2 with 3 continuous predictors x1 x2 x3*x4…
Subscribe to:
Post Comments (Atom)
0 Response to Confusion about FE and DID
Post a Comment