data scales and markup language Flashcards
Nominal
– Categorical
– Least sophisticated
– Values differ by label or name
– Example: marital status
Ordinal
– Categorical
– Reflect labels or names, but can be ranked
– Cannot interpret the difference between the ranked values
– Example: reviews from 1 star (poor) to 5 stars (outstanding)
Interval
– Numerical
– Categorize and rank, differences are meaningful
– Zero value is arbitrary and does not reflect absence of characteristic
– Ratios are not meaningful
– Example: temperature
Ratio (numerical)
– Numerical
– Most sophisticated
– A true zero point, reflects absence of characteristic
– Ratios are meaningful
– Example: profits
XML (example of what it looks like)
< Data >
<Person>
< Name>Rich</Name>
<Telephone>419-528-915</Telephone>
<Salary>160000</Salary>
</Person>
<Person>
<Name>Benjamin</Name>
< Telephone>203-991-608</Telephone>
< Salary >93000</Salary>
</Person>
</ Data>
HTML (example of what it looks like)
< table>
<tr>
< th>Name</th>
< th>Telephone</th>
<th> Salary</th>
</tr>
<tr>
< td>Benjamin</td>
< td>203- 991-3608</td>
< td>93000</td>
</tr>
</ table>
Java (example of what it looks like)
{
“Person”: [
{
“Name”: “Rich”
“Telephone”: *419-528-0915”
“Salary”: “160000”
} ,
{
“Name”: “Benjamin”
“Telephone”: “203-991-3608”,
“Salary”: “93000”
}
]
}