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
Nigussie Tefera <[email protected]>
To
statalist <[email protected]>
Subject
Re: st: nlsur for mixed demand model
Date
Wed, 5 Mar 2014 09:28:36 +0100
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 trace on command on stata. What
you need to do is the following. First write a command 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 Wed, Mar 5, 2014 at 6:18 AM, Nigussie Tefera
<[email protected]> wrote:
>
>
> ---------- Forwarded message ----------
> From: Nigussie Tefera <[email protected]>
> Date: Tuesday, March 4, 2014
> Subject: st: nlsur for mixed demand model
> To: "[email protected]" <[email protected]>
>
>
> 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 trace on command on stata. What you
> need to do is the following. First write a command 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 Tuesday, March 4, 2014, 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/