MaizePrepSTATS 250
Exam 1 · Lec 01

Variables, parameters and statistics (with Module 0)

Name the observational unit, sort variables into quantitative and categorical, tell a parameter from a statistic, and read the Module 0 summaries: center, spread, shape and standard scores.

30 min

Key ideas

Observational unit (case)

The entity each row of the data describes: a person, a hospital, a county, a day. Find it first by asking what one row represents.

Example A spreadsheet with one row per bike-share station has stations as its units, even if each row reports rider counts.

Quantitative versus categorical

Quantitative variables take numbers where arithmetic means something (minutes, dollars, counts). Categorical variables sort units into groups. Numbers used as labels (zip codes, jersey numbers, codes like 1 = yes, 2 = no) stay categorical.

Example Test: would the average of this column mean anything? If not, it is categorical.

Population

The full group you want to learn about. It can be finite (all registered voters in a state), hypothetical (all patients who could ever receive a treatment) or a process (every future flip of a coin).

Parameter versus statistic

A parameter describes the population and is fixed but usually unknown. A statistic is computed from the sample and changes from sample to sample. Sample goes with Statistic; Population goes with Parameter.

Example STATS 250 notation: μ,σ,π\mu, \sigma, \pi are parameters; the hats μ^,σ^,π^\hat\mu, \hat\sigma, \hat\pi are the matching statistics.

Center and skew (Module 0)

The mean is pulled toward a long tail; the median resists outliers. Right skew usually gives mean > median, left skew mean < median, symmetric data mean ≈ median.

Spread and outliers (Module 0)

The SD is a typical distance from the mean. The IQR = Q3 − Q1 is the width of the middle 50%. A boxplot flags points more than 1.5 × IQR beyond a quartile.

Standard score (z-score)

How many standard deviations an observation sits from the mean, with a sign for direction. Values below the mean get negative z-scores.

Formulas

Standard score
z=observation−meanstandard deviationz=\frac{\text{observation}-\text{mean}}{\text{standard deviation}}
On the Exam 1 help card. Positive above the mean, negative below.
Interquartile range
IQR=Q3−Q1IQR = Q_3 - Q_1
Outlier fences: Q1−1.5 IQRQ_1-1.5\,IQR and Q3+1.5 IQRQ_3+1.5\,IQR.
Sample proportion
π^=number of successesn\hat\pi=\frac{\text{number of successes}}{n}
A proportion is always between 0 and 1, never between 0 and n.

Parameter and statistic pairs

SummaryParameter (population)Statistic (sample)
Meanμ\muμ^\hat\mu
Standard deviationσ\sigmaσ^\hat\sigma
Proportionπ\piπ^\hat\pi
Worked example

A campus breakfast survey

A dining office emails a random sample of 250 undergraduates at one university. Each student reports whether they usually skip breakfast, how many hours they slept last night, and their residence hall code (a three-digit number). 85 say they usually skip breakfast. Identify the unit, the variable types, the population, the parameter and the statistic.

  1. Unit: one row is one undergraduate who answered.

  2. Types: skips breakfast (yes/no) is categorical; hours slept is quantitative; the residence hall code is categorical even though it is written in digits, because averaging hall codes means nothing.

  3. Population of interest: all undergraduates at this university (the sample of 250 is the subset we see).

  4. Parameter: π\pi = the true (unknown) proportion of all undergraduates at this university who usually skip breakfast.

  5. Statistic: π^=85/250=0.34\hat\pi = 85/250 = 0.34, the proportion of the 250 sampled students who usually skip breakfast.

Answer

Units are students; one categorical and one quantitative response plus a categorical code; π^=0.34\hat\pi = 0.34 estimates the unknown π\pi for all undergraduates at the school.

Check yourself

1
Lec 01

A county health department records, for each restaurant it inspects, the number of violations found, whether it passed, and its five-digit permit number. Which of these is quantitative for these units?

2
Lec 01

A transit agency randomly samples 400 of its weekday riders; 62% of them say they would use a new express line. In this setting, 62% is:

3
Lec 01

A researcher studies all adults in a state using a random sample of 1,200. Select every quantity that is a parameter.

4
Module 0

Online grocery delivery times at one store are strongly right-skewed: most orders arrive in 30 to 45 minutes, a few take over two hours. How do the mean and median compare?

5
Module 0

Tomato plants in a greenhouse have mean height 40 cm and standard deviation 6 cm. What is the standard score of a plant that is 31 cm tall? Give the exact value (one decimal place).

Math shortcuts are on for STATS 250. Type ^ then digits for powers, _ then digits for subscripts.
6
Module 0

Two classes took the same quiz. Class A's scores have IQR 8 points; class B's have IQR 15 points, and both have median 72. Which statement is supported?

7
Lec 01

A data set lists, for each U.S. county, its population, median household income and whether it has a public hospital. What is the observational unit?

MaizePrep is an independent study resource. It is not affiliated with, sponsored by, or endorsed by the University of Michigan. Course names and numbers are used only to describe which class the material covers. Every practice question is original, written in the style of the course.