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]

Re: st: The error "initial values not feasible, r(1400)" in mvtobit model


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: The error "initial values not feasible, r(1400)" in mvtobit model
Date   Wed, 3 Apr 2013 14:21:11 +0100

See the suggestion already made

<http://stackoverflow.com/questions/15755316/how-to-tackle-r1400-error#comment22436784_15755316>

On 3 April 2013 14:14, Nimanthika Lokuge <nimslkg@gmail.com> wrote:
> I'm estimating the demand for several food items using Almost Ideal
> Demand System. There, I have to do censoring using the Multivariate
> Tobit model.
>
> I'm using Stata/SE 11.2 and my data set consists of nearly 18,500 households.
>
> I used the following code & it returned an error as "initial values
> not feasible, r(1400)".
>
> //homogeneity//
> constraint define 1 [q1]lnp1+[q1]lnp2+[q1]lnp3=0
> constraint define 2 [q2]lnp1+[q2]lnp2+[q2]lnp3=0
>
>
> //symmetry//
> constraint define 3  [q1]lnp2=[q2]lnp1
>
>
> global demand1 "(q1: w1 lnp1 lnp2 lnp3 lnxp)"
> global demand2 "(q2: w2 lnp1 lnp2 lnp3 lnxp)"
>
>
> mvtobit $demand1 $demand2, const(1 2 3)
>
>
> Is there a way to tackle this error?
>
>
> Many thanks in advance.
> *
> *   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/



-- 
Nick
njcoxstata@gmail.com
*
*   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