[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Nelson, Carl" <chnelson@illinois.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: program define quaids_delta |

Date |
Wed, 3 Jun 2009 08:04:25 -0500 |

Nigussie, You are apparently looking at the old maximum likelihood code for nonlinear quaids. You should look at the more recent nlsur code instead. It is much more efficient, easier to code, and more robust. A 22 commodity demand system sounds excessive, and almost certain to be beset by estimation problems. You should probably aggregate down to a more manageable set. Carl Nelson ________________________________________ From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of nigussie Tefera [nitefera@yahoo.com] Sent: Wednesday, June 03, 2009 6:19 AM To: statalist@hsphsun2.harvard.edu Subject: st: program define quaids_delta Hello dear all In specify non linear AIDS specification of gamma parameters are important. The specification of gamma for four equations which is given by help desk is given below. /* gamma */ matrix `g' = ( 1, 0, 0, 0, 0, 0\ /* */ 0, 1, 0, 0, 0, 0\ /* */ 0, 0, 1, 0, 0, 0\ /* */ -1, -1, -1, 0, 0, 0\ /* */ 0, 0, 0, 1, 0, 0\ /* */ 0, 0, 0, 0, 1, 0\ /* */ 0, -1, 0, -1, -1, 0\ /* */ 0, 0, 0, 0, 0, 1\ /* */ 0, 0, -1, 0, -1, -1\ /* */ 1, 2, 2, 1, 2, 1 ) matrix `d'[(2*$NEQN+1), (2*`nm1'+1)] = `g' If I have 21 equations, how can I specify the gamma matrix? Any help is very much appericiated. * * 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/

**Follow-Ups**:**Re: st: RE: program define quaids_delta***From:*nigussie Tefera <nitefera@yahoo.com>

**References**:**st: program define quaids_delta***From:*nigussie Tefera <nitefera@yahoo.com>

- Prev by Date:
**RE: st: REML with non-normally distributed dependent Variable** - Next by Date:
**st: Creating interaction terms between country and time fixed effects** - Previous by thread:
**st: program define quaids_delta** - Next by thread:
**Re: st: RE: program define quaids_delta** - Index(es):

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