全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...
-  2019 

Speaking Stata: How best to generate indicator or dummy variables

DOI: 10.1177/1536867X19830921

Keywords: dm0099,indicator variable,dummy variable,true or false,any,all,missing values,logical and relational operators,functions,merge

Full-Text   Cite this paper   Add to My Lib

Abstract:

Indicator or dummy variables record whether some condition is true or false in each observation by a value of 1 or 0. Values may also be missing if truth or falsity is not known, and that fact should be flagged. Such indicators may be created on the fly by using factor-variable notation. tabulate also offers one method for automating the generation of indicators. In this column, we discuss in detail how otherwise to best generate such variables directly, with comments here and there on what not to do

Full-Text

Contact Us

[email protected]

QQ:3279437679

WhatsApp +8615387084133