Statalist


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

Re: st: return results from dstdize


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: return results from dstdize
Date   Tue, 13 Nov 2007 09:54:06 +0000 (GMT)

--- West Joe <[email protected]> wrote:
> I have carried out my dstdize command but would like to get hold of
> the standard errors of the adjusted rates, either displayed or saved.
> I am using version 9.2. I have tried
>  
> dstdize ndths pops agegrp, by(year) using(european_pop.dta)
> 
> return list
> 
>  
> The standardisation goes ok but the returned results look like the
> output below. I was expecting the r(se) matrix to be a macro, and to
> be the standard error I am looking for, according to the online help
> but it seems not to be the case. 

In the output you show r(se) is clearly identified as a matrix and not
as a macro. So if you want to get hold of the standard errors you have
to use matrix commands not macro commands. Have a look at 
-help matrix-. I find it often helpfull to first create a copy of the
matrix using a more conventional name, e.g. -matrix se = r(se)-, and
than work with the matrix se instead of r(se).  

-- Maarten


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 
*
*   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/



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