Dear Statalists,
I have a model:
My year and month goes from 2019jan until and including 2025feb.
I wish to estimate marginal effects per month and therefore run:
However, Feb until Dec returns "not estimable". Can someone explain to me how come?
Shouldn't margins estimate marginal means across all available months?
It estimates all months just fine if I limit the model to 2019Jan until 2024Dec.
Let me know if I should include a dataexample, I'll try to reproduce the results.
Many thanks!
Best regards,
Wei
I have a model:
Code:
mixed var1 var2 year##month || var3
I wish to estimate marginal effects per month and therefore run:
Code:
margins month, atmeans
Shouldn't margins estimate marginal means across all available months?
It estimates all months just fine if I limit the model to 2019Jan until 2024Dec.
Let me know if I should include a dataexample, I'll try to reproduce the results.
Many thanks!
Best regards,
Wei
Comment