Analysis · 3 steps

Choose an analysis

Answer up to three plain questions about what you want to find out, and get the analysis, its menu and the data it needs.

What do you want to find out?

Click the answer that fits your question. Each answer opens the next question; three clicks or fewer reach an analysis, with where it is in the menus, what your data must look like and what to use if your data are different.

Start What do you want to find out?

  • Describe my dataWhat is typical, how spread out it is, anything odd.

    What do you want to see?

    • A first look at every column, with charts and anything unusual

      Exploratory Data Analysis (EDA)

      This answers: what is in this table, what is typical in each column, and what looks unusual?

      In the menus Analyze › Describe › Exploratory Data Analysis (EDA)

      What your data look like (three rows)
      speciesbill_length_mmbody_mass_g
      Adelie39.13750
      Gentoo46.14500
      Chinstrap46.53500

      In the form: Choose the columns to look at; a group column is optional.

      If your data are different: For one table of numbers instead of charts, use Descriptive Summary. Descriptive Summary: Analyze › Describe › Descriptive Summary.

    • A table of averages, spreads and missing values, for all rows or by group

      Descriptive Summary

      This answers: what is the average, the spread, the smallest and largest value and how many are missing, in each column?

      In the menus Analyze › Describe › Descriptive Summary

      What your data look like (three rows)
      speciesbody_mass_g
      Adelie3750
      Adelie3800
      Gentoo4500

      In the form: Choose one or more columns; put a category in Group By for one summary per group.

      If your data are different: The median and the quartiles on the card are less affected by a few extreme values than the mean and the SD.

    • How many rows fall in each category

      Frequency Table

      This answers: how many rows, and what percentage, fall in each category?

      In the menus Analyze › Describe › Frequency Table

      What your data look like (three rows)
      island
      Biscoe
      Dream
      Biscoe

      In the form: Choose one category column.

      If your data are different: For two categories at once, use Contingency Table (Crosstab). Contingency Table (Crosstab): Analyze › Categorical › Contingency Table (Crosstab).

      • Pie Chart (Graphs › Categorical › Pie Chart): Shares of a whole as a pie; a bar chart is easier to compare when there are many categories or the shares are close.
    • Totals, averages or counts by group, or by month

      Summarize by group

      This answers: what is the total, average or count for each group, or for each day, month or year?

      In the menus Data › Tools › Summarize by group…

      What your data look like (three rows)
      datestoresales
      2024-01-03North112
      2024-01-04South98
      2024-02-01North131

      In the form: Under Group by, choose the group columns (for a date column, the period: day, week, month, quarter or year); under Summarize, choose the columns and what to compute for each. Make the table opens the result as a new table; the original stays as it is.

      If your data are different: For averages and spreads with a card and a chart instead of a new table, Descriptive Summary with Group By. Descriptive Summary: Analyze › Describe › Descriptive Summary.

    • The shape of one number column

      Histogram

      This answers: where do most values sit, is the shape lopsided, and are there values far from the rest?

      In the menus Graphs › Distribution › Histogram

      What your data look like (three rows)
      flipper_length_mm
      181
      186
      217

      In the form: Choose one number column.

      If your data are different: To compare the shape across groups, use Boxplot with a group column. Boxplot: Graphs › Distribution › Boxplot.

      • Density Plot (Graphs › Distribution › Density Plot): A smooth outline of the same shape, without the choice of bins.
    • Whether a number column is close to a normal (bell-shaped) curve

      Normality Test (Battery)

      This answers: is there strong evidence that this column is not shaped like a normal curve?

      In the menus Analyze › Assumptions › Normality Test (Battery)

      What your data look like (three rows)
      body_mass_g
      3750
      3800
      4500

      In the form: Choose one number column.

      If your data are different: Look at the Q-Q plot on the card as well as the p-values: with many rows small departures get flagged, and with few rows large ones can be missed. For a t-test or ANOVA, it is the values within each group (or the residuals of a model) that matter, not the whole column.

      • Q-Q Plot (Graphs › Distribution › Q-Q Plot): The Q-Q plot on its own: points close to the line mean the values are close to a normal curve.
    • How several number columns relate to each other, all at once

      Scatterplot Matrix

      This answers: how does each number column relate to each of the others, one small scatter plot per pair?

      In the menus Graphs › Bivariate › Scatterplot Matrix

      What your data look like (three rows)
      bill_length_mmflipper_length_mmbody_mass_g
      39.11813750
      46.51923500
      46.12114500

      In the form: Choose three or more number columns.

      If your data are different: For the strength of each pair as a number, Correlation Matrix. Correlation Matrix: Analyze › Correlation › Correlation Matrix.

  • Compare groupsIs one group higher, or more often yes, than another, or than a target such as one half?

    What did you measure on each person or item?

    • A numberA weight, a score, a price, a rating from 1 to 5, or a time (for times when some have not had the event yet, choose 'How long until something happens' below).

      How are the groups made?

      • One group, against a target or a known value

        One-Sample t-Test

        This answers: is the average of this column different from a target value you set before looking?

        In the menus Analyze › Means › One-Sample t-Test

        What your data look like (three rows)
        fill_weight_g
        499.99
        498.38
        500.41

        In the form: Choose the number column in What you measured, and type the target in Value to compare with (μ₀).

        If your data are different: Rank-based alternative: Wilcoxon Signed-Rank Test with only First measurement chosen, and the target typed in Value to compare with. Use it when there are few rows and a few extreme values, and the values are roughly symmetric about their middle: it then tests the median. On clearly lopsided values it no longer tests the median; with enough rows the t-test on the mean is the safer choice. Wilcoxon Signed-Rank Test: Analyze › Nonparametric › Wilcoxon Signed-Rank Test.

        • Sign Test (Analyze › Nonparametric › Sign Test): For clearly lopsided values: it tests the median without assuming the values are symmetric. Choose the column in What you measured only, and type the target in Median to compare with.
      • One group, against a target, when the true standard deviation is known from outside your dataRare: a long-run process value, not one computed from these rows.

        One-Sample z-Test

        This answers: is the average of this column different from a target, when the population's standard deviation is known in advance?

        In the menus Analyze › Means › One-Sample z-Test

        What your data look like (three rows)
        fill_weight_g
        499.99
        498.38
        500.41

        In the form: Choose the number column, then type Value to compare with and the Known standard deviation.

        If the standard deviation comes from these same rows, it is not known in advance: use the One-Sample t-Test.

        If your data are different: If there are few rows and a few extreme values, and the values are roughly symmetric about their middle: Wilcoxon Signed-Rank Test, with only the first column chosen and the target typed in. In most studies the One-Sample t-Test is the right choice. Wilcoxon Signed-Rank Test: Analyze › Nonparametric › Wilcoxon Signed-Rank Test.

        • One-Sample t-Test (Analyze › Means › One-Sample t-Test): When the standard deviation is estimated from the data.
        • Sign Test (Analyze › Nonparametric › Sign Test): For clearly lopsided values: it tests the median without assuming symmetry. Choose the column in What you measured only, and type the target in Median to compare with.
      • Two separate groups, with different people or items in each

        Two-Sample t-Test

        This answers: is the average different between two separate groups, and by how much?

        In the menus Analyze › Means › Two-Sample t-Test

        What your data look like (three rows)
        sexbody_mass_g
        male3750
        female3800
        female3250

        In the form: Choose the number column in What you measured, and a column with exactly two kinds in The two groups. A column with more kinds: filter the table to two of them first, or use One-Way ANOVA.

        Welch's version is the default (Assume equal spreads? is off). It does not need the two groups to have the same spread, so keep it. If the rows are days or other times in sequence (for example sales before and after a change), neighboring days are alike (weekdays, trends), which the test does not allow for: look at them on a Line Chart first, and remember that a before/after difference does not show what caused it.

        If your data are different: Rank-based alternative: Mann-Whitney U Test, on the same two columns. Use it when the values are lopsided or have extreme outliers and the groups are small, or when the values are ratings on a short scale (1 to 5) or ranks. Mann-Whitney U Test: Analyze › Nonparametric › Mann-Whitney U Test.

      • The same people or items, each measured twice (each one before and after, or matched pairs)Different people or days before and after are two separate groups.

        Paired t-Test

        This answers: did the same people or items change on average between two occasions, and by how much?

        In the menus Analyze › Means › Paired t-Test

        What your data look like (three rows)
        studentscore_beforescore_after
        S016270
        S025558
        S037169

        In the form: One row per person, one column per occasion: choose the before column and the after column.

        Two separate groups of different people are not paired, even when the groups have the same size: use the Two-Sample t-Test for those.

        If your data are different: Rank-based alternative: Wilcoxon Signed-Rank Test, with both columns chosen. Use it when there are few pairs and a few extreme differences, and the differences are roughly symmetric about their middle: it then tests the median difference. On clearly lopsided differences it no longer tests the median. Wilcoxon Signed-Rank Test: Analyze › Nonparametric › Wilcoxon Signed-Rank Test.

        • Sign Test (Analyze › Nonparametric › Sign Test): For clearly lopsided differences: it tests the median difference without assuming symmetry. Choose the first column in What you measured and the second in Second measurement (optional).
      • Three or more separate groups

        One-Way ANOVA

        This answers: do the averages differ across three or more separate groups, and which pairs of groups differ?

        In the menus Analyze › Means › One-Way ANOVA

        What your data look like (three rows)
        speciesbody_mass_g
        Adelie3750
        Chinstrap3500
        Gentoo4500

        In the form: Choose the number column in What you measured and the group column in The groups.

        If the groups' spreads look different (the boxplot, or the equal-variance check on the card), set Which version (Test) to Welch's ANOVA and Which pairs differ (Post-hoc test) to Games-Howell. Both allow unequal spreads.

        If your data are different: Rank-based alternative: Kruskal-Wallis Test, on the same two columns. Use it when the values are lopsided or have extreme outliers and the groups are small, or when the values are ratings on a short scale (1 to 5) or ranks. Kruskal-Wallis Test: Analyze › Nonparametric › Kruskal-Wallis Test.

      • The same people or items measured three or more times

        Repeated-Measures ANOVA

        This answers: do the averages differ across three or more occasions measured on the same people or items?

        In the menus Analyze › Means › Repeated-Measures ANOVA

        What your data look like (three rows)
        studentweekscore
        S01week 162
        S01week 266
        S01week 370

        In the form: One row per person per occasion: choose the person column, the occasion column and the value column.

        If your data are different: Rank-based alternative: Friedman Test, the better choice for ratings such as pain on a 0 to 10 scale. It takes the other layout, one row per person and one column per occasion; Data > Recipes… reshapes a table between the two (melt, pivot). Friedman Test: Analyze › Nonparametric › Friedman Test.

      • Two grouping columns at once (for example diet and sex)

        Two-Way (Factorial) ANOVA

        This answers: does the average differ by each of two grouping columns, and does the effect of one depend on the other?

        In the menus Analyze › Means › Two-Way (Factorial) ANOVA

        What your data look like (three rows)
        speciessexbody_mass_g
        Adeliemale3750
        Adeliefemale3800
        Gentoofemale4500

        In the form: Choose the number column and the two grouping columns.

        If your data are different: KernelStats has no rank-based two-way test. Read the residual checks on the card; with very lopsided values and small groups, say so when you report the result.

      • Whether two groups differ in spread, not in average

        Two Variances F-Test

        This answers: is the spread (variance) different between two separate groups, and by what ratio?

        In the menus Analyze › Assumptions › Two Variances F-Test

        What your data look like (three rows)
        machinefill_weight_g
        A499.99
        B498.38
        A500.41

        In the form: Choose the number column and a group column with exactly two kinds.

        The F-test is very sensitive to values that are not close to a normal curve.

        If your data are different: Robust alternative: Equal Variances Test, which uses the Brown-Forsythe test by default; it does not need the values to be close to a normal curve and works for two or more groups. Equal Variances Test: Analyze › Assumptions › Equal Variances Test.

    • A yes/no or a categorySurvived or not, passed or failed, a color, a grade.

      How are the groups made?

      • One group, against a target share (for example: is it more than half?)

        Proportion Test (z-test)

        This answers: is the share of yes in this group different from a target share you set before looking?

        In the menus Analyze › Categorical › Proportion Test (z-test)

        What your data look like (three rows)
        flip
        heads
        tails
        heads

        In the form: Set Kind of test (Test type) to "one_proportion" and choose the column. In Value to count, choose the answer whose share you are testing (for example heads). Type the target share in Proportion to compare with (p₀), for example 0.5. To ask "more than" rather than "different from", set What you expect (Alternative) to greater, and decide that before you look at the data. If you have only totals (37 heads in 60 flips), leave the column empty and type them in Successes, one group and Total, one group.

        If your data are different: With fewer than about 10 yes or 10 no answers, read the exact binomial test that the card lists under its alternative tests.

      • Two separate groups, and the answer is yes or no

        Proportion Test (z-test)

        This answers: is the share of yes different between two separate groups, and by how much?

        In the menus Analyze › Categorical › Proportion Test (z-test)

        What your data look like (three rows)
        SexSurvived
        female1
        male0
        male1

        In the form: Choose the yes/no column and a group column with exactly two kinds; in Value to count, choose the answer whose share you are comparing (for example 1 for survived). What you expect (Alternative) stays at two-sided unless you decided a direction before looking at the data.

        If your data are different: With fewer than about 10 yes or 10 no answers in a group, read Fisher's exact test, which the card lists under its alternative tests.

      • Two or more groups, and the answer has two or more categories

        Contingency Table (Crosstab)

        This answers: do the shares of one category differ across the kinds of another, with the counts and percentages in one table?

        In the menus Analyze › Categorical › Contingency Table (Crosstab)

        What your data look like (three rows)
        islandspecies
        BiscoeGentoo
        DreamChinstrap
        TorgersenAdelie

        In the form: Choose one category for the rows and one for the columns (the test is the same either way round; the row percentages describe each row's group); the card gives the table and the chi-square test of independence.

        If your data are different: When the table is 2×2 and some expected counts are below 5, read Fisher's exact test on the same card. For a larger table with expected counts below 5, combine categories that belong together; KernelStats has no exact test for tables larger than 2×2. When both columns are ordered (ratings by grade), the chi-square test ignores the order; Spearman or Kendall in Correlation Matrix uses it.

      • The same people answered yes or no twice (before and after)

        McNemar's Test

        This answers: did the share of yes change between two occasions for the same people?

        In the menus Analyze › Nonparametric › McNemar's Test

        What your data look like (three rows)
        personbeforeafter
        P01noyes
        P02yesyes
        P03nono

        In the form: One row per person: choose the column in Before (yes/no) and the column in After (yes/no).

        If your data are different: Test method auto already uses the exact test when fewer than 25 people changed their answer; set exact to force it.

      • One category column, against the shares you expected (equal shares, or 9:3:3:1)

        Chi-Square Goodness-of-Fit Test

        This answers: do the counts in each category differ from the shares you expected?

        In the menus Analyze › Categorical › Chi-Square Goodness-of-Fit Test

        What your data look like (three rows)
        color
        red
        green
        red

        In the form: Choose the category column; leave Compare with (Expected distribution) at uniform for equal shares, or choose proportions and type the expected shares.

        If your data are different: When some expected counts are below 5, the p-value is rough; combining small categories that belong together helps. KernelStats has no exact test for more than two categories.

    • How long until something happens, when for some it has not happened yetTime to failure, to relapse, to leaving.

      Kaplan-Meier Survival Curve

      This answers: do the groups differ in how long until the event, counting the items still waiting?

      In the menus Reliability & Survival › Survival › Kaplan-Meier Survival Curve

      What your data look like (three rows)
      hoursfailedlubricant
      2000.00Standard
      142.91Standard
      1650.21Synthetic

      In the form: Choose the time column in Time to event, the event column in Event happened? (1 = yes, 0 = censored) and the group column in Compare curves by; the card gives each group's curve, its median and the log-rank test.

      Never compare the times with a t-test when some items have not had the event yet: their times are only lower limits.

      If your data are different: To adjust for other columns, or to give the difference as a hazard ratio, Cox Proportional-Hazards Regression. Cox Proportional-Hazards Regression: Reliability & Survival › Survival › Cox Proportional-Hazards Regression.

  • See whether two things go togetherDo taller people weigh more? Does the island go with the species?

    What kind of columns are the two things?

    • Both are numbersFlipper length and body mass.

      Correlation Matrix

      This answers: how strongly do two or more number columns rise and fall together?

      In the menus Analyze › Correlation › Correlation Matrix

      What your data look like (three rows)
      flipper_length_mmbody_mass_g
      1813750
      1863800
      2174500

      In the form: Choose two or more number columns.

      Going together is not the same as one causing the other.

      If your data are different: Rank-based alternative: set Kind of correlation (Method) to spearman, or kendall, on the same form. Use it when the pattern curves but keeps going one way, or when a few extreme values pull the line.

      • Scatter Plot (Graphs › Bivariate › Scatter Plot): Look at the points first: a curve or a few far-off points change what a correlation means.
    • Both are categoriesIsland and species.

      Contingency Table (Crosstab)

      This answers: do the shares of one category differ across the kinds of another, with the counts and percentages in one table?

      In the menus Analyze › Categorical › Contingency Table (Crosstab)

      What your data look like (three rows)
      islandspecies
      BiscoeGentoo
      DreamChinstrap
      TorgersenAdelie

      In the form: Choose one category for the rows and one for the columns (the test is the same either way round; the row percentages describe each row's group); the card gives the table and the chi-square test of independence.

      If your data are different: When the table is 2×2 and some expected counts are below 5, read Fisher's exact test on the same card. For a larger table with expected counts below 5, combine categories that belong together; KernelStats has no exact test for tables larger than 2×2. When both columns are ordered (ratings by grade), the chi-square test ignores the order; Spearman or Kendall in Correlation Matrix uses it.

    • One number and one categoryThis is a comparison of groups: the category makes the groups.

      How are the groups made?

      • Two separate groups, with different people or items in each

        Two-Sample t-Test

        This answers: is the average different between two separate groups, and by how much?

        In the menus Analyze › Means › Two-Sample t-Test

        What your data look like (three rows)
        sexbody_mass_g
        male3750
        female3800
        female3250

        In the form: Choose the number column in What you measured, and a column with exactly two kinds in The two groups. A column with more kinds: filter the table to two of them first, or use One-Way ANOVA.

        Welch's version is the default (Assume equal spreads? is off). It does not need the two groups to have the same spread, so keep it. If the rows are days or other times in sequence (for example sales before and after a change), neighboring days are alike (weekdays, trends), which the test does not allow for: look at them on a Line Chart first, and remember that a before/after difference does not show what caused it.

        If your data are different: Rank-based alternative: Mann-Whitney U Test, on the same two columns. Use it when the values are lopsided or have extreme outliers and the groups are small, or when the values are ratings on a short scale (1 to 5) or ranks. Mann-Whitney U Test: Analyze › Nonparametric › Mann-Whitney U Test.

      • Three or more separate groups

        One-Way ANOVA

        This answers: do the averages differ across three or more separate groups, and which pairs of groups differ?

        In the menus Analyze › Means › One-Way ANOVA

        What your data look like (three rows)
        speciesbody_mass_g
        Adelie3750
        Chinstrap3500
        Gentoo4500

        In the form: Choose the number column in What you measured and the group column in The groups.

        If the groups' spreads look different (the boxplot, or the equal-variance check on the card), set Which version (Test) to Welch's ANOVA and Which pairs differ (Post-hoc test) to Games-Howell. Both allow unequal spreads.

        If your data are different: Rank-based alternative: Kruskal-Wallis Test, on the same two columns. Use it when the values are lopsided or have extreme outliers and the groups are small, or when the values are ratings on a short scale (1 to 5) or ranks. Kruskal-Wallis Test: Analyze › Nonparametric › Kruskal-Wallis Test.

      • Two grouping columns at once (for example diet and sex)

        Two-Way (Factorial) ANOVA

        This answers: does the average differ by each of two grouping columns, and does the effect of one depend on the other?

        In the menus Analyze › Means › Two-Way (Factorial) ANOVA

        What your data look like (three rows)
        speciessexbody_mass_g
        Adeliemale3750
        Adeliefemale3800
        Gentoofemale4500

        In the form: Choose the number column and the two grouping columns.

        If your data are different: KernelStats has no rank-based two-way test. Read the residual checks on the card; with very lopsided values and small groups, say so when you report the result.

      • Whether two groups differ in spread, not in average

        Two Variances F-Test

        This answers: is the spread (variance) different between two separate groups, and by what ratio?

        In the menus Analyze › Assumptions › Two Variances F-Test

        What your data look like (three rows)
        machinefill_weight_g
        A499.99
        B498.38
        A500.41

        In the form: Choose the number column and a group column with exactly two kinds.

        The F-test is very sensitive to values that are not close to a normal curve.

        If your data are different: Robust alternative: Equal Variances Test, which uses the Brown-Forsythe test by default; it does not need the values to be close to a normal curve and works for two or more groups. Equal Variances Test: Analyze › Assumptions › Equal Variances Test.

    • Two numbers, with a third number held fixed

      Partial Correlation

      This answers: do two number columns still go together once a third number column is held fixed?

      In the menus Analyze › Correlation › Partial Correlation

      What your data look like (three rows)
      mpghpwt
      21.01102.620
      22.8932.320
      18.71753.440

      In the form: Choose the two columns in Columns to relate, and the column to hold fixed in Columns to hold constant.

      If your data are different: Linear Regression with both predictors gives the same idea as a slope in the units of the outcome. Linear Regression: Regression › Essentials › Linear Regression.

    • How well two raters or two measuring methods agree

      Not in KernelStats: KernelStats does not have Cohen's kappa or a Bland-Altman analysis, the usual ways to measure agreement.

      Nearest analysis: Contingency Table (Crosstab)

      The nearest analysis: a crosstab of rater A against rater B shows how often they gave the same category. It does not give a kappa.

      In the menus Analyze › Categorical › Contingency Table (Crosstab)

      What your data look like (three rows)
      rater_arater_b
      mildmild
      severemild
      mildmild

      In the form: Choose rater A for the rows and rater B for the columns; the cases they agree on lie on the diagonal.

      If your data are different: A chi-square test on this table asks whether the raters are associated, not whether they agree: read the diagonal instead.

      • Paired t-Test (Analyze › Means › Paired t-Test): For two measuring methods on the same items: the average difference between the methods. It is not a full agreement analysis, and a correlation is not one either.
  • Predict or explain one thing from othersPrice from size and quality; passing from hours studied.

    What are you predicting or explaining?

    • A numberA price, a score, a weight.

      Linear Regression

      This answers: how much does the outcome change, on average, with each predictor, holding the others fixed?

      In the menus Regression › Essentials › Linear Regression

      What your data look like (three rows)
      pricecaratcut
      3260.23Ideal
      3340.29Premium
      27570.75Ideal

      In the form: Choose the number to predict in What you want to predict or explain, and one or more columns in Columns that may explain it.

      On data you observed rather than set in an experiment, a slope is an association, not proof that the predictor causes the change.

      If your data are different: If the pattern curves, Polynomial Regression or Spline Regression. Polynomial Regression: Regression › Essentials › Polynomial Regression.

    • A yes/noBought or not, passed or not, survived or not.

      Logistic Regression

      This answers: how do the odds of yes change with each predictor, holding the others fixed?

      In the menus Regression › Essentials › Logistic Regression

      What your data look like (three rows)
      SurvivedSexAge
      0male22
      1female38
      1female26

      In the form: Choose the yes/no column in Yes/no outcome to predict, and one or more columns in Columns that may explain it.

      If your data are different: For an outcome with three or more categories, Multinomial Logistic Regression. Multinomial Logistic Regression: Regression › Counts & Categorical › Multinomial Logistic Regression.

    • A count of eventsDefects on a part, visits in a month.

      Poisson Regression

      This answers: how does the expected number of events change with each predictor, holding the others fixed?

      In the menus Regression › Counts & Categorical › Poisson Regression

      What your data look like (three rows)
      defects_totalshiftlot_size
      23Day271
      18Night246
      9Day198

      In the form: Choose the count in Count to predict and the columns that may explain it; when lots or watching times differ in size, put that size in Exposure.

      If your data are different: When the counts vary much more than the model expects (the card's overdispersion check), Negative Binomial Regression. Negative Binomial Regression: Regression › Counts & Categorical › Negative Binomial Regression.

    • One of three or more categoriesWhich species, which product.

      Multinomial Logistic Regression

      This answers: how do the chances of each category, against a reference category, change with each predictor?

      In the menus Regression › Counts & Categorical › Multinomial Logistic Regression

      What your data look like (three rows)
      speciesbill_length_mmflipper_length_mm
      Adelie39.1181
      Chinstrap46.5192
      Gentoo46.1211

      In the form: Choose the category column in Outcome and one or more predictors.

      If your data are different: When the categories have an order (low, medium, high), Ordinal Logistic Regression. Ordinal Logistic Regression: Regression › Counts & Categorical › Ordinal Logistic Regression.

    • How long until something happens, when for some it has not happened yet

      Cox Proportional-Hazards Regression

      This answers: how does the risk of the event at any moment change with each predictor, counting the items still waiting?

      In the menus Reliability & Survival › Survival › Cox Proportional-Hazards Regression

      What your data look like (three rows)
      hoursfailedlubricant
      2000.00Standard
      142.91Standard
      1650.21Synthetic

      In the form: Choose the time column, the event column (1 = it happened, 0 = not yet) and one or more predictors.

      If your data are different: Never drop the items still waiting, or treat their time as the time of the event: both bias the result.

      • Kaplan-Meier Survival Curve (Reliability & Survival › Survival › Kaplan-Meier Survival Curve): To draw the curves by group and compare them with the log-rank test.
  • Watch a processIs it stable over time, and can it meet the specification?

    What do you want to know about the process?

  • Forecast what comes nextA series measured over time: sales by month, temperature by day.

    What do you need?

  • Plan a studyHow many people or items do I need?

    What are you planning?

    • A survey or study to estimate one percentage or one average, to within a margin of errorFor example: what share of customers would recommend us, give or take 5 points.

      Sample Size for a Margin of Error

      This answers: how many people or items you need so that a percentage or an average is estimated to within the margin you choose.

      In the menus Analyze › Power & Corrections › Sample Size for a Margin of Error

      What your data look like (three rows)
      (no data needed)
      margin of error: ±5 points
      best guess of the percentage: 50 (if unsure)
      confidence: 95%

      In the form: Choose What to estimate (a percentage or a mean), type How close the estimate should be (±) and, for a percentage, your best guess of it (50 if unsure); for a mean, the spread of the measurement.

      At 95% confidence and a 50% guess, about 385 answers give plus or minus 5 points and about 1,068 give plus or minus 3 points, if the sample is random.

      If your data are different: More answers make an estimate more precise; they do not fix how the people were chosen. To compare groups instead, use Power & Sample Size. Power & Sample Size: Analyze › Power & Corrections › Power & Sample Size.

    • A comparison of groups, with a good chance of finding a difference that mattersFor example: two teaching methods, a new treatment against the old one.

      Power & Sample Size

      This answers: how many people or items you need to have a good chance of detecting a difference of the size that matters to you.

      In the menus Analyze › Power & Corrections › Power & Sample Size

      What your data look like (three rows)
      (no data needed)
      smallest difference that matters: 0.5 SD
      chance of detecting it (power): 0.80
      false-alarm rate (alpha): 0.05

      In the form: Choose Test you will use and What to work out (usually how many people or items), then type the smallest difference that would matter as a standardized effect size (for a t-test, the difference divided by the SD), the chance of detecting it and how strict to be.

      Choose the effect size from earlier studies or from the smallest difference that matters, not from the data you are about to analyze.

      If your data are different: To estimate one percentage or one average to within a margin of error (a poll or survey), use Sample Size for a Margin of Error instead. More data makes an estimate more precise; it does not fix how the people were chosen.

  • Find a probability or a critical valueThe chance of a z above 1.96; the t value for a 95% interval.

    Probability Calculator

    This answers: what is the chance of a value beyond a cut-off under a named distribution, or which cut-off leaves a given chance beyond it?

    In the menus Analyze › Describe › Probability Calculator

    What your data look like (three rows)
    (no data needed)
    normal, mean 0, SD 1
    value 1.96
    upper tail

    In the form: Choose the distribution and its parameters, then type a value to get a probability, or a probability to get the critical value. For a count (binomial, Poisson), 'above x' includes x: for at least 8 heads in 10, type 8.

    If your data are different: The p-value on a test's card already does this for its own statistic; use the calculator for textbook exercises and for planning.

Every answer at a glance

Your answers, the analysis they lead to and the alternative
Your answersAnalysis and where it isIf your data are different
Describe my data › A first look at every column, with charts and anything unusualExploratory Data Analysis (EDA)
Analyze › Describe › Exploratory Data Analysis (EDA)
Descriptive Summary
Describe my data › A table of averages, spreads and missing values, for all rows or by groupDescriptive Summary
Analyze › Describe › Descriptive Summary
The median and the quartiles on the card are less affected by a few extreme values than the mean and the SD.
Describe my data › How many rows fall in each categoryFrequency Table
Analyze › Describe › Frequency Table
Contingency Table (Crosstab)
Describe my data › Totals, averages or counts by group, or by monthSummarize by group
Data › Tools › Summarize by group…
Descriptive Summary
Describe my data › The shape of one number columnHistogram
Graphs › Distribution › Histogram
Boxplot
Describe my data › Whether a number column is close to a normal (bell-shaped) curveNormality Test (Battery)
Analyze › Assumptions › Normality Test (Battery)
Look at the Q-Q plot on the card as well as the p-values: with many rows small departures get flagged, and with few rows large ones can be missed. For a t-test or ANOVA, it is the values within each group (or the residuals of a model) that matter, not the whole column.
Describe my data › How several number columns relate to each other, all at onceScatterplot Matrix
Graphs › Bivariate › Scatterplot Matrix
Correlation Matrix
Compare groups › A number › One group, against a target or a known valueOne-Sample t-Test
Analyze › Means › One-Sample t-Test
Wilcoxon Signed-Rank Test
Compare groups › A number › One group, against a target, when the true standard deviation is known from outside your dataOne-Sample z-Test
Analyze › Means › One-Sample z-Test
Wilcoxon Signed-Rank Test
Compare groups › A number › Two separate groups, with different people or items in eachTwo-Sample t-Test
Analyze › Means › Two-Sample t-Test
Mann-Whitney U Test
Compare groups › A number › The same people or items, each measured twice (each one before and after, or matched pairs)Paired t-Test
Analyze › Means › Paired t-Test
Wilcoxon Signed-Rank Test
Compare groups › A number › Three or more separate groupsOne-Way ANOVA
Analyze › Means › One-Way ANOVA
Kruskal-Wallis Test
Compare groups › A number › The same people or items measured three or more timesRepeated-Measures ANOVA
Analyze › Means › Repeated-Measures ANOVA
Friedman Test
Compare groups › A number › Two grouping columns at once (for example diet and sex)Two-Way (Factorial) ANOVA
Analyze › Means › Two-Way (Factorial) ANOVA
KernelStats has no rank-based two-way test. Read the residual checks on the card; with very lopsided values and small groups, say so when you report the result.
Compare groups › A number › Whether two groups differ in spread, not in averageTwo Variances F-Test
Analyze › Assumptions › Two Variances F-Test
Equal Variances Test
Compare groups › A yes/no or a category › One group, against a target share (for example: is it more than half?)Proportion Test (z-test)
Analyze › Categorical › Proportion Test (z-test)
With fewer than about 10 yes or 10 no answers, read the exact binomial test that the card lists under its alternative tests.
Compare groups › A yes/no or a category › Two separate groups, and the answer is yes or noProportion Test (z-test)
Analyze › Categorical › Proportion Test (z-test)
With fewer than about 10 yes or 10 no answers in a group, read Fisher's exact test, which the card lists under its alternative tests.
Compare groups › A yes/no or a category › Two or more groups, and the answer has two or more categoriesContingency Table (Crosstab)
Analyze › Categorical › Contingency Table (Crosstab)
When the table is 2×2 and some expected counts are below 5, read Fisher's exact test on the same card. For a larger table with expected counts below 5, combine categories that belong together; KernelStats has no exact test for tables larger than 2×2. When both columns are ordered (ratings by grade), the chi-square test ignores the order; Spearman or Kendall in Correlation Matrix uses it.
Compare groups › A yes/no or a category › The same people answered yes or no twice (before and after)McNemar's Test
Analyze › Nonparametric › McNemar's Test
Test method auto already uses the exact test when fewer than 25 people changed their answer; set exact to force it.
Compare groups › A yes/no or a category › One category column, against the shares you expected (equal shares, or 9:3:3:1)Chi-Square Goodness-of-Fit Test
Analyze › Categorical › Chi-Square Goodness-of-Fit Test
When some expected counts are below 5, the p-value is rough; combining small categories that belong together helps. KernelStats has no exact test for more than two categories.
Compare groups › How long until something happens, when for some it has not happened yetKaplan-Meier Survival Curve
Reliability & Survival › Survival › Kaplan-Meier Survival Curve
Cox Proportional-Hazards Regression
See whether two things go together › Both are numbersCorrelation Matrix
Analyze › Correlation › Correlation Matrix
Rank-based alternative: set Kind of correlation (Method) to spearman, or kendall, on the same form. Use it when the pattern curves but keeps going one way, or when a few extreme values pull the line.
See whether two things go together › Both are categoriesContingency Table (Crosstab)
Analyze › Categorical › Contingency Table (Crosstab)
When the table is 2×2 and some expected counts are below 5, read Fisher's exact test on the same card. For a larger table with expected counts below 5, combine categories that belong together; KernelStats has no exact test for tables larger than 2×2. When both columns are ordered (ratings by grade), the chi-square test ignores the order; Spearman or Kendall in Correlation Matrix uses it.
See whether two things go together › One number and one category › Two separate groups, with different people or items in eachTwo-Sample t-Test
Analyze › Means › Two-Sample t-Test
Mann-Whitney U Test
See whether two things go together › One number and one category › Three or more separate groupsOne-Way ANOVA
Analyze › Means › One-Way ANOVA
Kruskal-Wallis Test
See whether two things go together › One number and one category › Two grouping columns at once (for example diet and sex)Two-Way (Factorial) ANOVA
Analyze › Means › Two-Way (Factorial) ANOVA
KernelStats has no rank-based two-way test. Read the residual checks on the card; with very lopsided values and small groups, say so when you report the result.
See whether two things go together › One number and one category › Whether two groups differ in spread, not in averageTwo Variances F-Test
Analyze › Assumptions › Two Variances F-Test
Equal Variances Test
See whether two things go together › Two numbers, with a third number held fixedPartial Correlation
Analyze › Correlation › Partial Correlation
Linear Regression
See whether two things go together › How well two raters or two measuring methods agreeNot in KernelStats; nearest: Contingency Table (Crosstab)
Analyze › Categorical › Contingency Table (Crosstab)
A chi-square test on this table asks whether the raters are associated, not whether they agree: read the diagonal instead.
Predict or explain one thing from others › A numberLinear Regression
Regression › Essentials › Linear Regression
Polynomial Regression
Predict or explain one thing from others › A yes/noLogistic Regression
Regression › Essentials › Logistic Regression
Multinomial Logistic Regression
Predict or explain one thing from others › A count of eventsPoisson Regression
Regression › Counts & Categorical › Poisson Regression
Negative Binomial Regression
Predict or explain one thing from others › One of three or more categoriesMultinomial Logistic Regression
Regression › Counts & Categorical › Multinomial Logistic Regression
Ordinal Logistic Regression
Predict or explain one thing from others › How long until something happens, when for some it has not happened yetCox Proportional-Hazards Regression
Reliability & Survival › Survival › Cox Proportional-Hazards Regression
Never drop the items still waiting, or treat their time as the time of the event: both bias the result.
Watch a process › Is it stable? I have one measurement at a timeI-MR Chart (Individuals & Moving Range)
Quality › Variables Charts › I-MR Chart (Individuals & Moving Range)
EWMA Chart (Exponentially Weighted Moving Average)
Watch a process › Is it stable? I measure small subgroups (for example 5 items an hour)X̄-R Chart (Means & Ranges)
Quality › Variables Charts › X̄-R Chart (Means & Ranges)
X̄-S Chart (Means & Std Devs)
Watch a process › Is it stable? I count the defective items in each lotp-Chart (Fraction Nonconforming)
Quality › Attributes Charts › p-Chart (Fraction Nonconforming)
np-Chart (Number Nonconforming)
Watch a process › Is it stable? I count the defects on each unit or lotu-Chart (Defects per Unit)
Quality › Attributes Charts › u-Chart (Defects per Unit)
c-Chart (Defect Count)
Watch a process › Can it meet the specification limits?Process Capability (Cp / Cpk / Pp / Ppk)
Quality › Capability › Process Capability (Cp / Cpk / Pp / Ppk)
Non-normal Capability (Percentile Method)
Watch a process › How much of the variation comes from the measuring itself?Gage R&R (Measurement Systems Analysis)
Quality › MSA › Gage R&R (Measurement Systems Analysis)
There is no rank-based version; the study design (each operator, each part, repeated) is what makes it work.
Watch a process › Just show me the values over timeLine Chart
Graphs › Bivariate › Line Chart
I-MR Chart (Individuals & Moving Range)
Forecast what comes next › A forecast that follows the trend and the seasonsExponential Smoothing
Time Series › Forecasting › Exponential Smoothing
ARIMA Forecast
Forecast what comes next › A forecast from an ARIMA modelARIMA Forecast
Time Series › Forecasting › ARIMA Forecast
Exponential Smoothing
Forecast what comes next › The series split into trend, seasonal pattern and the restSTL Decomposition
Time Series › Decomposition › STL Decomposition
Exponential Smoothing
Forecast what comes next › How each value relates to the values before itAutocorrelation (ACF and PACF)
Time Series › Autocorrelation › Autocorrelation (ACF and PACF)
ARIMA Forecast
Forecast what comes next › How accurate a forecast would have been on past dataForecast Backtest (Rolling-Origin)
Time Series › Forecasting › Forecast Backtest (Rolling-Origin)
Run it once per model and compare the errors before trusting either forecast.
Plan a study › A survey or study to estimate one percentage or one average, to within a margin of errorSample Size for a Margin of Error
Analyze › Power & Corrections › Sample Size for a Margin of Error
Power & Sample Size
Plan a study › A comparison of groups, with a good chance of finding a difference that mattersPower & Sample Size
Analyze › Power & Corrections › Power & Sample Size
To estimate one percentage or one average to within a margin of error (a poll or survey), use Sample Size for a Margin of Error instead. More data makes an estimate more precise; it does not fix how the people were chosen.
Find a probability or a critical valueProbability Calculator
Analyze › Describe › Probability Calculator
The p-value on a test's card already does this for its own statistic; use the calculator for textbook exercises and for planning.

Then run it

  1. Open the menu that fits your question

    Each answer above names its menu. The command menus group the methods by question: Analyze for describing, comparing and testing; Regression for outcome models; Multivariate & ML; Quality; DOE; Time Series; Reliability & Survival; and Graphs. Inside each menu, gray headings (such as Means or Essentials) group related methods.

  2. Fill in the form

    The form opens in a window over the workspace. Available columns lists the table’s columns with their types; each field (marked * when required) accepts only columns of a suitable type. Options have defaults. Press Run analysis.

  3. Read the Result Card

    The card opens on the Results tab with the interpretation first, then Key Results, charts and checks. Read a Result Card explains all four tabs.

What you should see

A Result Card on the Results tab. The form shrinks to a small chip, labeled with the analysis name, in the bottom-left corner.

Common problems

None of the answers fits.

Read every answer at a glance below the questions, or browse the analyses by menu.

Your data have a different layout from the three-row sketch.

The sketch shows one row per person or item. Reshape the table with Data > Recipes… (for example a melt or a pivot) before you run the analysis.

Escape closed the form and lost the choices.

Escape closes the whole form window, even when you meant to close a dropdown. Reopen it from the menu and choose again.

A column is not offered.

Check its type and modeling type in Data > Column Properties… rather than picking a different column.

Start with the question and design

Decide whether you are summarizing a variable, comparing groups, examining a relationship, predicting an outcome or monitoring a process. Determine whether observations are independent or paired, what each row represents and which columns are measurements or categories.

Use Analyze for common tests, Regression for outcome models, and the specialized Multivariate & ML, Quality, DOE, Time Series and Reliability & Survival menus as appropriate. Menu contents follow the available methods.

Complete the method’s form

Select the columns requested by the form and review its options. The column pickers restrict choices according to each method’s requirements. If a variable is absent, inspect its type and measurement setting instead of substituting a different column.

Press Run analysis. If the run fails, read the error in the analysis window, correct the input and run again. A method refusing unsuitable data is not a completed result.

Use all four card tabs

  • Results: inspect the estimate, available uncertainty measures, tables, charts and checks.
  • Learn More: read the purpose, assumptions, formulas and common misinterpretations.
  • Code: copy a generated Python, R, SAS or MATLAB example to your own environment. There is no in-app console for running that code.
  • Export: copy a supported representation or save the result for a report.

Write a qualified conclusion

A p-value is not the probability that the null hypothesis is true. Statistical significance does not establish practical importance or causation. Interpret the estimated size, uncertainty and study design together.

Read assumption statuses literally: a check that was not performed has not passed. Descriptive cards may have no hypothesis-test conclusion. If a warning changes the interpretation, carry that qualification into the report.

Understand the statistics

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • Which test should I use to compare two groups?
  • Should I use a paired or a two-sample t-test?
  • What is the rank-based alternative to one-way ANOVA?

Last reviewed November 16, 2026.

Report an unclear step