Categorical and Quantitative Variables Flashcards
Quantitative vs Categorical
Quantitative - numerical value - can report the average of all individuals.
Categorical - can be categorized - can report the count or proportion of individuals with that characteristic.
Individuals vs Variable
Individuals - each data point - objects described in a set of data.
Variable - cartelistic describes data - property that characterizes an individual.
Discrete vs Continuous
For Quqntatative Data
Discrete - whole number (#of cars owned, cannot own 1/2 a car)
Continuous - ex. age can be 60 years and 5 days
Histograms - summary graph for ____
useful to understand ___
a single variable -
understand the pattern of variability in the data, especially for large data sets.
Steps to make a Histogram
1) The range of values that the quantitative variable takes is divided into equal-size intervals, or classes. (Horizontal Axis)
2) The vertical axis represents either the frequency (counts) or the relative frequency (percents of total).
3) For each class on the horizontal axis, draw a column. The height of the column represents the count (or percent) of data points that fall in that class interval.
- Can be either frequency (count of guinea pigs) or percent (relative frequency) - both have identical shape
Need to chose classes - not to many with 0 or 1 counts, not so detailed that is no longer summery but not so summarized that you loose info.
Histogram Shape
Symmetric, L skew R skew
Unimodal, bimodal - one vs two “humps”
Histogram Center
find average of data - mean median - approximate center of mass of data
histogram Spread
Range of data values (ex. age 0-80)
histogram outliers
data point not follow overall pattern of data - large gape in the distribution is sign of an outlier
Dot plots and stem plots - graphs for ___
useful to___
the raw data -
useful to describe the pattern of variability in the data, especially for small data sets
Stem Plot -
separate into a stem (first digit) and a leaf (remaining digit)
Dot Plot -
represent each data point as a dot
Line graphs: when ____
time plots
when there is a meaningful sequence, like time.
Data collected over time - Look for a possible:
a) Trend - a clear overall pattern (overall up in image)
b) Cyclical Variations - variations with some regularity over time (up and down in image)
Nominal vs Ordinal
In Categorical Data
Nominal - purely qualitative - cannot be ordered (M or F)
Ordinal - can be ranked/ordered (ex. movie rating 1-5 stars 5>1 in goodness)
Bar Graph
Each characteristic, or level, is represented by a bar. - can show many Q at a time
Frequency - the height of a bar represents either the count of individuals with that characteristic.
Relative Frequency - percent of individuals with that characteristic.