Statalist


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

st: program define quaids_delta


From   nigussie Tefera <[email protected]>
To   [email protected]
Subject   st: program define quaids_delta
Date   Wed, 3 Jun 2009 04:19:42 -0700 (PDT)

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/



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