svy.pdf

(4649 KB) Pobierz
STATA SURVEY DATA REFERENCE
MANUAL
RELEASE 11
A Stata Press Publication
StataCorp LP
College Station, Texas
799311418.051.png 799311418.052.png 799311418.053.png 799311418.054.png 799311418.001.png 799311418.002.png 799311418.003.png 799311418.004.png 799311418.005.png 799311418.006.png 799311418.007.png 799311418.008.png 799311418.009.png 799311418.010.png 799311418.011.png 799311418.012.png 799311418.013.png 799311418.014.png 799311418.015.png 799311418.016.png 799311418.017.png 799311418.018.png 799311418.019.png 799311418.020.png 799311418.021.png 799311418.022.png 799311418.023.png 799311418.024.png 799311418.025.png 799311418.026.png 799311418.027.png
Copyright c 1985–2009 by StataCorp LP
All rights reserved
Version 11
Published by Stata Press, 4905 Lakeway Drive, College Station, Texas 77845
Typeset in T E X
Printed in the United States of America
10
9
8
7
6
5
4
3
2
1
ISBN-10: 1-59718-062-9
ISBN-13: 978-1-59718-062-7
This manual is protected by copyright. All rights are reserved. No part of this manual may be reproduced, stored
in a retrieval system, or transcribed, in any form or by any means—electronic, mechanical, photocopy, recording, or
otherwise—without the prior written permission of StataCorp LP unless permitted by the license granted to you by
StataCorp LP to use the software and documentation. No license, express or implied, by estoppel or otherwise, to any
intellectual property rights is granted by this document.
StataCorp provides this manual “as is” without warranty of any kind, either expressed or implied, including, but
not limited to, the implied warranties of merchantability and fitness for a particular purpose. StataCorp may make
improvements and/or changes in the product(s) and the program(s) described in this manual at any time and without
notice.
The software described in this manual is furnished under a license agreement or nondisclosure agreement. The software
may be copied only in accordance with the terms of the agreement. It is against the law to copy the software onto
DVD, CD, disk, diskette, tape, or any other medium for any purpose other than backup or archival purposes.
The automobile dataset appearing on the accompanying media is Copyright c 1979 by Consumers Union of U.S.,
Inc., Yonkers, NY 10703-1057 and is reproduced by permission from CONSUMER REPORTS, April 1979.
Stata and Mata are registered trademarks and NetCourse is a trademark of StataCorp LP.
Other brand and product names are registered trademarks or trademarks of their respective companies.
For copyright information about the software, type helpcopyright within Stata.
The suggested citation for this software is
StataCorp. 2009. Stata: Release 11 . Statistical Software. College Station, TX: StataCorp LP.
799311418.028.png 799311418.029.png 799311418.030.png 799311418.031.png 799311418.032.png 799311418.033.png 799311418.034.png 799311418.035.png 799311418.036.png 799311418.037.png 799311418.038.png 799311418.039.png 799311418.040.png 799311418.041.png 799311418.042.png 799311418.043.png 799311418.044.png 799311418.045.png 799311418.046.png 799311418.047.png 799311418.048.png
i
Table of contents
intro
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to survey data manual
1
survey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to survey commands
3
brr options
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
More options for BRR variance estimation
24
direct standardization
. . . . . . . . . . .
Direct standardization of means, proportions, and ratios
26
estat
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Postestimation statistics for survey data
30
jackknife options . . . . . . . . . . . . . . . . . . . . . .
More options for jackknife variance estimation
46
ml for svy
. . . . . . . . . . . . . . . . . . . . .
Maximum pseudolikelihood estimation for survey data
47
poststratification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Poststratification for survey data
49
subpopulation estimation
. . . . . . . . . . . . . . . . . . . .
Subpopulation estimation for survey data
53
svy
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The survey prefix command
59
svy brr
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Balanced repeated replication for survey data
67
svy estimation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Estimation commands for survey data
74
svy jackknife
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jackknife estimation for survey data
85
svy postestimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Postestimation tools for svy
93
svy: tabulate oneway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
One-way tables for survey data
107
svy: tabulate twoway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Two-way tables for survey data
113
svydescribe
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Describe survey data
132
svymarkout
. . . . . . .
Mark observations for exclusion on the basis of survey characteristics
138
svyset
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Declare survey design for dataset
139
variance estimation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Variance estimation for survey data
155
Glossary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
167
Subject and author index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
171
799311418.049.png 799311418.050.png
 
iii
Cross-referencing the documentation
When reading this manual, you will find references to other Stata manuals. For example,
[ U ] 26 Overview of Stata estimation commands
[ R ] regress
[ D ] reshape
The first example is a reference to chapter 26, Overview of Stata estimation commands, in the User’s
Guide; the second is a reference to the regress entry in the Base Reference Manual; and the third
is a reference to the reshape entry in the Data-Management Reference Manual.
All the manuals in the Stata Documentation have a shorthand notation:
[ GSM ]
Getting Started with Stata for Mac
[ GSU ]
Getting Started with Stata for Unix
[ GSW ]
Getting Started with Stata for Windows
[ U ]
Stata User’s Guide
[ R ]
Stata Base Reference Manual
[ D ]
Stata Data-Management Reference Manual
[ G ]
Stata Graphics Reference Manual
[ XT ]
Stata Longitudinal-Data/Panel-Data Reference Manual
[ MI ]
Stata Multiple-Imputation Reference Manual
[ MV ]
Stata Multivariate Statistics Reference Manual
[ P ]
Stata Programming Reference Manual
[ SVY ]
Stata Survey Data Reference Manual
[ ST ]
Stata Survival Analysis and Epidemiological Tables Reference Manual
[ TS ]
Stata Time-Series Reference Manual
[ I ]
Stata Quick Reference and Index
[ M ]
Mata Reference Manual
Detailed information about each of these manuals may be found online at
Zgłoś jeśli naruszono regulamin