Hey there, fellow people 
I have encountered Stata only a week ago - so far I was busy with SPSS, so excuse any silly questions.
I am trying to carry out a random intercept model on the independent variable of new product sales (measured in lnsales) and the dependent variable sustainable label on product (measured as yes/no dummy: sust). Several moderators complicate this relationship:
- degree of product innovativeness (scale from 1-8; innov)
- promotional activity (yes/no; promo)
- already existing products within category (continuous; sustcat)
- vice or virtue category (dummy variable 1/0; vice)
The level 2 variable, which the rest is nested in, is product category (keycat measured on a count scale).
So far I have used the following command:
xtmixed lnsales sust innov susxinnov promo susxpromo sustcat sustxsustca vice sustxvice (+various control variables), II keycat: II id:
I have tried numerous different combinations (with and without interactions; removing and including various control variables), but I cannot seem to get the correct way. The main effect should be significant, but it just doesn't happen. Is there anything wrong with my command?
Thanks!

I have encountered Stata only a week ago - so far I was busy with SPSS, so excuse any silly questions.
I am trying to carry out a random intercept model on the independent variable of new product sales (measured in lnsales) and the dependent variable sustainable label on product (measured as yes/no dummy: sust). Several moderators complicate this relationship:
- degree of product innovativeness (scale from 1-8; innov)
- promotional activity (yes/no; promo)
- already existing products within category (continuous; sustcat)
- vice or virtue category (dummy variable 1/0; vice)
The level 2 variable, which the rest is nested in, is product category (keycat measured on a count scale).
So far I have used the following command:
xtmixed lnsales sust innov susxinnov promo susxpromo sustcat sustxsustca vice sustxvice (+various control variables), II keycat: II id:
I have tried numerous different combinations (with and without interactions; removing and including various control variables), but I cannot seem to get the correct way. The main effect should be significant, but it just doesn't happen. Is there anything wrong with my command?
Thanks!
Comment