Step by step
Open the Sample data menu
Click Data; under Sample data choose a data set, for example Penguins. It opens as a new table.
Or pick one on the Welcome screen
Under Try a sample, click a tile.
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.
| Column | What it is | Unit |
|---|---|---|
species | Penguin species: Adelie, Chinstrap or Gentoo | none |
island | Island in the Palmer Archipelago: Biscoe, Dream or Torgersen | none |
bill_length_mm | Bill length | millimeters |
bill_depth_mm | Bill depth | millimeters |
flipper_length_mm | Flipper length | millimeters |
body_mass_g | Body mass | grams |
sex | Sex of the penguin: female or male | none |
year | Year 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:
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, choosesex. Keep the options as they are: Welch's version does not need the two groups to have the same spread. Then press Run analysis.Is flipper length related to body mass?
Analyze › Correlation › Correlation Matrix. In Columns to relate, choose
flipper_length_mmandbody_mass_g. Then press Run analysis.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, chooseisland. Then press Run analysis.
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.
| Column | What it is | Unit |
|---|---|---|
Survived | 1 = survived, 0 = died | none |
Pclass | Ticket class: 1 = first, 2 = second, 3 = third | none |
Name | Passenger's name, with the title used on the passenger list | none |
Sex | female or male, as recorded | none |
Age | Age; babies under one year have fractions, and an age ending in .5 was estimated in the original records | years |
Siblings/Spouses Aboard | Number of brothers, sisters, husbands or wives travelling with the passenger | people |
Parents/Children Aboard | Number of parents or children travelling with the passenger | people |
Fare | Price paid for the ticket; one ticket often covered a family, so it is not a price per person | pounds 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:
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), chooseSex. Keep Kind of test at two_proportion. Then press Run analysis.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, chooseSurvived. Then press Run analysis.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, chooseAgeandSex. Then press Run analysis.
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.
| Column | What it is | Unit |
|---|---|---|
mpg | Fuel economy | miles per US gallon |
cyl | Number of cylinders (4, 6 or 8) | none |
disp | Engine displacement | cubic inches |
hp | Gross horsepower | horsepower |
drat | Rear axle ratio | none |
wt | Weight | thousands of pounds |
qsec | Time to cover a quarter mile from a standing start | seconds |
vs | Engine shape: 0 = V-shaped, 1 = straight | none |
am | Transmission: 0 = automatic, 1 = manual | none |
gear | Number of forward gears | none |
carb | Number of carburetors | none |
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:
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, chooseam. am is 0 for automatic and 1 for manual. Then press Run analysis.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, choosewt. Then press Run analysis.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, choosecyl. In Which version, chooseWelch's ANOVA. In Which pairs differ (follow-up), chooseGames-Howell. Then press Run analysis.
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.
| Column | What it is | Unit |
|---|---|---|
rownames | Row number carried over from R; a label, not a measurement | none |
Ozone | Mean ozone from 1 pm to 3 pm, at Roosevelt Island | parts per billion |
Solar.R | Solar radiation from 8 am to noon, at Central Park | langleys |
Wind | Average wind speed at 7 am and 10 am, at LaGuardia Airport | miles per hour |
Temp | Highest temperature of the day, at LaGuardia Airport | degrees Fahrenheit |
Month | Month (5 = May to 9 = September) | none |
Day | Day of the month | none |
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:
Is ozone higher on hotter days?
Graphs › Bivariate › Scatter Plot. In Across (horizontal axis), choose
Temp. In Up (vertical axis), chooseOzone. Then press Run analysis.Does ozone differ from month to month?
Analyze › Nonparametric › Kruskal-Wallis Test. In What you measured, choose
Ozone. In The groups, chooseMonth. Ozone readings are lopsided (a few very high days), which is why this rank-based test is used here. Then press Run analysis.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.
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.
| Column | What it is | Unit |
|---|---|---|
carat | Weight of the diamond | carats |
cut | Quality of the cut: Fair, Good, Very Good, Premium, Ideal (best) | none |
color | Color grade from D (best) to J (worst) | none |
clarity | Clarity grade: I1 (worst), SI2, SI1, VS2, VS1, VVS2, VVS1, IF (best) | none |
depth | Total depth as a percentage of the average width: 2 × z / (x + y) | percent |
table | Width of the top of the diamond relative to its widest point | percent |
price | Price | US dollars |
x | Length | millimeters |
y | Width | millimeters |
z | Depth | millimeters |
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:
How is price related to weight in carats?
Graphs › Bivariate › Scatter Plot. In Across (horizontal axis), choose
carat. In Up (vertical axis), chooseprice. Then press Run analysis.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, choosecut. Then press Run analysis. Then run the same test with carat in What you measured: the best cuts are the smallest stones.How many diamonds are there of each cut grade?
Analyze › Describe › Frequency Table. In Column to count, choose
cut. Then press Run analysis.
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.
| Column | What it is | Unit |
|---|---|---|
unit | Bearing on the test rig (B01 to B60) | none |
lubricant | Lubricant the bearing ran with: Standard or Synthetic | none |
load_kn | Load applied during the test | kilonewtons |
hours | Hours to failure, or to the end of observation for a bearing that did not fail | hours |
failed | 1 = 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:
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), choosefailed. In Compare curves by (optional), chooselubricant. Then press Run analysis.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), choosefailed. In Columns that may explain it, chooselubricantandload_kn. Then press Run analysis.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), choosefailed. Then press Run analysis.
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).
| Column | What it is | Unit |
|---|---|---|
lot | Lot label (L001 to L040) | none |
shift | Shift that made the lot: Day or Night | none |
lot_size | Units inspected in the lot | units |
defective_units | Units with at least one defect | units |
defects_total | All defects found in the lot | defects |
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:
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), chooselot_size. Then press Run analysis.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), chooselot_size. Then press Run analysis.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, chooseshift. In Exposure (time at risk) (optional), chooselot_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.
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.
| Column | What it is | Unit |
|---|---|---|
subgroup | Which sampling round the bottle came from (1 to 30) | none |
sample | Bottle number within the subgroup (1 to 5) | none |
fill_weight_g | Weight of the filled contents | grams |
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:
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), choosesubgroup. Then press Run analysis.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), choosesubgroup. 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.What does the spread of fill weights look like?
Graphs › Distribution › Histogram. In Column to plot, choose
fill_weight_g. Then press Run analysis.
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.
| Column | What it is | Unit |
|---|---|---|
part | The part measured (P01 to P10) | none |
operator | Who measured it: Operator A, B or C | none |
trial | First or second measurement of that part by that operator | none |
measurement_mm | Measured dimension | millimeters |
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:
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, choosepart. In Operators, chooseoperator. Then press Run analysis.Do the three operators read differently?
Graphs › Distribution › Boxplot. In Column to plot, choose
measurement_mm. In Split by (optional), chooseoperator. Then press Run analysis.How much do the parts differ from each other?
Analyze › Describe › Descriptive Summary. In Columns to describe, choose
measurement_mm. In Split by (optional), choosepart. Then press Run analysis.
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.
