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: problem with nlsur quaids
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: problem with nlsur quaids
Date
Tue, 4 Oct 2011 16:01:16 +0100
Nothing from me on elasticities.
Nick
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mintewab Bezabih
Sent: 04 October 2011 15:56
To: [email protected]
Subject: SV: st: problem with nlsur quaids
Thanks so much Nick. I folowed your tips and managed to run it now. My next problem is how to generate the elasticities. I presume I have to write my own code for that... do you or anybodyelse in the forum have any suggestions on that?
thanks once again
minti
________________________________________
Från: [email protected] [[email protected]] för Nick Cox [[email protected]]
Skickat: den 2 oktober 2011 02:39
Till: [email protected]
Ämne: Re: st: problem with nlsur quaids
`lnp12'' with two '' occurs twice more.
In a text editor supporting regular expressions I temporarily deleted
matches for `[a-z]*[0-9]*' -- which made it easier to find these
others.
On Sun, Oct 2, 2011 at 1:16 AM, Nick Cox <[email protected]> wrote:
> In the line
>
> scalar `l13' = -`l1' - `l2' - `l3'- `l4'- `l5'- `l6'- `l7'- `l8'-
> `l9'- `l10'- `l11-`l12'
>
> you have omitted an ' and in the line
>
> replace `w9' = `a9' + `g91'*`lnp1' + `g92'*`lnp2' +
> `g93'*`lnp3' + ///
> `g94'*`lnp4' + `g95'*`lnp5'+
> `g96'*`lnp6'+ `g97'*`lnp7' + ///
> `g98'*`lnp8' + `g99'*`lnp9'+
> `g910'*`lnp10'+ `g911'*`lnp11' + ///
> `g912'*`lnp12''+ `g913'*`lnp13'+
> `b9'*(`lnexp'-`lnpindex')+
> `l9'/`bofp'*(`lnexp' - `lnpindex')^2
>
> you have one too many.
>
> There are I think other such problems in your file: see -hexdump- for
> a command that counts characters such as ` and '.
>
> Your naming practices could bite you. Does 113 mean 11,3 or 1,13? If
> you have indexes >9 it is best to use 11_3 and 1_13 to distinguish.
>
> Nick
>
>
> On Sat, Oct 1, 2011 at 10:23 PM, minti <[email protected]> wrote:
>>
>> I am having problems estimating a quaids system with 13 goods (12 equations)
>> and I cannot pinpoint where I went wrong. I keep on getting the messsage
>> nlsurquaids returned 198. Below are my codes for the nlsur and quaids.
>> Many thanks in advance.
>> minti
>>
>
*
* 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/
*
* 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/