Statalist The Stata Listserver

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

st: Formatting output

From   Herb Smith <>
Subject   st: Formatting output
Date   Mon, 18 Sep 2006 08:17:31 -0400 (EDT)

I have written a routine to examine nonresponse bias based on a second,
unbiased "double sample."  My output currently looks like this, an admix
of two "summ" commands and a bunch of numbers that the program calculates:

-> state = PA


Sample 1:

    Variable |       Obs        Mean    Std. Dev.       Min        Max
         sex |     24824    1.038471    .1923339          1          2

Sample 2:

    Variable |       Obs        Mean    Std. Dev.       Min        Max
         sex |       580    1.077586    .2677502          1          2

Double sample mean for variable sex is 1.0623649
Associated standard error is .00680798

Estimated bias of single sample estimator is -.02389403
Estimated standard error is .00122073
Estimated RMSE is .02392519

Relative efficiency of double sample estimator (ratio to one sample RMSE):

Corresponding sample size for same MSE with one sample, 100% response:

	What I would prefer to do is synthesize this information in a
"nice" table of my own construction (since I have many variables).  I seem
to remember somewhere about how to get command of output editing; but
other than a program for making tables of regression coefficients, I have
been unable to find any other instructions or examples....

	Thanks in advance,

	--Herb Smith

Professor of Sociology and
Director, Population Studies Center
230 McNeil Building
3718 Locust Walk CR
University of Pennsylvania
Philadelphia, PA  19104-6298

215.898.7768 (office)
215.898.2124 (fax)

*   For searches and help try:

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