Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: st : Problem of no enough observations


From   "Brian P. Poi" <[email protected]>
To   [email protected]
Subject   Re: st: st : Problem of no enough observations
Date   Sun, 18 Nov 2007 19:03:54 -0600 (CST)

On Fri, 16 Nov 2007 Valerie ([email protected]) wrote:

I wonder why Stata tells me that I haven't enough observations to estimate my
system of equations with "NLSUR". ("cannot have fewer observations than
parameters")

In fact, I have a system of equations to estimate. One equation per good `i' :
(the coefficients I have to estimate are between the braces {}.)

dw`i' = {b`i'} *ddeflexp + {g`i'vs1} * dlnp1+ {g`i'vs2} *  dlnp2+ {g`i'vs3} *
dlnp3 + {g`i'vs4} * dlnp4 + {g`i'vs5} *  dlnp5 + {g`i'vs6} * dlnp6 + {g`i'vs7}
* dlnp7 + {g`i'vs8} * dlnp8 + {g`i'vs9} * dlnp9 + {g`i'vs10} * dlnp10 +
{g`i'vs11} * dlnp11 + {g`i'vs12} * dlnp12 )

As you can see, I have 13 coefficients to estimate for each good `i'
(i=1,...,12)
I have 78 observations. The problem just comes because I think Stata calculate
the total number of coefficients(13 * 12 = 156), but in fact I have only 13 per
good...
If Valerie would send directly to me ([email protected]) her dataset and a short do-file, I'd be happy to look into this issue for her.

-- Brian Poi
-- [email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index