Difference between revisions of "Página de pruebas 3"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 50: | Line 50: | ||
| colspan="3" style="height:100px; text-align:left; width:80px;" | | | colspan="3" style="height:100px; text-align:left; width:80px;" | | ||
Values cannot be used to perform many statistical computations, such as mean and standard deviation | Values cannot be used to perform many statistical computations, such as mean and standard deviation | ||
+ | |- | ||
+ | | colspan="11" |Even if the values are numbers. For example, if we want to categorize males and females, we could use a number of 1 for male, and 2 for female. However, the values of 1 and 2 in this case don't have any meaningful order or carry any mathematical meaning. They are simply used as labels. <nowiki>https://www.statisticssolutions.com/data-levels-and-measurement/</nowiki> | ||
|} | |} | ||
− | |For an | + | |For an '''«outlook»''' attribute from weather data, potential values could be "sunny", "overcast", and "rainy". |
|- | |- | ||
!'''Ordinal''' | !'''Ordinal''' | ||
Line 75: | Line 77: | ||
No distance between values is defined | No distance between values is defined | ||
| style="height:100px; text-align:left; width:80px;" | | | style="height:100px; text-align:left; width:80px;" | | ||
− | + | Only comparison operators make sense | |
| colspan="2" |Mathematical operations such as addition, subtraction, multiplication, etc. do not make sense | | colspan="2" |Mathematical operations such as addition, subtraction, multiplication, etc. do not make sense | ||
| | | | ||
Line 83: | Line 85: | ||
| | | | ||
| | | | ||
+ | |- | ||
+ | | colspan="11" |For example, an '''«Education level»''' attribute with possible values of '''«high school»''', '''«undergraduate degree»''', and '''«graduate degree»'''. There is a definitive order to the categories (i.eº., graduate is higher than undergraduate, and undergraduate is higher than high school), but we cannot make any other arithmetic assumption. For instance, we cannot assume that the difference in education level between undergraduate and high school is the same as the difference between graduate and undergraduate. | ||
|} | |} | ||
− | | | + | |A '''«temperature»''' attribute in weather data with potential values fo: "hot" > "warm" > "cool" |
|- | |- | ||
!'''Interval''' | !'''Interval''' | ||
Line 105: | Line 109: | ||
| style="height:100px; text-align:left; width:80px;" | | | style="height:100px; text-align:left; width:80px;" | | ||
| style="height:100px; text-align:left; width:80px;" | | | style="height:100px; text-align:left; width:80px;" | | ||
− | Distance between values is defined. In other words, we can quantify the difference between | + | Distance between values is defined. In other words, we can quantify the difference between values |
| style="height:100px; text-align:left; width:80px;" | | | style="height:100px; text-align:left; width:80px;" | | ||
Comparison operators make sense | Comparison operators make sense | ||
Line 116: | Line 120: | ||
| | | | ||
|(not sure) | |(not sure) | ||
+ | |- | ||
+ | | colspan="11" |An example of an interval variable would be a '''«Temperature»''' attribute. We can correctly assume that the difference between 70 and 80 degrees is the same as the difference between 80 and 90 degrees. However, the mathematical operations of multiplication and division do not apply to interval variables. For instance, we cannot accurately say that 100 degrees is twice as hot as 50 degrees. Additionally, interval variables often do not have a meaningful zero-point. For example, a temperature of zero degrees (on Celsius and Fahrenheit scales) does not mean a complete absence of heat. | ||
+ | |||
+ | |||
+ | An interval variable can be used to compute commonly used statistical measures such as the average (mean), standard deviation, and the Pearson correlation coefficient. <nowiki>https://www.statisticssolutions.com/data-levels-and-measurement/</nowiki> | ||
|} | |} | ||
− | | | + | |a '''«Temperature»''' attribute composed by numeric measures of such property |
|- | |- | ||
!'''Ratio''' | !'''Ratio''' | ||
Line 146: | Line 155: | ||
| | | | ||
| | | | ||
+ | |- | ||
+ | | colspan="11" |An example of a ratio variable would be weight (e.g., in pounds). We can accurately say that 20 pounds is twice as heavy as 10 pounds. Additionally, ratio variables have a meaningful zero-point (e.g., exactly 0 pounds means the object has no weight). | ||
+ | |||
+ | |||
+ | A ratio variable can be used as a dependent variable for most parametric statistical tests such as t-tests, F-tests, correlation, and regression. <nowiki>https://www.statisticssolutions.com/data-levels-and-measurement/</nowiki> | ||
|} | |} | ||
− | | | + | |The '''«weight»''' (e.g., in pounds) |
+ | |||
+ | Other examples: gross sales of a company, the income of a company, etc. | ||
|} | |} |
Revision as of 23:05, 24 November 2020
Values have any meaningful order | Distance between values is defined | Mathematical operations make sense
(Values can be used to perform mathematical operations) |
There is a meaning ful zero-point | Values can be used to perform statistical computations | Example | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Comparison operators | Addition and subtrac tion | Multiplica tion and division | "Counts", aka, "Fre quency of Distribu tion" | Mode | Median | Mean | Stn | |||||||||||||||||||||||||||||||||||||||
Nominal | Values serve only as labels |
|
For an «outlook» attribute from weather data, potential values could be "sunny", "overcast", and "rainy". | |||||||||||||||||||||||||||||||||||||||||||
Ordinal | Distinction between nominal and ordinal not always clear (e.g., attribute "outlook") |
|
A «temperature» attribute in weather data with potential values fo: "hot" > "warm" > "cool" | |||||||||||||||||||||||||||||||||||||||||||
Interval |
|
a «Temperature» attribute composed by numeric measures of such property | ||||||||||||||||||||||||||||||||||||||||||||
Ratio |
|
The «weight» (e.g., in pounds)
Other examples: gross sales of a company, the income of a company, etc. |