# st: RE: Calculating RSE for point estimates

 From "Dayna N KIRK" To statalist@hsphsun2.harvard.edu Subject st: RE: Calculating RSE for point estimates Date Wed, 07 May 2008 12:50:45 -0700

```Nick,

Thanks for your reply! That is what I was referring to as "by hand." I was hoping for a simple command to share throughout our department, but I will continue using the formula.

Dayna

Dayna Kirk, MPH
Research Analyst
Tobacco Prevention and Education Program
Oregon Department of Human Services
800 NE Oregon Street
Portland, OR 97232
971.673.1049

>>> "Nick Cox" <n.j.cox@durham.ac.uk> 5/6/2008 2:54 PM >>>

I am not aware of an .ado to calculate relative standard error. Perhaps
people on this list are more used to looking at t or z statistics, which
carry the same information. I doubt that there could be a single .ado to
do what you want, but the general recipe is surely to get hold of the
ingredients and do the work after estimation. For example, after a
-regress- you can do this:

mata : sqrt(diagonal(st_matrix("e(V)")))' :/ st_matrix("e(b)")

For many people, perhaps you, that too counts as "by hand". Perhaps that
is what you are doing already.

Nick
n.j.cox@durham.ac.uk

Dayna N KIRK

Hello! I am using STATA 9.2 for Windows

Data supression guidelines for statistical reliability vary, however
Healthy People 2010 and many U.S. health departments use a relative
standard error (RSE) > 30% as a central criteria for data supression,
primarily for BRFSS and YRBS.  While I can easily get STATA to present
the standard error for point estimates in -svyset-, I have to calculate
the RSE by hand (RSE = 100 x (SE(r)/r)).  This is time consuming given
multiple counties, regions, race/ethnicities, etc. I have searched the
archives, read the manual three times and asked some experts to no
avail. Is there a simple command like -se-, -ci-, etc. for relative
standard error?

Has anyone tried to create an ado file to address this simple, yet daily
need?

*
*   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/

*
*   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/
```