Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Schöler, Lisa <lschoeler@wiwi.uni-frankfurt.de> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: xtmixed |
Date | Thu, 7 Oct 2010 13:55:16 +0000 |
Hi, I used ratios (e.g. income0=income (in 1000s of $)/sales (in 1000s of $)) for the most variables (income, rd ...). Is this a problem? Thank you Lisa -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis Sent: Thursday, October 07, 2010 3:39 PM To: statalist@hsphsun2.harvard.edu Subject: Re: st: xtmixed --- On Thu, 7/10/10, Schoeler, Lisa wrote: > I am having trouble with the command -xtmixed-. After using > the command below I get this output. > Now I want to get an output with the individual betas for > the independent variables for every SIC code. Can anybody > help me with that? > > .xtmixed q0 number_brands market_share intensity > satisfaction channels margin sga0 rd0 cogs0 lppe0 income0 > lassets0 leverage0 || SIC_twodigits: _brands > market_share intensity satisfaction channels margin > ----------------------------------------------------- > number_brands| 6.07e-07 > market_share | 4.82e-07 <snip> > ----------------------------------------------------- > ----------------------------------------------------- > Random-effects Parameters > -------+--------------------------------------------- > sd(number_brands) | 1.41e-06 > sd(market_share) | 1.90e-06 <snip> > -------+--------------------------------------------- The size of the effects of your random variables and their variance worry me a great deal. Often this occurs when variables have a wrong scale for the model, for example annual income in $s rather than 1000s of $. If that is not the case then there is something very fishy going on with your model. Once you have fixed your model you can use -predict- to get your individual betas for the independent variables for every SIC code. See -help xtmixed postestimation-. Hope this helps, Maarten -------------------------- Maarten L. Buis Institut fuer Soziologie Universitaet Tuebingen Wilhelmstrasse 36 72074 Tuebingen Germany http://www.maartenbuis.nl -------------------------- * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/