Gauth

Statistics

Statistics Solver with Step-by-Step Answers

Descriptive statistics, probability, confidence intervals, and hypothesis tests with the formula chosen out loud and the arithmetic shown.

Solve a statistics problem now

First solution free

Statistics is the subject where the arithmetic is easy and the choices are hard. Whether to divide by or , whether the samples are paired, whether the question is asking for the spread of the data or the spread of the sample mean — those decisions determine the answer far more than the computation that follows. Solutions here state the decision and the reason before touching the numbers.

Paste raw data, summary statistics, or a photographed table. Say whether your numbers are a sample or a whole population; if you do not, the solution assumes a sample and says so, since that is the usual case in coursework and it is the conservative assumption.

What this solver handles

  • Mean, median, mode, range, quartiles, interquartile range, and outliers by the 1.5 IQR rule.
  • Sample and population standard deviation, with the full table of deviations rather than a single number.
  • Variance, coefficient of variation, and z-scores for comparing values from different distributions.
  • Probability: addition and multiplication rules, conditional probability, independence, Bayes, permutations, and combinations.
  • Binomial, Poisson, and normal distributions, including normal approximation and continuity correction.
  • Sampling distributions, the central limit theorem, and the standard error that follows from it.
  • Confidence intervals for a mean, a proportion, and a difference between two of either.
  • Hypothesis tests: z, t, paired t, and chi-square, with p-values and a conclusion in context.
  • Correlation and least-squares regression lines, with residuals and the meaning of r squared.

Three facts cannot be inferred from your numbers and change the answer if you leave them out: whether the data is a sample or a whole population, whether the test is one-tailed or two-tailed, and what significance level your course works at. State all three. It is also worth saying whether you are expected to use tables or a calculator, because a table-based answer is rounded at a different point and the two can straddle a critical value.

Three problems, worked

Worked example

  1. 1

    Add the values and divide by how many there are. Six values summing to 108.

  2. 2

    Subtract the mean from each value. These deviations always sum to zero, which is a free check on your arithmetic — and the reason they have to be squared before averaging.

  3. 3

    Square each deviation and total them.

  4. 4

    This is a sample, so divide by n − 1 rather than n. The result is the sample variance.

  5. 5

    Take the square root to return to the original units.

  6. 6

    Had these six values been the entire population, the divisor would be 6 and the answer would be smaller. The gap matters most on small data sets.

Answer

Worked example

  1. 1

    Convert the raw score to a z-score: how many standard deviations above the mean it sits.

  2. 2

    Standard normal tables give the area to the left. Read the value for 1.625, interpolating between 1.62 and 1.63.

  3. 3

    The question asks for the upper tail, so subtract from 1.

  4. 4

    Interpret it: about 5 scores in every 100 exceed 85. Sketching the curve and shading the tail is worth the ten seconds — it catches the common error of reporting 0.95 here.

Answer

Worked example

  1. 1

    State both hypotheses first. Nothing about the direction is claimed here, so the alternative is two-sided.

  2. 2

    The population standard deviation is unknown, so this is a t-test with 24 degrees of freedom. Compute the standard error — note the square root.

  3. 3

    The test statistic measures how many standard errors the sample mean sits from the claimed value.

  4. 4

    Compare against the two-tailed critical value for 24 degrees of freedom at 5 per cent.

  5. 5

    The statistic does not reach the critical value, so there is not enough evidence to reject the null at this level. The two-sided p-value is about 0.057 — close, but on the wrong side of the line.

  6. 6

    Cross-check with the confidence interval, which uses the same numbers. It contains 70, and it must: a value inside the 95 per cent interval is exactly a value the 5 per cent test cannot reject.

Answer

Three cheap checks catch most statistics errors. The mean has to lie inside the range of the data, and 18 does. The standard deviation should be a sizeable fraction of the range and never larger than it — those six values span 38 and came out at 13.5, which is reasonable for a set with one value stranded out to the right. Any probability must land between 0 and 1, so a normal-curve answer of 1.4 is a subtraction performed in the wrong direction.

The fourth check is the one used at the end of the third problem. A confidence interval and a two-sided test at the matching level are one calculation viewed from two angles, so they cannot disagree. If your test rejects a value that your interval contains, one of them carries an arithmetic error, and you know that before knowing which.

Choosing the test

Most marks lost in an inference question are lost before any arithmetic happens, by running the wrong test on the right data. Three features decide it: what is being compared, whether the observations are paired, and whether the population standard deviation is genuinely known rather than estimated.

Which test does this question need?

What is being compared?

Where students go wrong

Dividing by n when the data is a sample

Deviations are measured from the sample mean, which sits closer to the sample than the true mean does, so squared deviations come out too small. Dividing by corrects that bias. On six data points the difference is around 10 per cent; on 500 it is negligible, but the rule does not change.

Reading “fail to reject” as “the null is true”

A test that does not reach significance means the evidence was insufficient, which is also what a tiny sample produces when a real effect exists. The correct sentence is that there is not enough evidence to conclude a difference, never that there is no difference.

Multiplying probabilities that are not independent

holds only for independent events. For drawing two cards without replacement, the second probability is conditional on the first: , not . Ask whether the first event changes the second before multiplying.

Treating the p-value as the probability the null is true

A p-value is the probability of data at least this extreme assuming the null is true. It says nothing directly about how likely the null is. Getting this backwards makes 0.04 sound like a 96 per cent certainty, which it is not.

A confidence interval with one broken step

One of these lines is wrong. Click it.

Two of those four are computational and two are interpretive, and the interpretive pair costs more. A test statistic can be recomputed in a minute; a sentence claiming a study proved there was no difference cannot be rescued by better arithmetic. Write the conclusion as a decision about the null hypothesis in the wording of the original question, then reread it and confirm it claims nothing about certainty. The wider set of verification habits sits in the guide to checking your own work.

Formulas worth knowing cold

Statistics reference

Tap any formula with a derivation to see where it comes from.

Describing data

Probability

Inference

Practice

Four to try

Answers are checked here — nothing is sent anywhere.

  1. 1
  2. 2
  3. 3
  4. 4

Frequently asked questions

Is the statistics solver free?
The first solution is free without an account. A free account then allows three solutions a day, and Gauth Plus lifts that limit for $11.99 a month with a three-day free trial.
Does it show the steps or just the answer?
Descriptive statistics come with the full deviation table, and inference comes with the hypotheses, the test statistic, the critical value or p-value, and a conclusion written in the context of the question.
Can I paste a whole data set?
Yes. Comma-separated or space-separated numbers both work, and so does a photograph of a printed table. Say whether the data is a sample or a whole population, because that changes the denominator.
Does it choose the right test for me?
It states which test fits and why before running it — sample size, whether the population standard deviation is known, and whether the samples are paired. If your course requires a particular test, name it and that one is used.
Will it interpret the result, not just compute it?
Yes. A p-value on its own is not an answer, so conclusions are written as a decision about the null hypothesis in the wording of the original problem.
Does it handle probability as well as data analysis?
Addition and multiplication rules, conditional probability, Bayes, permutations and combinations, and the binomial and normal distributions are all covered.

Keep going

Gauth AIAsk me for any help!