Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: standard error of variance covarance

From   Austin Nichols <>
Subject   Re: st: standard error of variance covarance
Date   Sat, 10 Jul 2010 16:46:00 -0400

Xiling Zhou <> wrote:

You can bootstrap, like so:

clear all
prog vcov, eclass
if replay() {
 syntax [anything] [, EForm(string) Level(real 95)]
 eret di, eform(`eform') level(`level')
else {
 syntax varlist [, EForm(string) Level(real 95)]
 marksample touse
 tempname V v
 matrix accum `V'=`varlist', nocons dev
 mat `v'=vec(`V')
 mat `v'=(`v')'
 eret post `v', esample(`touse')
 eret local depvar "none"
 eret local cmd "vcov"
 eret local properties "b"
 eret di, eform(`eform') level(`level')
sysuse auto
vcov price mpg headroom trunk weight
bs:vcov price mpg headroom trunk weight

On Sat, Jul 10, 2010 at 3:35 AM, Xiling Zhou <> wrote:
> Yes, I do mean that. I'm trying to find standard error for elements of the
> variance-covariance matrix.
*   For searches and help try:

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