I run a multilevel model
xtmelogit vd vi if eurozone==1 || countryid:, ml var
and the results come out with the independent variable as statistically significant.
If I repeat the same multilevel model but adding different slopes for the same variable that was significant before
xtmelogit vd vi if eurozone==1 || countryid: vi, ml var
the v1 loses its significance because the standard deviation is very large.
Does this make sense? Should I keep the first model or the second one?
I would like to represent the margins of an interaction in the model
xtmelogit vd vi##vi2 if eurozone==1 || countryid: vi, ml var
How can i do it?
Stata only allows me to represent the fixed part when I make margins.
If not a get an error.
margins, dydx(vi2) at(v1=(5(10)20)) predict (mu fixed)
Thank you.
Related Posts with Problem with margins in multilevel random slope and stata
Major update to -moremata-A new version of -moremata- is available from SSC. Type Code: . ssc install moremata, replace to i…
Update and paper on -reldist-The -reldist- package (relative distribution analysis) has been updated on SSC. Type Code: . ssc i…
Command for Listwise deletionI am doing linear regression and my IV has more cases than my DV so our instructor told us to do lis…
Interpretation formulas of Poisson regression coefficient formula for percentages and logsDear Statalist members, I have done a Poisson fixed effects panel regression (Stata 13) regressing …
Stripping a variable of another's effect (or Fama-MacBeth regressions)Hello everyone, I have time series data with over 1000 daily observations regarding financial asset…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with margins in multilevel random slope and stata
Post a Comment