| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Variance-Covariance matrix using -lincom-
From |
[email protected] (Roberto G. Gutierrez, StataCorp) |
To |
[email protected] |
Subject |
Re: st: Variance-Covariance matrix using -lincom- |
Date |
Fri, 18 Aug 2006 13:44:57 -0500 |
Jeffrey Rosen <[email protected]> asks:
> I've estimated a three equation LES model using an MLE. Due to constraints
> on the system, only two equations are estimated and the third equation has a
> linear relationship with the other two.
> B1 and B2 would be estimated and B3 = 1 - B1 - B2.
> I've estimated B3 using the -lincom- command:
> lincom 1 - [b1]_cons - [b2]_cons
> I would like to calculate the standard error of some elasicities using the
> delta method. In order to do so, I need the variance-covariance matrix of
> all of the estimates. When I review the matrix using either -estat vce- or
> matrix list e(V), the matrix does not include the variable B3 that was
> estimated using -lincom-.
> Is it possible to get the matrix to include B3?
. nlcom (B1:[b1]_cons) (B2:[b2]_cons) (B3:1 - [b1]_cons - [b2]_cons)
. mat list r(V)
Note that -nlcom- is good for linear combinations too, and it allows
simultaneous estimation of various combinations, with VCE for all.
--Bobby
[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/