数据处理中四种基本数据类型的区别(Nominal, ordinal, interval, ratio data)
Nominal,Ordinal,Interval and Ratio分别是定类、定序、定距、定比,定类变量值只是分类,如性别变量的男女;定序变量值可以排序,但不能加减,如年级变量;定距变量值是数字型变量,可以加减;定比变量值和定距变量值唯一区别是不存在基准0,即当变量值为0时不是表示没有,如温度变量,当温度为0时,并不是表示没有温度,这样温度就为定距变量,而不是定比变量.
Originally from http://www.psy.gla.ac.uk/~steve/best/ordinal.html
Basic definitions
Nominal | Just names, IDs |
---|---|
Ordinal | Have / represent rank order (e.g. fully agree, mostly agree, somewhat agree) |
Interval | Has a fixed size of interval between data points. (E.g. degrees Centigrade) |
Ratio | Has a true zero point (e.g. mass, length) |
Summary table: The four data types
Attribute | Nominal | Ordinal | Interval | Ratio |
---|---|---|---|---|
Name2 | Categorical | Sequence | Equal interval | Ratio |
Name3 | Set | Fully ordered, rank ordered | Unit size fixed | Zero or ref.pt fixed |
Statistics | Count, Mode, chi-squared | + median, rank order correlation | + ANOVA, mean, SDev | + logs?? |
Example1 | Set of participants, makes of car | order of finishing a race | centigrade scale | Degrees Kelvin or absolute |
Transformations/ rescaling allowed | Rename | Montonic (any curve that always increases) | Linear | - |
Transformations 2 | Hash function | Montonic | Add and multiply | multiply? |
Transformation examples | 1:1 mapping, Assign colours for lines on a chart | Sorting. Log or exp | Z-transform, renormalise IQ scores | Scale (zoom in or out) |
Types of relativity | A≠B | A>B | |(A-B)| > |(C-D)| | ? |
Types of absolute | Identity of individual entities | order, seqeuence | intervals, differences | ratios, proportions |
Transformations
- Thurstone scaling takes in ordinal data and generates an interval scale.
- Spreadsheet (re)sorting takes any kind of data and generates ordinal data as represented, say, by the row number after sorting.
- Log (or log-log, or exp()) transformations create interval data out of ratio or other interval data. This corresponds to the fact that even when a measurement scale has a zero (a ratio scale), the measure of interest may not e.g. may be a difference.
An alternative list of types
(Attributed to Mosteller & Tukey.)
Names Grades ordered labels such as Freshman, Sophomore, Junior, Senior Ranks starting from one, which may represent either the largest or smallest Counted fractions bounded by zero and one. These include percentages, for example. Counts non-negative integers Amounts non-negative real numbers Balances unbounded, positive or negative values. Circles (partially ordered, but in a circle). e.g. the points of the compass
数据处理中四种基本数据类型的区别(Nominal, ordinal, interval, ratio data)相关推荐
- java中四种线程池的区别
本文按: 一. 线程池的使用 二. 几种线程池的区别 三. 如何合理配置线程池 一.线程池的使用 在Java中,通常使用Executors 获取线程池.常用的线程池有以下几种: (1)CachedTh ...
- Xcode中四种build for 的区别
Xcode有四种build for 分别是: build for Running build for Testing build for Profiling build for Archiving R ...
- python中系列的含义_python中四种组合数据类型的含义、声明、增删改查,遍历
一.列表 列表:list 可以存储多个有顺序的可以重复的数据的类型 其他语言:数据:python中~提供的是列表[不说数组] 列表:操作数据:增加.删除.修改.查询 [CRUD] append/ins ...
- C++中四种强制类型转换的区别
使用标准C++的类型转换符:static_cast.dynamic_cast.reinterpret_cast和const_cast. 1.static_cast 用法:static_cast ...
- Smart Form中四种窗口类型的区别
smart form中4中类型的窗口: Main Window:主窗口 主窗口一般用于数据的列表显示,用于LOOP循环显示:当然也可显示非列表内容. 一个Form中只能包含一个主窗口. 主窗口可分页输 ...
- 数据库中数据长度(理解)和几种int数据类型的区别
MySQL数据库中几种int数据类型的区别 整数类型 整数类型在这里显示的宽度和数据类型的取值范围是没有任何关系的,这里的宽度指的是你数据显示的最大的宽度个数.如果插入的长度大于你所显示的值,只要该值 ...
- 统计学中的 DATA:Nominal,Ordinal, Interval and Ratio怎么区别
1) Norminal Data 定类变量 :变量的不同取值仅仅代表了不同类的事物,这样的变量叫 定类变量 .问卷的人口特征中最常使用的问题,而调查被访对象的"性别",就是 定 ...
- 【整理】Python中的re.search和re.findall之间的区别和联系 + re.finall中带命名的组,不带命名的组,非捕获的组,没有分组四种类型之间的区别
之前自己曾被搞晕过很多次. 后来使用这些函数次数多了之后,终于比较清楚的弄懂了两者之间的区别和关系了. 尤其是一些细节方面的注意事项了. 在看下面的总结和代码之前,请先确保你对如下基本概念已经有所了解 ...
- 四种DCOM错误的区别,0x80080005 0x800706be 0x80010105 0x
四种DCOM错误的区别 Differences between the following DCOM error 0x80080005 0x800706be 0x80010105 0x800706ba ...
最新文章
- java流的写法_java IO-过滤流类的写法
- NLP命名实体识别(NER)代码实践
- 五、唱歌不如跳舞(下)
- 安装 mysql-8.0.23-winx64
- u盘添加veket linux,veket要怎样才能安在u盘上?
- iptables实现访问A的请求重定向到B
- Confluence与Jira安装及后期迁移问题记录
- CUDA 禁用GPU之间的P2P通信功能
- vue中warning_5种处理Vue异常的方法
- 加ing形式的单词有哪些_动词ing形式变化规则有哪些
- Learned Bloom filter
- Harry Potter and the Goblet of Fire
- 跟张小龙学习做优秀产品经理的设计思路
- ThingJS-X森可视平台框架源码 java+Netcore版本 旗舰版企业版
- 基于8086的家庭安全防盗系统proteus制作
- excel中如何使内容不要超出单元格
- Windows Server 2012R2 域与活动目录
- 46道Redis面试题,含参考答案!
- allegro 设计中显示网络飞线或关闭网络飞线的方法
- Nexus 5 root
热门文章
- [原型设计]Axure制作首页轮播图片切换效果
- 前端静态页面基本开发思路(一)
- 数值代数课设(99分)--基于Jacobi迭代,GS迭代,SOR迭代对泊松方程的求解[matlab](上)
- 堆叠式降噪自动编码器(SDA)
- Excel记录指定文件夹下的所有文件名;批量解压压缩包,处理压缩包套压缩包问题;
- 不要学习“网红”编程语言
- day 3:蓝桥杯python 杨辉三角知识点
- 家电怕买贵 双11实测比价揭迷雾:9款大牌家电京东价最低​
- 图解扫描振镜-激光振镜-光学振镜 新手必看
- 【Endnote20】批量导入enw格式,便捷快速