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]

Re: st: nlsur for mixed demand model


From   Jorge Eduardo Pérez Pérez <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: nlsur for mixed demand model
Date   Wed, 5 Mar 2014 16:14:52 -0500

I should add that Nigussie's advice is useful for debugging in general.

To be able to help with specific advice, please:

1) Give us the complete reference of the paper you are basing your code on.
2) Show us your code. Attachments are not allowed on Statalist, so I
am not opening that attachment. Sorry.

Regards,
--------------------------------------------
Jorge Eduardo Pérez Pérez
Graduate Student
Department of Economics
Brown University


On Wed, Mar 5, 2014 at 3:42 AM, Nigussie Tefera
<[email protected]> wrote:
> Hi Racha,
>
> I was trying to write stata coding for estimating dynamic quadratic almost
> ideal demand model and got the same kinds of error messages for a couples
> of times. I corrected my coding error using "set trace on" command on
> stata. What
> you need to do is the following. First write a command "set trace on" and then
> run you do file, the stata will stop executing at the point you make a
> mistake. Then correct you mistake until the programe will execute the
> result.
>
> I hope this will help.
>
> Best
>
> Nigussie
>
> On Tue, Mar 4, 2014 at 10:17 PM, Racha Ramadan <[email protected]> wrote:
>> Good Afternoon,
>>
>> I am trying to estimate a normalized quadratic mixed demand model =
>> developed by Moschini and Rizzi (2007) using nlsur.
>> I used the statement as for the QUAIDS model for Brian Poi in state =
>> journal 2008- Number 4 pp. 554-556 with some modifications based on the =
>> mixed model
>> And I am getting the following error message:
>>
>> nlsurmixed      returned 9
>> verify that      nlsurmixed  is a function evaluator    program
>>
>> Please find attached the do file.
>>
>> What should I do to estimate such non linear model using state?
>> Thanks in advance.
>> Best Regards
>> Racha
> *
> *   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/

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