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: Nlsur Quaids


From   "Brian P. Poi" <brian@poiholdings.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Nlsur Quaids
Date   Tue, 19 Jul 2011 19:08:18 -0400


On 07/19/2011 03:16 PM, Ana wrote:
Brian, Thank you very much for your prompt response. I've corrected
this silly mistake of mine, but I'm getting another one now.

Where does the restriction come from?
Actually, I using your code (Brain Poi, 2008) to estimate a seven
group demand system and I want to apply/test a test developed by
Browning and Chiappori (1998). Therefore, I want to test the following
restrictions (see in the following program routine I am sendig
attached):

    scalar `g81' = `g13'*`g24' - `g13'*`g42' - `g31'*`g24' + `g31'*`g42'
    scalar `g82' = `g14'*`g23' - `g14'*`g32' - `g41'*`g23' + `g41'*`g32'
    scalar `g83' = `g12' - `g21'
    scalar `g34' = `g43' + `g81'/`g83' - `g82'/`g83'
   ....an so on.

The problem is that I'm getting r(480) indicanting that I have missing
values or wrong initial values.
Can you guess how can I correct this mistake?

Ana,

I don't see anything obviously wrong with your program, but if you send me (not the entire list) your dataset, I'd be happy to play with it and see what is wrong. I'll report back to the list once we find the problem.

   -- Brian Poi
   -- brian@poiholdings.com
*
*   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