Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Initial values not feasible problem in xtmelogit


From   Maria Estela Rivero Fuentes <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Initial values not feasible problem in xtmelogit
Date   Tue, 26 Apr 2011 18:42:09 +0000

Dear all:

I am trying to run some mixed logit models in Stata using xtmelogit, and I am getting the error message that the initial values are not feasible (r (400))

I tried running a simple logit and storing the coefficients in a matrix b, along with some small values for the sigmas, and running the xtmelogit with the from option, but then I get a new error message, saying that an extra parameter was found.

Here's what I've done:

. xi:xtmelogit privada_libertad_madre_si reactiva_liberal_nueva edad_madre_21_30 edad_madre_31 hijos_vivos_1 hijos_vivos_2 hijos_vivos_3 lengua_indig_madre_mod i.edo_marital || id_clues_liberal:reactiva_liberal_nueva

initial values not feasible
r(1400);

. logit privada_libertad_madre_si reactiva_liberal_nueva edad_madre_21_30 edad_madre_31 hijos_vivos_1 hijos_vivos_2  hijos_vivos_3 lengua_indig_madre_mod i.edo_marital

First I did this:

. mat b=e(b)

. xi:xtmelogit privada_libertad_madre_si reactiva_liberal_nueva edad_madre_21_30 edad_madre_31 hijos_vivos_1 hijos_vivos_2 hijos_vivos_3 lengua_indig_madre_mod i.edo_marital || id_clues_liberal:reactiva_liberal_nueva, from(b)
i.edo_marital     _Iedo_marit_1-3     (naturally coded; _Iedo_marit_1 omitted)
extra parameter privada_libertad_madre_si:reactiva_liberal_nueva found
specify skip option if necessary
r(111);

Later I tried this other option

. mat b=e(b),.1, .1

. xi:xtmelogit privada_libertad_madre_si reactiva_liberal_nueva edad_madre_21_30 edad_madre_31 hijos_vivos_1 hijos_vivos_2 hijos_vivos_3 lengua_indig_madre_mod i.edo_marital || id_clues_liberal:reactiva_liberal_nueva, from(b)
i.edo_marital     _Iedo_marit_1-3     (naturally coded; _Iedo_marit_1 omitted)
extra parameter privada_libertad_madre_si:reactiva_liberal_nueva found
specify skip option if necessary
r(111);


Does anyone have a suggestion?? Thank you very much,
Estela Rivero


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index