DEFINITION of 'GoodnessOfFit'
Used in statistics and statistical modelling to compare an anticipated frequency to an actual frequency. Goodnessoffit tests are often used in business decision making. In order to calculate a chisquare goodnessoffit, it is necessary to first state the null hypothesis and the alternative hypothesis, choose a significance level (such as α = 0.5) and determine the critical value.
INVESTOPEDIA EXPLAINS 'GoodnessOfFit'
For example, a small community gym might be operating under the assumption that it has its highest attendance on Mondays, Tuesdays and Saturdays, average attendance on Wednesdays and Thursdays, and lowest attendance on Fridays and Sundays. Based on these assumptions, the gym employs a certain number of staff each day to check in members, clean facilities, offer training services and teach classes. However, the gym is not performing well financially and the owner wants to know if these attendance assumptions and staffing levels are correct. The owner decides to count the number of gym attendees each day for six weeks. He can then compare the gym's assumed attendance with its observed attendance using a chisquare goodnessoffit test for example. With the new data, he can determine how to best manage the gym and improve profitability.

Chi Square Statistic
A measurement of how expectations compare to results. The data ... 
Degrees Of Freedom
In statistics, the number of values in a study that are free ... 
Statistical Significance
A result that is not likely to occur randomly, but rather is ... 
Probability Distribution
A statistical function that describes all the possible values ... 
Sampling Error
A statistical error to which an analyst exposes a model simply ... 
Null Hypothesis
A type of hypothesis used in statistics that proposes that no ...

How do you calculate GDP with the income approach?
The income approach to measuring gross domestic product (GDP) is based on the accounting reality that all expenditures in ... Read Full Answer >> 
What is the difference between earnings and income?
The differences between earnings and income change depending on the context. Technically speaking, personal earnings are ... Read Full Answer >> 
What is the formula for calculating beta?
Beta is a measure used in fundamental analysis to determine the volatility of an asset or portfolio in relation to the overall ... Read Full Answer >> 
How can I use a regression to see the correlation between prices and interest rates?
In statistics, regression analysis is a widely used technique to uncover relationships among variables and determine whether ... Read Full Answer >> 
How do I use the rule of 72 to estimate compounding periods?
The rule of 72 is best used to estimate compounding periods that are factors of two (2, 4, 12, 200 and so on). This is because ... Read Full Answer >> 
How can I use Bollinger Bands® to spot options trading opportunities?
Traders can use Bollinger Bands in a couple of different types of trading strategies. The most common strategy is using Bollinger ... Read Full Answer >>

Fundamental Analysis
Find The Right Fit With Probability Distributions
Discover a few of the most popular probability distributions and how to calculate them. 
Fundamental Analysis
Explaining the Monte Carlo Simulation
Monte Carlo simulation is an analysis done by running a number of different variables through a model in order to determine the different outcomes. 
Fundamental Analysis
Explaining the Empirical Rule
The empirical rule provides a quick estimate of the spread of data in a normal statistical distribution. 
Economics
Explaining Demographics
Demographics is the study and categorization of people based on factors such as income level, education, gender, race, age, and employment. 
Fundamental Analysis
Calculating Degree of Financial Leverage
Degree of financial leverage (DFL) is a metric that measures the sensitivity of a company’s operating income due to changes in its capital structure. 
Fundamental Analysis
Calculating the Present Value of an Annuity
The present value of an annuity is the current, lump sum value of periodic future payments as calculated using a specific rate. 
Fundamental Analysis
How Does Sampling Work?
Sampling is a term used in statistics that describes methods of selecting a predefined representative number of data from a larger data population. 
Economics
Understanding Marginal Analysis
Marginal analysis is the process of comparing a oneunit incremental cost increase of an activity with a corresponding increase in benefits. 
Fundamental Analysis
Calculating the Equity Risk Premium
Equity risk premium is the excess expected return of a stock, or the stock market as a whole, over the riskfree rate. 
Fundamental Analysis
What is a Representative Sample?
In statistics, a representative sample accurately represents the makeup of various subgroups in an entire data pool.