Example: confidence

[MI] Multiple Imputation - Stata: Software for Statistics ...

stata Multiple -IMPUTATIONREFERENCE MANUALRELEASE 17 A stata Press PublicationStataCorp LLCC ollege Station, Texas Copyrightc 1985 2021 StataCorp LLCAll rights reservedVersion 17 Published by stata Press, 4905 Lakeway Drive, College Station, Texas 77845 Typeset in TEXISBN-10: 1-59718-341-5 ISBN-13: 978-1-59718-341-3 This manual is protected by copyright. All rights are reserved. No part of this manual may be reproduced, storedin a retrieval system, or transcribed, in any form or by any means electronic, mechanical, photocopy, recording, orotherwise without the prior written permission of StataCorp LLC unless permitted subject to the terms and conditionsof a license granted to you by StataCorp LLC to use the Software and documentation. No license, express or implied,by estoppel or otherwise, to any intellectual property rights is granted by this provides this manual as is without warranty of any kind, either expressed or implied, including, butnot limited to, the implied warranties of merchantability and fitness for a particular purpose.

Cross-referencing the documentation When reading this manual, you will find references to other Stata manuals, for example, [U] 27 Overview of Stata estimation commands;[R] regress; and[D] reshape.The first ex-ample is a reference to chapter 27, Overview of Stata estimation commands, in the User’s Guide;

Tags:

  Stata

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of [MI] Multiple Imputation - Stata: Software for Statistics ...

1 stata Multiple -IMPUTATIONREFERENCE MANUALRELEASE 17 A stata Press PublicationStataCorp LLCC ollege Station, Texas Copyrightc 1985 2021 StataCorp LLCAll rights reservedVersion 17 Published by stata Press, 4905 Lakeway Drive, College Station, Texas 77845 Typeset in TEXISBN-10: 1-59718-341-5 ISBN-13: 978-1-59718-341-3 This manual is protected by copyright. All rights are reserved. No part of this manual may be reproduced, storedin a retrieval system, or transcribed, in any form or by any means electronic, mechanical, photocopy, recording, orotherwise without the prior written permission of StataCorp LLC unless permitted subject to the terms and conditionsof a license granted to you by StataCorp LLC to use the Software and documentation. No license, express or implied,by estoppel or otherwise, to any intellectual property rights is granted by this provides this manual as is without warranty of any kind, either expressed or implied, including, butnot limited to, the implied warranties of merchantability and fitness for a particular purpose.

2 StataCorp may makeimprovements and/or changes in the product(s) and the program(s) described in this manual at any time and Software described in this manual is furnished under a license agreement or nondisclosure agreement. The softwaremay be copied only in accordance with the terms of the agreement. It is against the law to copy the Software ontoDVD, CD, disk, diskette, tape, or any other medium for any purpose other than backup or archival automobile dataset appearing on the accompanying media is Copyrightc 1979 by Consumers Union of ,Inc., Yonkers, NY 10703-1057 and is reproduced by permission from CONSUMER REPORTS, April ,, stata Press, Mata,, and NetCourse are registered trademarks of StataCorp and stata Press are registered trademarks with the World Intellectual Property Organization of the United is a trademark of StataCorp brand and product names are registered trademarks or trademarks of their respective copyright information about the Software , typehelp copyrightwithin suggested citation for this Software isStataCorp.

3 : Release 17. Statistical Software . College Station, TX: StataCorp substantive .. Introduction to Multiple - Imputation analysis1 Intro .. Introduction to mi15 Estimation .. Estimation commands for use with mi estimate22mi add .. Add imputations from another mi dataset25mi append .. Append mi data28mi convert .. Change style of mi data31mi copy .. Copy mi flongsep data34mi describe .. Describe mi data36mi erase .. Erase mi datasets40mi estimate .. Estimation using Multiple imputations41mi estimate using .. Estimation using previously saved estimation results70mi estimate postestimation .. Postestimation tools for mi estimate79mi expand .. Expand mi data81mi export .. Export mi data83mi export ice .. Export mi data to ice format85mi export nhanes1 .. Export mi data to NHANES format87mi extract .. Extract original or imputed data from mi data90mi import .. Import data into mi92mi import flong.

4 Import flong-like data into mi95mi import flongsep .. Import flongsep-like data into mi98mi import ice .. Import ice-format data into mi 102mi import nhanes1 .. Import NHANES-format data into mi 106mi import wide .. Import wide-like data into mi 111mi impute .. Impute missing values 114mi impute chained .. Impute missing values using chained equations 140mi impute intreg .. Impute using interval regression 169mi impute logit .. Impute using logistic regression 178mi impute mlogit .. Impute using multinomial logistic regression 184mi impute monotone .. Impute missing values in monotone data 190mi impute mvn .. Impute using multivariate normal regression 207mi impute nbreg .. Impute using negative binomial regression 234mi impute ologit .. Impute using ordered logistic regression 240mi impute pmm .. Impute using predictive mean matching 245mi impute poisson .. Impute using Poisson regression 251mi impute regress.

5 Impute using linear regression 256mi impute truncreg .. Impute using truncated regression 262mi impute usermethod.. User-defined Imputation methods 268mi merge .. Merge mi data 283mi misstable .. Tabulate pattern of missing values 287mi passive .. Generate/replace and register passive variables 289mi predict .. Obtain Multiple - Imputation predictions 294mi ptrace .. Load parameter-trace file into stata 308mi rename .. Rename variable 311mi replace0 .. Replace original data 314mi reset .. Reset imputed or passive variables 316mi reshape .. Reshape mi data 319iii Contentsmi select .. Programmer s alternative to mi extract 321mi set .. Declare Multiple - Imputation data 323mi stsplit .. Split and join time-span records for mi data 327mi test .. Test hypotheses after mi estimate 330mi update .. Ensure that mi data are consistent 339mi varying .. Identify variables that vary across imputations 342mi xeq.

