Cheatography
https://cheatography.com
Some basic commands for the use of R Studio
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Terms and definitions
Qualitative |
Quantitative |
Discrete |
Continious |
categorical(large, medium, small) |
can be measured in terms of numbers |
only a finite number of values |
takes on any value in a certain range |
non-numeric |
can be sorted in a logical way |
can be counted |
can be measured |
can not be sorted/ordered in a logical way |
example age, height,width |
example number of cats in a neighbourhood can be counted but can not be measured |
example speed of a car, width, length |
example gender, eye color, religion |
Qualitative variables are Discrete but Quantitative can be either Discrete or Continuous
|
|
Nominal
Qualitative/categorical |
order does not matter |
can't be sorted |
example Name, color, labels, gender |
Ordinal
Ranking/Placement |
Order does matter |
Diff can not be measured |
example cgpa is ranked from 1-4, military rankings, consumer satisfication rankings |
Interval
Order does matter |
Diff can be measured |
Ratio can not be measured |
No 'True' or 0 starting point |
example dates of events, Temp in Celsius |
|
|
Ratio
Order does matter |
Diff can be measured |
Ratio can be measured |
'True' or 0 starting point |
example length, Temp in Kelvin,amount of money |
|