Statistics for Data Analysis · Populations, Sampling, and Data
16 cards
Variables, Measurement, and Data Types
-
Quick check
A customer ID is stored as six digits. What determines whether it is categorical or quantitative?
AAny variable stored as digits is quantitative, so arithmetic on account codes or postal codes has an interpretable magnitude and average.
Numeric encoding does not give labels meaningful arithmetic distance.
BCategorical variables represent groups or labels, while quantitative variables have numerical magnitudes for which arithmetic comparisons are meaningful.
Arithmetic differences have an interpretation for measured magnitudes but not for labels such as account or postal codes.
CA measured amount becomes categorical whenever analysts group it for a chart, and the discarded within-group magnitudes remain fully recoverable.
Binning creates a categorical representation and loses quantitative detail; it does not change the original construct.
3 / 16
-
Quick check
Which distinction separates a purchase count from an underlying transaction time?
AA discrete quantitative variable has a finite or countable set of possible values, while a continuous variable can take values across an interval.
A purchase count takes separate whole-number values, whereas a transaction time can fall anywhere between two recorded times.
BA discrete variable can take every value in an interval, while a continuous variable must have a finite list of possible values.
Those support definitions are reversed.
CA variable is continuous only if the observed sample contains infinitely many distinct recorded values.
Finite samples and instrument resolution cannot display infinitely many values from an underlying continuum.
6 / 16
-
Quick check
What does defining one row as one customer establish before classifying the columns?
AThe observational unit is whichever column has the most unique values.
Uniqueness does not identify the entity measured by each row.
BOne row always represents one independent person, even when the table contains transactions, visits, or repeated measurements from the same person.
The data-generating entity must be defined from provenance, not assumed from row count.
CThe observational unit determines what one row represents, and each measured characteristic becomes a variable for that unit.
Defining the entity represented by a row determines what each column measures and whether repeated rows are repeated units.
9 / 16
-
Keep your progress in the app
That’s 3 of 6 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
Which summaries naturally match a product category and which match a measured weight?
AMeans and standard deviations are the natural summaries for unordered category labels.
Arithmetic center and distance have no meaning for nominal labels.
BMeans and standard deviations require quantitative meaning; frequencies and proportions are natural summaries for categorical variables.
Category labels support counts and proportions, while a mean or standard deviation requires meaningful numerical distance.
CFrequencies are sufficient for every quantitative variable, even when magnitude and dispersion are the substantive targets of the analysis.
Counts of repeated values can omit the quantitative comparisons the question asks about.
11 / 16
-
Quick check
Defect totals are nonnegative integer counts, yet a model offered as an exact description of them assigns probability to negative and fractional outcomes. Which property rules it out as an exact model?
AA proportion may validly be modeled below zero or above one if the fitted curve is smooth, and a count may take negative fitted values without qualification.
Support constraints are substantive; impossible values signal an unsuitable model or approximation.
BSupport is determined only by the values observed in one sample, so unobserved but possible values are excluded from the variable definition.
Support concerns possible values under the measurement process, not just realized sample values.
CThe support of a variable includes its possible values and constraints, such as nonnegative counts or proportions bounded between zero and one.
Support rules out impossible values and is therefore an early constraint on both summaries and probability models.
13 / 16
-
Quick check
Temperature is physically continuous but stored to the nearest degree, so a finite file contains repeated integers. How should the underlying variable be classified?
AMeasurement resolution can make a recorded continuous quantity look discrete without changing the underlying quantity being measured.
Finite recording precision explains repeated values without changing the continuous construct that the instrument measures.
BRounding a continuous measure to two decimals changes the underlying construct into a count.
Resolution changes recorded precision, not the kind of quantity.
CRepeated rounded values prove that the variable is nominal.
Ties can arise from measurement resolution and do not remove quantitative meaning.
16 / 16
-
6 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
