My Authors
Read all threads
@NickWolfinger @Stata First off, you should try using the i. in place of the c. operator for year. The latter treats year as a continuous variable and assumes that the coefficients of the relationships remain constant across time. The former allows them to vary by year.
@NickWolfinger @Stata So it should be educ##year as opposed to educ##c.year (no need to include the i. operator).
@NickWolfinger @Stata With i.year, you also wouldn't have to manually specify at(year=(1980 1981 1982) etc. etc.

So if you'd like to see how the effects of having a college education on Y change over time, you would do...
margins i.year, at(educ=(insert value for college education)).
@NickWolfinger @Stata and if you'd like year-conditional estimates for *all* levels of education, you would just do... margins educ#year.

Not sure whether any of this answers your question, but thought I'd try.
Missing some Tweet in this thread? You can try to force a refresh.

Keep Current with Zach Goldberg

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!