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]
Subject
Re: st: problem with nlsur quaids
Date
Sun, 2 Oct 2011 01:39:17 +0100
`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/