Skip to content
Free planNo credit card requiredStart writing

A Bayesian t test calculator for the questions a p-value cannot answer

Data Lab runs Bayesian t-tests (one-sample, paired and two-sample, with the JZS Bayes factor) and a Bayesian proportion with a credible interval. The numbers are calculated in your browser, not generated by the AI, and they cost nothing.

The Free plan has 45 credits a month. The Bayesian tests cost 0 credits because they run in your browser. The AI results write-up in Data Lab costs 2 credits; the PDF report is free.

A Bayesian t test calculator answers a question a p-value cannot: how strongly do the data favor an effect over no effect, or no effect over an effect? Data Lab in AI for Research runs Bayesian t-tests with the JZS Bayes factor for one-sample, paired and two-sample designs, and a Bayesian proportion with a credible interval. The statistics are calculated in your browser, not generated by the AI, and they cost nothing. It is for students meeting Bayesian statistics for the first time, researchers whose result was "not significant" and who want to know whether that means evidence of no effect, and anyone asked by a reviewer for a Bayes factor.

What it does

TestUse it forWhat you get
Bayesian one-sample t-testOne group's mean against a fixed valueJZS Bayes factor (BF10 and BF01)
Bayesian paired t-testBefore and after, or two matched measurementsJZS Bayes factor (BF10 and BF01)
Bayesian two-sample t-testTwo independent groupsJZS Bayes factor (BF10 and BF01)
Bayesian proportion (beta-binomial)A proportion, such as a response rateThe posterior distribution of the proportion and its credible interval

The t-tests use the Jeffreys-Zellner-Siow (JZS) prior described by Rouder and colleagues (2009), a Cauchy prior on the standardized effect size. The proportion uses a beta prior updated with your successes and failures.

Calculated, not generated

The AI never produces the numbers. Every Bayes factor and interval is computed by code in your browser from your data. The AI is used only if you ask for a written results paragraph, and that paragraph is built from the computed results.

Your file is read in your browser and the tests run there. Download PDF report puts the results, tables and charts in one PDF, free.

How to read a Bayes factor

BF10 is the evidence for the alternative over the null; BF01 is its reciprocal, the evidence for the null. A value of 1 means the data do not favor either. Many researchers describe the size of a Bayes factor with labels like these, adapted from Jeffreys:

BF10BF01Common label
1 to 31 to 3Anecdotal or weak
3 to 103 to 10Moderate
10 to 3010 to 30Strong
above 30above 30Very strong or extreme

The labels are a convention, not a rule. Report the number itself, and say which prior produced it. A credible interval is read directly: given the prior and the data, there is a 95% probability that the true value lies inside a 95% credible interval. That is the statement many people wrongly make about a confidence interval.

How it works, step by step

  1. Open Data Lab and load your data: upload a CSV or TSV file, or paste rows copied from a spreadsheet.
  2. Choose the Bayesian test that fits the design: one-sample, paired, two-sample, or a proportion.
  3. Pick the columns: the outcome, and the group or the paired measurement. For a one-sample test, enter the comparison value; for a proportion, the column of successes and failures or the counts.
  4. Read the result: BF10 (evidence for an effect), BF01 (evidence for no effect), and for the proportion the posterior estimate with its credible interval.
  5. Optionally press for the AI results write-up (2 credits) to get a paragraph you can edit.
  6. Press Download PDF report to save the tables, charts and write-up as one PDF.

If you are not sure which test you need, start with which statistical test to use.

A worked example

Example (invented for illustration): a psychology master's student tested whether a 10-minute breathing exercise lowers exam anxiety. Two groups of 30 students; the classical t-test gave p = 0.41.

  1. She loads the CSV into Data Lab and runs the Bayesian two-sample t-test on the anxiety scores by group. Cost: 0 credits.
  2. The result shows a BF01 of about 3: the data are about three times more likely under no difference than under the alternative, with the default prior. In her discussion she can now say the data give moderate evidence of no effect (a common convention calls 3 to 10 "moderate"), instead of only "not significant". (The numbers here are invented to show how the result reads.)
  3. She also reports the proportion of students who said they would use the exercise again, 21 of 30, with the Bayesian proportion: a posterior estimate and its credible interval. Cost: 0 credits.
  4. She asks for the AI results write-up: 2 credits. She edits it, then downloads the PDF report for her supervisor: 0 credits.

Total: 2 credits, inside the Free plan's 45 a month.

What it does not do

  • It does not fit full Bayesian models. No Bayesian regression, ANOVA, hierarchical models or MCMC sampling.
  • It does not choose a prior for you beyond the default. If your field has an informed prior, note it and run the analysis in a package that accepts it.
  • It does not replace a statistician or statistical software. The tests are calculated, not validated or certified for regulatory use.
  • It does not tell you what to conclude. A Bayes factor is evidence for one hypothesis relative to another, under the prior you used; report both.

Who uses it

Data Lab also runs the frequentist tests, charts and sample size calculations; see the Data Lab page. For a quick analysis without an account, try the free data analysis tool.

Learn more

Last updated 2026-11-13

Questions

More in the help center.

What is a Bayes factor?

A Bayes factor compares how well two hypotheses predict the data you observed. BF10 = 6 means the data are six times more likely under the alternative than under the null; BF10 = 0.2 (BF01 = 5) means they are five times more likely under the null. Unlike a p-value, it can show evidence for no effect, and it can say that the data are not yet informative either way.

What is the JZS Bayes factor?

It is the Bayes factor for a t-test with the Jeffreys-Zellner-Siow prior, described by Rouder and colleagues in 2009: a Cauchy prior on the standardized effect size under the alternative. It is the default Bayesian t-test in several statistics packages. The width of the prior (its scale) affects the result, so report it.

Is the Bayesian t test free?

Yes. The tests run in your browser and cost 0 credits on every plan, including Free. Only the optional AI results write-up costs credits (2 per write-up). Downloading the PDF report with the tables and charts is free.

Can Data Lab fit Bayesian regression or MCMC models?

No. Data Lab covers the Bayesian basics: one-sample, paired and two-sample t-tests with the JZS Bayes factor, and a Bayesian proportion using the beta-binomial model. Hierarchical models, Bayesian regression and anything that needs MCMC sampling are not included; use R, Python or a dedicated package for those.

Should I report a Bayes factor instead of a p-value?

Many researchers report both: the frequentist test that the field expects and the Bayes factor for what it adds, especially evidence for the null. Check what your journal or examiner prefers. Report the Bayes factor, its direction (BF10 or BF01), the prior and its scale, and an effect size with its interval.

Start free

No credit card needed. Upgrade when you need more.