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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: xtmixed


From   Joerg Luedicke <joerg.luedicke@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: xtmixed
Date   Fri, 21 Dec 2012 09:22:38 -0500

Instead of:

xtmixed vardep var_indep1 var_indep2 || u : var_indep2 , residuals (ar
1, t(year))

try:

xtmixed vardep var_indep1 var_indep2 || u : var_indep2 , residuals(ar
1, t(year))

Note the blank between -residuals- and the opening bracket.

Joerg


On Fri, Dec 21, 2012 at 7:07 AM, Carmen Blanco <blnco.mc@gmail.com> wrote:
> Dear statalist,
>
> I need your help.
> I have a panel data with ar 1.
> I estimate with the command xtmixed the following expression:
>
> xtmixed vardep var_indep1 var_indep2 || u : var_indep2 , residuals (ar
> 1, t(year))
>
> where u is the random error component
> and I want the random slope in the var_indep2
>
> Could someone tell me, please, why Stata reports me an error (invalid
> something: unmatched close parenthesis or bracket) in my expression?
>
> I appreciate it
>
> C.
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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