> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/feature-management-experimentation/use-fme/experimentation/key-concepts/frequentist-vs-bayesian.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Frequentist vs. Bayesian

Compare frequentist and Bayesian analysis in Harness FME, how each reports experiment results, and how to choose between them.

### Overview <a href="#overview" id="overview"></a>

Bayesian and Frequentist statistics are two different frameworks that can be used to analyze your experimental results. Their results differ, in part, because they ask different questions of the data and provide different guarantees.

* Frequentist testing to experimentation is the most commonly used hypothesis testing framework within industry, scientific and medical fields.
* Bayesian analysis combines a prior, which is your expectation of how large a plausible effect is, with the data observed in your experiment.

Harness FME supports both. Frequentist testing is the default, and you can choose Bayesian reporting with the [Confidence method](https://developer.harness.io/feature-management-experimentation/use-fme/experimentation/setup/experiment-settings.md#confidence-method) setting in Experiment settings. Bayesian reporting uses a neutral prior by default (mean 0, standard deviation 0.25), so you do not need previous experiment data to use it. If you have a stronger expectation for a specific metric, you can adjust it with [Per-metric prior overrides](https://developer.harness.io/feature-management-experimentation/use-fme/experimentation/setup/experiment-settings.md#per-metric-prior-overrides).

### Frequentist testing <a href="#frequentist-testing" id="frequentist-testing"></a>

Frequentist statistics provide strong error controls, and give a more binary answer (statistically significant vs inconclusive). The Frequentist approach asks whether the data provides enough evidence to reject the null hypothesis, and to conclude that there is some difference between the conversion rates of the two treatments.

Another advantage of the frequentist system is that we can share our data clearly with customers to follow the work in a way that Bayesian analysis isn’t as easily replicated (especially at scale), and that we have been able to leverage improvements pioneered by industry leaders in product experimentation at companies like LinkedIn and Microsoft.

### Bayesian testing <a href="#bayesian-testing" id="bayesian-testing"></a>

The Bayesian approach, rather than having a strict threshold, asks which of the potential values for the impact are most likely. It can suggest the probability that there is a true difference of a given size even if that probability is not as high as our desired confidence threshold.

When testing larger changes, such as a new feature or algorithm, there is often a cost to incorrectly thinking you are having an impact. This may be technical or product debt, or the costs of basing decisions on how to invest future resources and effort on misleading information. Frequentist methods help reduce these risks, as reaching statistical significance provides strong confidence that your treatment really did change user behavior.

However in cases where it is not feasible to reach statistical significance in the Frequentist framework, using the Bayesian probabilities may aid in a decision. If there is little cost to making a change, you may want to go with the most likely winner despite not having full confidence; however it is risky to draw inferences and plan out further work and iterations in this situation.

In Harness FME, Bayesian reporting is available for both cloud and Warehouse Native experiments, and it shows a chance to win instead of a p-value. It is available only with fixed horizon testing and with multiple comparison corrections turned off. Go to [Confidence method](https://developer.harness.io/feature-management-experimentation/use-fme/experimentation/setup/experiment-settings.md#confidence-method) for details.

## Next steps

* Go to [Sequential vs. Fixed horizon testing](https://developer.harness.io/feature-management-experimentation/use-fme/experimentation/key-concepts/fixed-horizon.md) to compare the testing methods Harness FME supports.
* Go to [Statistical significance](https://developer.harness.io/feature-management-experimentation/use-fme/experimentation/key-concepts/statistical-significance.md) to learn how Harness FME determines significance.

{% @harness-feedback/feedback %}
