Start here · 3 steps

Sample data sets

Where each bundled sample comes from, what its columns mean, the flaws left in on purpose and three questions to start with.

Step by step

  1. Open the Sample data menu

    Click Data; under Sample data choose a data set, for example Penguins. It opens as a new table.

  2. Or pick one on the Welcome screen

    Under Try a sample, click a tile.

  3. Ask one of its starter questions

    Each data set below lists three questions, with the menu, the columns to choose and a link to the analysis’s help. Choose the analysis from its menu, pick those columns and press Run analysis.

The data sets

Penguins

344 rows, 8 columns. Load it: Data › Sample data › Penguins.

Source: Palmer Station Antarctica LTER and Kristen Gorman, from field seasons in 2007, 2008 and 2009; first published by Gorman, Williams and Fraser (2014). Prepared for teaching as the palmerpenguins package for R by Allison Horst, Alison Hill and Kristen Gorman (2020). Gorman KB, Williams TD, Fraser WR (2014). Ecological sexual dimorphism and environmental variability within a community of Antarctic penguins (genus Pygoscelis). PLoS ONE 9(3): e90081. doi:10.1371/journal.pone.0090081 The original documentation.

Adult penguins of three species, measured in Antarctica. Researchers measured Adelie, Chinstrap and Gentoo penguins foraging near Palmer Station, on three islands of the Palmer Archipelago. Each row is one penguin. It is a good first data set: real measurements, a few gaps, and clear differences between species to find.

Columns of Penguins
ColumnWhat it isUnit
speciesPenguin species: Adelie, Chinstrap or Gentoonone
islandIsland in the Palmer Archipelago: Biscoe, Dream or Torgersennone
bill_length_mmBill lengthmillimeters
bill_depth_mmBill depthmillimeters
flipper_length_mmFlipper lengthmillimeters
body_mass_gBody massgrams
sexSex of the penguin: female or malenone
yearYear of the study the penguin was measured in (2007, 2008 or 2009)none

Left in on purpose:

  • 11 penguins have no sex recorded, and 2 of them have no body measurements at all. An analysis of those columns leaves those rows out and says how many on the card.
  • Species and island go together: Gentoo penguins were measured only on Biscoe and Chinstrap only on Dream, so an island difference may really be a species difference.

Three questions to start with:

  1. Do male and female penguins differ in body mass?

    Analyze › Means › Two-Sample t-Test. In What you measured, choose body_mass_g. In The two groups, choose sex. Keep the options as they are: Welch's version does not need the two groups to have the same spread. Then press Run analysis.

    Help for Two-Sample t-Test

  2. Is flipper length related to body mass?

    Analyze › Correlation › Correlation Matrix. In Columns to relate, choose flipper_length_mm and body_mass_g. Then press Run analysis.

    Help for Correlation Matrix

  3. Does the mix of species differ from island to island?

    Analyze › Categorical › Chi-Square Test of Independence. In Rows of the table, choose species. In Columns of the table, choose island. Then press Run analysis.

    Help for Chi-Square Test of Independence

Titanic

887 rows, 8 columns. Load it: Data › Sample data › Titanic.

Source: Records of 887 of the Titanic's passengers, in the version prepared for Stanford University's CS109 course, which credits Kaggle and Encyclopedia Titanica for the data and removed commas from the names. Stanford University CS109, titanic.csv (887 passengers), from Kaggle and Encyclopedia Titanica. The original documentation.

Passengers of the Titanic, and whether each survived its sinking in 1912. The ship struck an iceberg late on 14 April 1912 and sank early the next morning; about 1,500 of the roughly 2,200 people aboard died. This file lists passengers only, not the crew. Each row is a person, and Survived = 0 means that person died. These are real deaths: write about the people with care when you report what you find.

Columns of Titanic
ColumnWhat it isUnit
Survived1 = survived, 0 = diednone
PclassTicket class: 1 = first, 2 = second, 3 = thirdnone
NamePassenger's name, with the title used on the passenger listnone
Sexfemale or male, as recordednone
AgeAge; babies under one year have fractions, and an age ending in .5 was estimated in the original recordsyears
Siblings/Spouses AboardNumber of brothers, sisters, husbands or wives travelling with the passengerpeople
Parents/Children AboardNumber of parents or children travelling with the passengerpeople
FarePrice paid for the ticket; one ticket often covered a family, so it is not a price per personpounds sterling (1912)

