Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Help with CLAD - something strange.


From   "jyotsna puri" <pjyotsna@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Help with CLAD - something strange.
Date   Thu, 11 Aug 2005 16:49:33 +0000

Dear Listers,

Something strange seems to be happening with my data.
When I use CLAD the system tells me that one of my variables
is not present.
But it is.
When I tab the variable, the variable is there.
As further evidence, when I run -xttobit on the data using this
variable (amongst others), it works fine.

Any ideas what could be happening? Output is below.
Thanks in anticipation.
-Jo

. clad Lsoytobit1 year Lpopn Ltrmnew agwsc2 crbadu1 adltrt Lhhmctrt cowrt1
[crbadu1] not found
post: above message corresponds to expression 6, variable crbadu1
r(111);

. tab crbadu1

= crbadu |
==2 | Freq. Percent Cum.
------------+-----------------------------------
0 | 1,136 51.50 51.50
1 | 1,070 48.50 100.00
------------+-----------------------------------
Total | 2,206 100.00

. xttobit Lsoytobit1 year Lpopn Ltrmnew agwsc2 crbadu1 adltrt Lhhmctrt cowrt1, ll(0) re

Obtaining starting values for full model:

Iteration 0: log likelihood = -4000.0831
Iteration 1: log likelihood = -3963.8779
Iteration 2: log likelihood = -3960.987
Iteration 3: log likelihood = -3960.9648

Fitting full model:

Iteration 0: log likelihood = -3148.9727
Iteration 1: log likelihood = -2708.6171
Iteration 2: log likelihood = -2533.7868
Iteration 3: log likelihood = -2466.0975
Iteration 4: log likelihood = -2448.2159
Iteration 5: log likelihood = -2445.0714
Iteration 6: log likelihood = -2444.1435
Iteration 7: log likelihood = -2443.3968
Iteration 8: log likelihood = -2443.0127
Iteration 9: log likelihood = -2440.711
Iteration 10: log likelihood = -2440.1718
Iteration 11: log likelihood = -2440.1618
Iteration 12: log likelihood = -2440.1618

Random-effects tobit regression Number of obs = 2206
Group variable (i): id Number of groups = 586

Random effects u_i ~ Gaussian Obs per group: min = 1
avg = 3.8
max = 6

Wald chi2(8) = 99.62
Log likelihood = -2440.1618 Prob > chi2 = 0.0000

[REST OF THE OUTPUT OMITTED]



Jyotsna (Jo) Puri
pjyotsna@hotmail.com


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index