Statalist


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

Re: st: restricted VAR for preselection of instruments


From   Robert A Yaffee <[email protected]>
To   [email protected]
Subject   Re: st: restricted VAR for preselection of instruments
Date   Sat, 27 Dec 2008 09:56:26 -0500

Sebastien,
   You could use the test statement to test an individual restriction.
[f.inf]inf = 0

after that equation.

     
    Or you could define the constraint as
constraint 1 [f.inf]inf=0

     Regards,
            Bob


Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University


Biosketch: http://homepages.nyu.edu/~ray1/Biosketch2008.pdf

CV:  http://homepages.nyu.edu/~ray1/vita.pdf

----- Original Message -----
From: Sebastian Kruk <[email protected]>
Date: Saturday, December 27, 2008 9:39 am
Subject: Re: st: restricted VAR for preselection of instruments
To: [email protected]


> Bob,
> 
> I have to estimate a VAR with two equations:
> 
> (eq1) f.inf = a1 + a10*inf + a11*l.inf + a12*l2.inf + ... + a1j*lj.inf
> + b10*x + b11*l.x + b12*l2.x + ... + b1i*li.x
> (eq2) st = a2 + a21*l.st + a22*l2.st + ... + a2j*lj.st + b20*x
> +b21*l.x + b22*l2.x + ... + b2i*li.x
> 
> where x can be hp_gap, cf_gap or bk_gap.
> 
> I try a new one:
> 
> foreach x of varlist hp_gap cf_gap bk_gap {
> 	forvalues j=10(-1)1 {
>         	var f.inf st, exog(l2.`x' l.`x' `x') lags(2/`j') lutstats
>         	est store mod`x'2_`j'
>                 }
> }
> est stats _all
> 
> But I need next restriction: a10=0
> 
> What can I do?
> 
> Bye,
> 
> Sebastian.
> *
> *   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/



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