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
Stata 16: garbled character in ado & help file.Dear Stata users, Some ado & help file which displays correctly under Stata 13 are now giving r…
Fama French: Calculating portfolio returns within sub-portfolios (aggregation of monthly returns) in different dimensionsHey all, I hope you are doing all well. I would like to calculate portfolio returns for an individ…
Cox model margins estimatesDear colleagues, I am using STATA version 15.1 and am struggling to estimate margins for a continuo…
Question: Merging observations in one variable while simultaneously summing the numbers of the related observations in another variableHello I am new to this forum, so sorry if this question has been asked before (tried searching for …
Export data in histogramI am new to stata (I am using version Stata/IC 12.1 for Mac, 64-bit Intel) and succeeded in producin…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with margins in multilevel random slope and stata
Post a Comment