Left in on purpose:

  • Every passenger in this file has an age, although the full passenger records are missing many ages, so some ages here were probably filled in by whoever prepared the file, and the source does not say how. Treat conclusions about Age with care.
  • 15 passengers have a fare of 0.
  • It is a list of passengers, not of everyone aboard: the crew are not in it, so it cannot answer questions about all the people on the ship.

Three questions to start with:

  1. Did a larger share of women than of men survive?

    Analyze › Categorical › Proportion Test (z-test). In Yes/no column (optional with typed counts), choose Survived. In The two groups (optional), choose Sex. Keep Kind of test at two_proportion. Then press Run analysis.

    Help for Proportion Test (z-test)

  2. Did survival differ by ticket class?

    Analyze › Categorical › Chi-Square Test of Independence. In Rows of the table, choose Pclass. In Columns of the table, choose Survived. Then press Run analysis.

    Help for Chi-Square Test of Independence

  3. Was age associated with survival, once sex is taken into account?

    Regression › Essentials › Logistic Regression. In Yes/no outcome to predict, choose Survived. In Columns that may explain it, choose Age and Sex. Then press Run analysis.

    Help for Logistic Regression

mtcars

32 rows, 11 columns. Load it: Data › Sample data › mtcars.

Source: Fuel use and ten aspects of design and performance for 32 cars of the 1973 and 1974 model years, from the 1974 Motor Trend US magazine, as published by Henderson and Velleman (1981) and shipped with R as mtcars. Henderson HV, Velleman PF (1981). Building multiple regression models interactively. Biometrics 37(2): 391-411. doi:10.2307/2530428 The original documentation.

Fuel economy and design of 32 cars of the 1973 and 1974 model years. A car magazine tested them and recorded their fuel economy, engine and weight. Each row is one car model. It is small enough to see every row, and the columns are tangled together in ways worth noticing: heavier cars also tend to have bigger engines and automatic gearboxes.

Columns of mtcars
ColumnWhat it isUnit
mpgFuel economymiles per US gallon
cylNumber of cylinders (4, 6 or 8)none
dispEngine displacementcubic inches
hpGross horsepowerhorsepower
dratRear axle rationone
wtWeightthousands of pounds
qsecTime to cover a quarter mile from a standing startseconds
vsEngine shape: 0 = V-shaped, 1 = straightnone
amTransmission: 0 = automatic, 1 = manualnone
gearNumber of forward gearsnone
carbNumber of carburetorsnone

