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]

st: command in xttobit model: variance and covariance


From   House Wang <jwanghouse@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: command in xttobit model: variance and covariance
Date   Thu, 20 Oct 2011 16:07:39 -0500

The DV is a censored continuous variable (between 0 to 1). And the DV
may be lack of independence due to year.
I want to check whether there is intraclass correlation due to year (a
time variable).
The command I write is this:
xttobit dv, i(year) ll(0) ul(1)
But the results shows:
invalid syntax
r(198);

What is wrong with the command?
HINT: What I do in the xttobit model is close to xtmixed model for
linear regression as follows:
xtmixed  dv || year:, variance covariance(unstructured)

Thanks a lot.
Jianying
*
*   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