Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: -svy: mean - problem with returned matrices

From   "Michael Blasnik" <>
To   <>
Subject   st: Re: -svy: mean - problem with returned matrices
Date   Thu, 31 May 2007 13:04:08 -0400

A work around to deal with this type of error is usually to just copy the ereturned matrix to a regular matrix

mat beta=e(b)
di el(beta,1,1)

works fine.

Michael Blasnik

----- Original Message ----- From: "Steven Samuels" <>
To: <>
Sent: Thursday, May 31, 2007 12:38 PM
Subject: st: -svy: mean - problem with returned matrices

Can anyone explain why I get the following error? How can I access the elements of the matrix which generates the error?


webuse nhanes2, clear
svy : mean height
ereturn list
matrix list e(V_srs)
di el(e(V_srs),1,1) //OKAY

matrix list e(b)
di el(e(b),1,1) //GENERATES ERROR
* For searches and help try:

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