Left in on purpose:

  • This copy has no column with the car names: each row is a car, but the file does not say which.
  • Only 32 cars: one unusual car can move a result a lot.
  • The original coding kept some quirks on purpose (Henderson and Velleman's footnote): the Mazda RX4's rotary engine (rows 1 and 2) is counted as a six-cylinder engine, the Porsche 914-2's flat engine (row 27) is coded V-shaped (vs = 0), and the diesel Mercedes 240D (row 8) is included.

Three questions to start with:

  1. Do cars with a manual gearbox have different fuel economy from automatics?

    Analyze › Means › Two-Sample t-Test. In What you measured, choose mpg. In The two groups, choose am. am is 0 for automatic and 1 for manual. Then press Run analysis.

    Help for Two-Sample t-Test

  2. How is a car's weight associated with its fuel economy?

    Regression › Essentials › Linear Regression. In What you want to predict or explain, choose mpg. In Columns that may explain it, choose wt. Then press Run analysis.

    Help for Linear Regression

  3. Does fuel economy differ by number of cylinders?

    Analyze › Means › One-Way ANOVA. The three groups' spreads differ a lot (SD 4.5, 1.5 and 2.6 mpg), so use the version that allows for that. In What you measured, choose mpg. In The groups, choose cyl. In Which version, choose Welch's ANOVA. In Which pairs differ (follow-up), choose Games-Howell. Then press Run analysis.

    Help for One-Way ANOVA

Air Quality

153 rows, 7 columns. Load it: Data › Sample data › Air Quality.

Source: Daily air quality in New York from May to September 1973: ozone from the New York State Department of Conservation, weather from the National Weather Service, as published by Chambers, Cleveland, Kleiner and Tukey (1983) and shipped with R as airquality. Chambers JM, Cleveland WS, Kleiner B, Tukey PA (1983). Graphical Methods for Data Analysis. Belmont, CA: Wadsworth. The original documentation.

Daily ozone and weather in New York, May to September 1973. Each row is a day, with ozone, sunshine, wind and the day's high temperature. Ozone at ground level is a pollutant, and it builds up on hot, still, sunny days, which is what this table lets you look at.

Columns of Air Quality
ColumnWhat it isUnit
rownamesRow number carried over from R; a label, not a measurementnone
OzoneMean ozone from 1 pm to 3 pm, at Roosevelt Islandparts per billion
Solar.RSolar radiation from 8 am to noon, at Central Parklangleys
WindAverage wind speed at 7 am and 10 am, at LaGuardia Airportmiles per hour
TempHighest temperature of the day, at LaGuardia Airportdegrees Fahrenheit
MonthMonth (5 = May to 9 = September)none
DayDay of the monthnone

Left in on purpose:

  • 37 days have no ozone reading and 7 have no solar radiation reading: an analysis of those columns leaves those days out.
  • The rownames column is only a row number: do not analyze it as a measurement.
  • The days follow each other, so neighboring days are alike; tests that assume independent rows can be too sure of themselves.

Three questions to start with:

  1. Is ozone higher on hotter days?

    Graphs › Bivariate › Scatter Plot. In Across (horizontal axis), choose Temp. In Up (vertical axis), choose Ozone. Then press Run analysis.

    Help for Scatter Plot

  2. Does ozone differ from month to month?

    Analyze › Nonparametric › Kruskal-Wallis Test. In What you measured, choose Ozone. In The groups, choose Month. Ozone readings are lopsided (a few very high days), which is why this rank-based test is used here. Then press Run analysis.

    Help for Kruskal-Wallis Test

  3. How did the day's high temperature change over the summer?

    Graphs › Bivariate › Line Chart. In Lines to draw, choose Temp. Leave Across (horizontal axis) empty: the rows are already in date order. Then press Run analysis.

    Help for Line Chart

Diamonds

53,940 rows, 10 columns. Load it: Data › Sample data › Diamonds.

Source: Prices and other features of almost 54,000 round diamonds, as distributed with the ggplot2 package for R (Hadley Wickham and the ggplot2 team). The package's documentation does not name where the prices came from or when. Wickham H. ggplot2: Elegant Graphics for Data Analysis. The diamonds data set in the ggplot2 package for R. The original documentation.

Prices and qualities of almost 54,000 diamonds. Each row is one diamond, with its weight (carat), the quality of its cut, its color and clarity, and its measured size. It is big enough to show how a third column can hide a relationship: better cuts are not more expensive on average, because many of the best-cut stones are small, and small stones are cheap.

Columns of Diamonds
ColumnWhat it isUnit
caratWeight of the diamondcarats
cutQuality of the cut: Fair, Good, Very Good, Premium, Ideal (best)none
colorColor grade from D (best) to J (worst)none
clarityClarity grade: I1 (worst), SI2, SI1, VS2, VS1, VVS2, VVS1, IF (best)none
depthTotal depth as a percentage of the average width: 2 × z / (x + y)percent
tableWidth of the top of the diamond relative to its widest pointpercent
pricePriceUS dollars
xLengthmillimeters
yWidthmillimeters
zDepthmillimeters

Left in on purpose:

  • 20 diamonds have a length, width or depth of 0 mm, which cannot be right: they are recording errors.
  • A few sizes are far beyond the rest (a width of 58.9 mm and a depth of 31.8 mm): look at them before trusting an average.
  • Prices are very lopsided: most diamonds are cheap and a few cost a great deal.

Three questions to start with:

  1. How is price related to weight in carats?

    Graphs › Bivariate › Scatter Plot. In Across (horizontal axis), choose carat. In Up (vertical axis), choose price. Then press Run analysis.

    Help for Scatter Plot

  2. Do prices differ between the cut grades, and is carat the reason?

    Analyze › Nonparametric › Kruskal-Wallis Test. In What you measured, choose price. In The groups, choose cut. Then press Run analysis. Then run the same test with carat in What you measured: the best cuts are the smallest stones.

    Help for Kruskal-Wallis Test

  3. How many diamonds are there of each cut grade?

    Analyze › Describe › Frequency Table. In Column to count, choose cut. Then press Run analysis.

    Help for Frequency Table

Bearing Life Test

60 rows, 5 columns. Load it: Data › Sample data › Bearing Life Test.

Source: Invented by KernelStats (tools/make_life_test_sample.py): a made-up life test, not real bearings.

A made-up life test of 60 bearings with two lubricants. Half ran with a standard lubricant and half with a synthetic one, until they failed or the test stopped. Each row is a bearing. Some had not failed when observation ended: their time is only a lower limit, which is what survival methods are for.

Columns of Bearing Life Test
ColumnWhat it isUnit
unitBearing on the test rig (B01 to B60)none
lubricantLubricant the bearing ran with: Standard or Syntheticnone
load_knLoad applied during the testkilonewtons
hoursHours to failure, or to the end of observation for a bearing that did not failhours
failed1 = failed at that time; 0 = still running when observation ended (censored)none

Left in on purpose:

  • 9 bearings did not fail: 6 with the synthetic lubricant and 3 with the standard one. Some were taken off the rig early, so not every censored time is 2000 hours. Dropping them, or treating their time as a failure time, gives the wrong answer.

Three questions to start with:

  1. Do bearings with the synthetic lubricant last longer?

    Reliability & Survival › Survival › Kaplan-Meier Survival Curve. In Time to event, choose hours. In Event happened? (1 = yes, 0 = censored), choose failed. In Compare curves by (optional), choose lubricant. Then press Run analysis.

    Help for Kaplan-Meier Survival Curve

  2. How do lubricant and load together relate to the risk of failure?

    Reliability & Survival › Survival › Cox Proportional-Hazards Regression. In Time to event, choose hours. In Event happened? (1 = yes, 0 = censored), choose failed. In Columns that may explain it, choose lubricant and load_kn. Then press Run analysis.

    Help for Cox Proportional-Hazards Regression

  3. What life does a Weibull model give these bearings, counting the ones still running?

    Reliability & Survival › Reliability › Censored Weibull Reliability (Life-Data) Fit. In Time to failure or end of follow-up, choose hours. In Failed? (1 = failed, 0 = still running), choose failed. Then press Run analysis.

    Help for Censored Weibull Reliability (Life-Data) Fit

Defects per Lot

40 rows, 5 columns. Load it: Data › Sample data › Defects per Lot.

Source: Invented by KernelStats for the Quality menu: made-up lots, not a real factory. On 2026-11-11 the defect totals of lots L007 and L019 were raised (to 16 and 14) so that no lot has fewer defects than defective units.

A made-up inspection of 40 production lots on two shifts. The lots differ in size; for each, the inspectors counted the defective units and the total number of defects (one unit can have several). Each row is a lot. The lots differ from one another far more than chance alone would make them; the third question below shows why that matters: a model that ignores it is much too sure of the shift difference (p ≈ .0005), while one that allows for it gives only weak evidence (p = .056).

Columns of Defects per Lot
ColumnWhat it isUnit
lotLot label (L001 to L040)none
shiftShift that made the lot: Day or Nightnone
lot_sizeUnits inspected in the lotunits
defective_unitsUnits with at least one defectunits
defects_totalAll defects found in the lotdefects

Left in on purpose:

  • Lots 31 to 33 run high on purpose, so the charts have something to flag.
  • The lots differ in size, so compare shares or rates, not raw counts.

Three questions to start with:

  1. Is the share of defective units stable from lot to lot?

    Quality › Attributes Charts › p-Chart (Fraction Nonconforming). In Defective items per subgroup, choose defective_units. In Items inspected per subgroup (optional), choose lot_size. Then press Run analysis.

    Help for p-Chart (Fraction Nonconforming)

  2. Is the number of defects per unit stable from lot to lot?

    Quality › Attributes Charts › u-Chart (Defects per Unit). In Defects counted, choose defects_total. In Area or units inspected (optional), choose lot_size. Then press Run analysis.

    Help for u-Chart (Defects per Unit)

  3. Do night-shift lots have a different defect rate from day-shift lots?

    Regression › Counts & Categorical › Negative Binomial Regression. The lots vary much more than a Poisson model allows (lots 31 to 33 run high), so this model lets the counts spread more. In Count to predict, choose defects_total. In Columns that may explain it, choose shift. In Exposure (time at risk) (optional), choose lot_size. Then press Run analysis. Read the headline: night lots' defect rate per unit is 0.80 times the day rate (95% CI 0.64 to 1.00), and the likelihood-ratio test gives p = .056, weak evidence of a difference (the Night row of the table shows .051, a different test of the same question). Then run Poisson Regression with the same inputs: its much smaller p-value (.0005) cannot be trusted, because the counts vary more than Poisson allows.

    Help for Negative Binomial Regression

Fill Weights

150 rows, 3 columns. Load it: Data › Sample data › Fill Weights.

Source: Invented by KernelStats for the Quality menu: a made-up bottling line, not a real factory.

A made-up bottling line, weighed in 30 subgroups of 5 bottles. The bottles should hold 500 g, with a specification of 496 g to 504 g; every so often five are taken off the line and weighed. Each row is one bottle.

Columns of Fill Weights
ColumnWhat it isUnit
subgroupWhich sampling round the bottle came from (1 to 30)none
sampleBottle number within the subgroup (1 to 5)none
fill_weight_gWeight of the filled contentsgrams

Left in on purpose:

  • The average fill steps up partway through, from subgroup 21 on, so the control chart has a shift to find.
  • Because the process shifts, a capability number for the whole run mixes two different processes.

Three questions to start with:

  1. Is the filling process stable over time?

    Quality › Variables Charts › X̄-R Chart (Means & Ranges). In What you measured (a number column), choose fill_weight_g. In Subgroups (optional), choose subgroup. Then press Run analysis.

    Help for X̄-R Chart (Means & Ranges)

  2. Can the line meet the 496 g to 504 g specification?

    Quality › Capability › Process Capability (Cp / Cpk / Pp / Ppk). In What you measured (a number column), choose fill_weight_g. In Subgroups (optional), choose subgroup. In Lower spec limit (LSL), type 496. In Upper spec limit (USL), type 504. The control chart above shows the shift at subgroup 21: these numbers describe the two processes mixed together. Then press Run analysis.

    Help for Process Capability (Cp / Cpk / Pp / Ppk)

  3. What does the spread of fill weights look like?

    Graphs › Distribution › Histogram. In Column to plot, choose fill_weight_g. Then press Run analysis.

    Help for Histogram

Gage Study

60 rows, 4 columns. Load it: Data › Sample data › Gage Study.

Source: Invented by KernelStats for the Quality menu: made-up parts and operators.

A made-up gauge study: three operators each measured ten parts twice. Before trusting a gauge, a plant checks it this way. Each row is one measurement. The question is how much of the spread comes from the measuring rather than from real differences between parts.

Columns of Gage Study
ColumnWhat it isUnit
partThe part measured (P01 to P10)none
operatorWho measured it: Operator A, B or Cnone
trialFirst or second measurement of that part by that operatornone
measurement_mmMeasured dimensionmillimeters

Left in on purpose:

  • A small, complete design (10 parts, 3 operators, 2 trials, no gaps): real studies often have missing trials.

Three questions to start with:

  1. How much of the variation comes from the gauge and the operators?

    Quality › MSA › Gage R&R (Measurement Systems Analysis). In What you measured (a number column), choose measurement_mm. In Parts measured, choose part. In Operators, choose operator. Then press Run analysis.

    Help for Gage R&R (Measurement Systems Analysis)

  2. Do the three operators read differently?

    Graphs › Distribution › Boxplot. In Column to plot, choose measurement_mm. In Split by (optional), choose operator. Then press Run analysis.

    Help for Boxplot

  3. How much do the parts differ from each other?

    Analyze › Describe › Descriptive Summary. In Columns to describe, choose measurement_mm. In Split by (optional), choose part. Then press Run analysis.

    Help for Descriptive Summary

What you should see

The sample open as a table, its size in the table toolbar (for example 344 rows × 8 cols for Penguins), and after a starter question its Result Card on the Results tab.

Common problems

Two identical tables appeared.

Choosing the same sample twice opens a second copy. Close the extra tab with its ×.

A column is not offered in the form.

The form lists only columns whose type suits the field. Check the column’s type in Data > Column Properties….

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • Summarize this dataset.
  • Which analysis should I run to compare two groups?

Last reviewed November 16, 2026.

Report an unclear step