6 Execute command(s) on individual imputations 345mi XXXset .. Declare mi data to be svy, st, ts, xt, etc. 348noupdate option .. The noupdate option 350 Styles .. Dataset styles 352 Technical .. Details for programmers 360 Workflow .. Suggested workflow 372 Glossary ..383 Subject and author index ..389 Cross-referencing the documentationWhen reading this manual, you will find references to other stata manuals, for example,[U] 27 Overview of stata estimation commands; [R]regress; and [D]reshape. The first ex-ample is a reference to chapter 27,Overview of stata estimation commands, in theUser s Guide;the second is a reference to theregressentry in theBase Reference Manual; and the third is areference to thereshapeentry in theData Management Reference 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[BAYES] stata Bayesian Analysis Reference Manual[CM] stata Choice Models Reference Manual[D] stata Data Management Reference Manual[DSGE] stata Dynamic Stochastic General Equilibrium Models Reference Manual[ERM] stata Extended Regression Models Reference Manual[FMM] stata Finite Mixture Models Reference Manual[FN] stata Functions Reference Manual[G] stata Graphics Reference Manual[IRT] stata Item Response Theory Reference Manual[LASSO] stata Lasso Reference Manual[XT] stata Longitudinal-Data/Panel-Data Reference Manual[META] stata Meta-Analysis Reference Manual[ME] stata Multilevel Mixed-Effects Reference Manual[MI] stata Multiple - Imputation Reference Manual[MV] stata Multivariate Statistics Reference Manual[PSS]

7 stata Power, Precision, and Sample-Size Reference Manual[P] stata Programming Reference Manual[RPT] stata Reporting Reference Manual[SP] stata Spatial Autoregressive Models Reference Manual[SEM] stata Structural Equation Modeling Reference Manual[SVY] stata Survey Data Reference Manual[ST] stata Survival Analysis Reference Manual[TABLES] stata Customizable Tables and Collected Results Reference Manual[TS] stata Time-Series Reference Manual[TE] stata Treatment-Effects Reference Manual:Potential Outcomes/Counterfactual Outcomes[ I ] stata Index[M]Mata Reference ManualiiiTitleIntro substantive Introduction to Multiple - Imputation analysisDescriptionRemarks and examplesReferencesAlso seeDescriptionMissing data arise frequently. Various procedures have been suggested in the literature over thelast several decades to deal with missing data (for example, Anderson [1957]; Hartley and Hocking[1971]; Rubin [1972, 1987]; and Dempster, Laird, and Rubin [1977]).

8 The technique of multipleimputation, which originated in early 1970 in application to survey nonresponse (Rubin 1976), hasgained popularity increasingly over the years as indicated by literature (for example, Rubin [1976,1987, 1996]; Little [1992]; Meng [1994]; Schafer [1997]; van Buuren, Boshuizen, and Knook [1999];Little and Rubin [2020]; Carlin et al. [2003]; Royston [2004, 2005a, 2005b, 2007, 2009]; Reiter andRaghunathan [2007]; Carlin, Galati, and Royston [2008]; Royston, Carlin, and White [2009]; White,Royston, and Wood [2011]; and Carpenter and Kenward [2013]).This entry presents a general introduction to Multiple Imputation and describes relevant statisticalterminology used throughout the manual. The discussion here, as well as other statistical entries inthis manual, is based on the concepts developed in Rubin (1987) and Schafer (1997).Remarks and examplesRemarks are presented under the following headings:Motivating exampleWhat is Multiple Imputation ?

9 Theory underlying Multiple imputationHow large should M be?Assumptions about missing dataPatterns of missing dataProper Imputation methodsAnalysis of multiply imputed dataA brief introduction to MI using StataSummaryWe will use the following definitions and Imputation represents one set of plausible values for missing data, and so Multiple imputationsrepresent Multiple sets of plausible values. With a slight abuse of the terminology, we will use thetermimputationto mean the data where missing values are replaced with one set of plausible useMto refer to the number of imputations andmto refer to each individual Imputation ;that is,m=1 means the first Imputation ,m=2 means the second Imputation , and so exampleConsider a fictional case control study examining a relationship between smoking and heart Intro substantive Introduction to Multiple - Imputation analysis. use (Fictional heart attack data; BMI missing).

10 DescribeContains data from : 154 Fictional heart attack data;BMI missingVariables: 9 19 Jun 2020 10:50 Variable Storage Display Valuename type format label Variable labelattack byte % Outcome (heart attack)smokes byte % Current smokerage float % Age, in yearsbmi float % Body mass index, kg/m^2female byte % Genderhsgrad byte % High school graduatemarstatus byte % mar Marital status: single, married,divorcedalcohol byte % alc Alcohol consumption: none, <2drinks/day, >=2 drinks/dayhightar byte % Smokes high tar cigarettesSorted by:In addition to the primary variablesattackandsmokes, the dataset contains information aboutsubjects ages, body mass indexes (BMIs), genders, educational statuses, marital statuses, alcoholconsumptions, and the types of cigarettes smoked (low/high tar).


Related search queries