Sometimes files will contain a mix of names, labels, and values. In the example below, Person's age is referred to by the variable name of q1, and the age of 35 to 44 is represented by the value of 3. Under 18ğemale Neither agree nor disagreeĦ0 or moreğemale Strongly agree A flat file containing variable names and valuesĪn alternative to showing labels is to instead show variable names and values. Person's age GenderĚttitudeģ5 to 44ğemale Neither agree nor disagree Looking at the age variable shown below, we can see that there are three unique values: 34 to 44 (which appears twice), Under 18, and 60 or more. In this example, the values in the data file are labels (i.e., text). In the example below, tabs are used to delimit the variables, and we can see that the first variable is called, Person's age and the first case has a value of 35 to 44.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |