Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: xtmixed with option residuals


From   Schöler, Lisa <lschoeler@wiwi.uni-frankfurt.de>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: xtmixed with option residuals
Date   Thu, 7 Oct 2010 16:56:46 +0000

Dear Statalist,

I am trying to run the following command: 

.xtmixed q0  tv q0 number_brands market_share intensity satisfaction channels margin sga0 rd0 cogs0 lppe0 income0 lassets0 leverage0 ||SIC_twodigits: number_brands market_share intensity satisfaction channels margin, mle residuals(ar 1, by(id) t(year)) 

And I get the following error:

option residuals(): by variable is not constant within lowest-level panels r(459);

I don't understand why I get this error. I have a dataset that includes 9 yearly observations for different companies(unique id for each company) that are in different SICs. 
Can anyone tell me where my problem is?

Thanks
Lisa


Lisa Schöler
Professur für BWL, insb. Electronic Commerce
Goethe-Universität Frankfurt
Grüneburgplatz 1 
60629 Frankfurt a.M.
 
Phone: ++49 69 798 34632
Fax:   ++49 69 798 35001
Email: lschoeler@wiwi.uni-frankfurt.de
URL:   www.ecommerce.wiwi.uni-frankfurt.de

_________________________________
Get serious about better marketing decisions - apply now!
http://www.goethe-master.de


*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index