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: problems with frontier estimation


From   Camila Alva Estabridis <camilachay@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: problems with frontier estimation
Date   Fri, 12 Mar 2010 10:01:47 -0500

Hi,
> I am working estimating a frontier sthocastic function using the frontier
> command. All was working fine: I could do the estimations, as always....b=
ut
> today, I don=B4t know what has happened that I can not run the same do
> file anymore...the most extrange thing is that my boss can run exactly th=
e
> same program on his computer. Does anybody knows what could be happening?
>
> The estimation is as simple as this:
>
>  #delimit;
>    frontier lnpi lnprice2 lnprice3
>      lnw1_fertil lnw1_manure lnw1_wage
>      lnprice2_lnprice2 lnprice2_lnprice3
>      lnprice3_lnprice3
>      lnprice*_lnw1_*
>      lnw1_wage_lnw1_*
>      lnw1_manure_lnw1_manure lnw1_manure_lnw1_fertil
>      lnw1_fertil_lnw1_fertil,
>    dist(t);
>
> and then, it runs:
>
> Iteration 0:   log likelihood =3D  -2453.717  (not concave)
> Iteration 1:   log likelihood =3D -2447.9898
> Iteration 2:   log likelihood =3D  -2440.184
> Iteration 3:   log likelihood =3D -2439.8862
> Iteration 4:   log likelihood =3D -2439.1468
> Iteration 5:   log likelihood =3D -2439.0261
> Iteration 6:   log likelihood =3D -2438.8969  (not concave)
> Iteration 7:   log likelihood =3D -2438.8598
> Iteration 8:   log likelihood =3D  -2438.837
> Iteration 9:   log likelihood =3D -2438.8258
> Iteration 10:  log likelihood =3D -2438.8255
> Iteration 11:  log likelihood =3D -2438.8255
> Stoc. frontier normal/truncated-normal model      Number of obs   =3D
> 1510
>                                                  Wald chi2(20)   =3D
> 122.49
> Log likelihood =3D -2438.8255                       Prob > chi2     =3D
> 0.0000
> option nullok not allowed
>                 stata():  3598  Stata returned error
>   _b_table::di_titles():     -  function returned error
>           _coef_table():     -  function returned error
>                 <istmt>:     -  function returned error
> r(3598);
> end of do-file
> r(3598);
>
> but it get stuck before presenting the tables....
>
Can anybody help me to understand what the error message r(3598) means?

"[M-2]   error . . . . . . . . . . . . . . . . . . . . . . . . Return code
3598
        Stata returned error
        You are using a Stata interface function and have asked Stata to
        perform a task.  Stata could not or refused."




>
>
> I hope you can help me,
> Thank you very much,
>
>
> Camila
> *
> *   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/

*
*   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