![]() Variable properties in the Stata data editor also include the variable type (integer, float, string.) and format. It is of course especially important to create labels for missing values. The same goes for agreement values stored as numbers (from "Strongly agree" to "Strongly disagree" or vice-versa) or for "male/female/non-binary" answers. Value labels should also be created when their meaning is not as obvious: if you consider 1 means "yes" and 2 means "no", this should be documented. The label should specify the unit of the variable if appropriate (ex: "Self-reported height of respondent in centimeters"). The variable name should not be longer than 8-10 characters for practical reasons (even though Stata allows up to 32 characters) and cannot include spaces (ex: R_height). ![]() These should be descriptive and understandable for other researchers without the need for interpretation. Variables should receive a (short) name and a (detailed) label. Variable-level documentation within your data file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |