×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

数据分析中通常遇到的三种变量。性质不同,处理方法也不同.

(1), A continuous variable can take on any value in a range (subject to roundoff error). Examples are height, stock price, price, voltage, IQ, or paper thickness.

(2), A categorical variable (also called a nominal or discrete variable) is often not a number. A categorical variable can only take on a small number of discrete values. Examples of categorical variables are gender, employment status, dog breed, country of origin.

(3), An ordinal variable, which is a compromise between continuous and categorical. They can be ordered but are not continuous. For example, year in school (freshman, sophomore, junior, senior), military rank, letter grade for a course.

Reference: http://facweb.cs.depaul.edu/sjost/csc423/notes/0717.htm

Report