Jarque-Bera Test Calculator
An advanced tool to determine if your data has the skewness and kurtosis matching a normal distribution.
Statistical Inputs
Jarque-Bera (JB) Statistic
Skewness Component
—
Excess Kurtosis Component
—
P-Value Interpretation
—
Distribution Shape Visualization
This chart compares your data’s skewness and kurtosis to the values expected under a normal distribution (Skew=0, Kurtosis=3).
Calculation Breakdown
| Component | Variable | Input Value | Calculated Value |
|---|---|---|---|
| Sample Size | n | 100 | – |
| Skewness | s | 0.5 | – |
| Kurtosis | k | 3.5 | – |
| Excess Kurtosis | k-3 | – | 0.5 |
| Skewness Component | n/6 * s² | – | 4.17 |
| Kurtosis Component | n/6 * (k-3)²/4 | – | 1.04 |
| JB Statistic | Sum | – | 5.21 |
The table provides a step-by-step breakdown of how the final Jarque-Bera statistic is derived from the inputs.
What is the Jarque-Bera Test Calculator?
The Jarque-Bera Test Calculator is a statistical tool used to perform a goodness-of-fit test to determine if a given dataset has the skewness and kurtosis that matches a normal distribution. In statistical analysis, many models assume that the data is normally distributed. This calculator provides a quick and reliable way to test that assumption. If the resulting Jarque-Bera (JB) statistic is high, it indicates that the data does not follow a normal distribution. The test is widely used in finance, econometrics, and data science to validate model assumptions. Our Jarque-Bera Test Calculator streamlines this process, making complex statistical analysis accessible.
This test is particularly useful for large datasets where visual inspection of a histogram or Q-Q plot might not be sufficient. It quantifies the departure from normality by examining two key moments of the distribution: skewness (asymmetry) and kurtosis (tailedness). A perfect normal distribution has a skewness of 0 and a kurtosis of 3. The Jarque-Bera Test Calculator effectively checks how far your data deviates from these benchmarks.
Jarque-Bera Formula and Mathematical Explanation
The power of the Jarque-Bera Test Calculator comes from its underlying formula, which elegantly combines sample size, skewness, and kurtosis into a single test statistic. The formula is as follows:
JB = (n / 6) * (s² + ( (k – 3)² / 4 ) )
The JB statistic follows a chi-squared (χ²) distribution with 2 degrees of freedom. A low JB value suggests the data is close to normally distributed, while a high value leads to the rejection of the null hypothesis (that the data is normally distributed). For a deeper analysis, you can compare your result with our chi-squared distribution guide.
| Variable | Meaning | Unit | Typical Range for Normality |
|---|---|---|---|
| JB | Jarque-Bera Statistic | Dimensionless | Close to 0 |
| n | Sample Size | Count | > 2 |
| s | Sample Skewness | Dimensionless | -0.5 to 0.5 |
| k | Sample Kurtosis | Dimensionless | 2.5 to 3.5 |
Practical Examples (Real-World Use Cases)
Example 1: Analyzing Daily Stock Returns
An analyst is studying the daily returns of a stock over the past year (n=252). They calculate the skewness (s = 0.8) and kurtosis (k = 4.5).
- Inputs: n = 252, s = 0.8, k = 4.5
- Calculation: JB = (252 / 6) * (0.8² + ( (4.5 – 3)² / 4 ) ) = 42 * (0.64 + (1.5² / 4)) = 42 * (0.64 + 0.5625) = 50.505
- Interpretation: A JB statistic of 50.5 is very high. The p-value would be extremely small (p < 0.01), leading the analyst to strongly reject the null hypothesis. The stock returns are not normally distributed. This is a common finding, as financial returns often have "fat tails" (high kurtosis). Using our Jarque-Bera Test Calculator confirms this instantly.
Example 2: Quality Control in Manufacturing
A factory measures the weight of 500 ball bearings (n=500). The data shows a skewness of s = 0.1 and a kurtosis of k = 3.1.
- Inputs: n = 500, s = 0.1, k = 3.1
- Calculation: JB = (500 / 6) * (0.1² + ( (3.1 – 3)² / 4 ) ) = 83.33 * (0.01 + (0.1² / 4)) = 83.33 * (0.01 + 0.0025) = 1.04
- Interpretation: The JB statistic is 1.04. This is a very low value. The p-value would be high (p > 0.05), so we fail to reject the null hypothesis. The data is consistent with a normal distribution, and the manufacturing process is considered stable. You can use a skewness calculator for more detailed skew analysis.
How to Use This Jarque-Bera Test Calculator
Using our Jarque-Bera Test Calculator is a straightforward process designed for both experts and students.
- Enter Sample Size (n): Input the total number of data points in your sample.
- Enter Sample Skewness (s): Input the calculated skewness of your dataset. Positive values indicate a tail to the right, negative values a tail to the left.
- Enter Sample Kurtosis (k): Input the calculated kurtosis. Values greater than 3 indicate heavier tails than a normal distribution (leptokurtic), while values less than 3 indicate lighter tails (platykurtic).
- Read the Results: The calculator instantly provides the JB statistic. The primary result is the JB value. A value close to zero supports normality.
- Interpret the P-Value: The calculator provides a simplified interpretation. If the JB statistic is greater than the critical value of 5.99 (for a 5% significance level), the p-value is considered small (p < 0.05) and you should reject the null hypothesis of normality.
Key Factors That Affect Jarque-Bera Test Results
- Sample Size (n): The JB test is primarily designed for large samples. With small samples, the chi-squared approximation is less reliable. The sample size directly scales the statistic.
- Outliers: Extreme outliers can heavily influence both skewness and kurtosis, leading to a high JB statistic and a rejection of normality. It’s important to handle outliers appropriately.
- Skewness (s): This measures the asymmetry of the distribution. A value far from 0 will significantly increase the JB statistic. Understanding this is key to data distribution analysis.
- Kurtosis (k): This measures the “tailedness” of the distribution. The formula uses “excess kurtosis” (k-3). Values of k far from 3 will dramatically increase the JB statistic, indicating non-normal tails. For more on this, see our guide on understanding kurtosis.
- Measurement Error: Errors in data collection can introduce non-normal patterns, affecting the test outcome.
- Underlying Data Generating Process: The most important factor is the true nature of the data. If the data naturally comes from a non-normal process (e.g., exponential or bimodal), the Jarque-Bera Test Calculator will correctly identify this.
Frequently Asked Questions (FAQ)
What is a good Jarque-Bera statistic?
A “good” JB statistic is one that is close to 0. The lower the value, the more evidence you have that your data’s skewness and kurtosis align with a normal distribution. In practice, you compare it to a critical value from the chi-squared distribution.
What is the null hypothesis for the Jarque-Bera test?
The null hypothesis (H₀) is that the data is normally distributed, meaning its skewness is 0 and its excess kurtosis is 0. The alternative hypothesis (H₁) is that the data is not normally distributed.
How do I interpret the p-value from a JB test?
A small p-value (typically ≤ 0.05) provides evidence to reject the null hypothesis. It means it is unlikely the observed data came from a normal distribution. A large p-value (> 0.05) means you do not have enough evidence to say the data is not normal. Our Jarque-Bera Test Calculator helps with this interpretation.
Can I use the Jarque-Bera test for small samples?
The test is asymptotic, meaning it’s most accurate for large sample sizes (e.g., n > 2000). For smaller samples, other normality tests like the Shapiro-Wilk test might be more powerful.
What’s the difference between kurtosis and excess kurtosis?
Kurtosis for a normal distribution is 3. Excess kurtosis is simply kurtosis minus 3. Therefore, the excess kurtosis for a normal distribution is 0, which makes it easier to use as a benchmark. The Jarque-Bera Test Calculator uses excess kurtosis in its formula.
Why use a Jarque-Bera Test Calculator instead of a visual plot?
Visual plots like histograms can be subjective. The Jarque-Bera Test Calculator provides an objective, numerical measure of normality, which is crucial for formal statistical testing and automated analysis pipelines. It complements, rather than replaces, visual inspection.
What does a JB statistic of 0 mean?
A JB statistic of exactly 0 means your sample has a skewness of exactly 0 and a kurtosis of exactly 3. This is the perfect ideal for a normal distribution, though it’s extremely rare to see in real-world data.
Is this a test for statistical significance?
Yes, the Jarque-Bera test is a test of statistical significance. It tests whether the deviations from normality in your sample are statistically significant enough to conclude that the underlying population is not normal.
Related Tools and Internal Resources
- Confidence Interval Calculator: Calculate the confidence interval for a sample mean to understand the range of plausible values for the population mean.
- Skewness and Kurtosis Calculator: A dedicated tool to compute the two key inputs for the JB test from raw data.
- Article: Understanding Kurtosis: A deep dive into the concept of kurtosis and its implications for data analysis.
- Guide to Data Distribution Analysis: Learn about different types of distributions and how to identify them.
- Chi-Squared Distribution Explained: An article explaining the distribution used to evaluate the JB statistic.
- P-Value from Z-Score Calculator: Another essential statistical tool for hypothesis testing.