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

From |
"Brian P. Poi" <bpoi@stata.com> |

To |
statalist@hsphsun2.harvard.edu |

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 (orozco@toulouse.inra.fr) wrote:

If Valerie would send directly to me (bpoi@stata.com) her dataset and a short do-file, I'd be happy to look into this issue for her.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...

-- Brian Poi

-- bpoi@stata.com

*

* 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/

**References**:**st: st : Problem of no enough observations***From:*orozco@toulouse.inra.fr

- Prev by Date:
**RE: st: Testing non-proportionality in a discrete-time survival model in which the main effect of time is treated as continuous.** - Next by Date:
**st: RE: simulated data for logistic regression... remedial algebra help?** - Previous by thread:
**st: st : Problem of no enough observations** - Next by thread:
**st: A Problem on Append Command** - Index(es):

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