All Topics  
Loss function

 

   Email Print
   Bookmark   Link






 

Loss function



 
 
In statistics
Statistics

Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
, decision theory
Decision theory

Decision theory in mathematics and statistics is concerned with identifying the values, uncertainty and other issues relevant in a given decision making and the resulting optimal decision....
 and economics
Economics

File:Ballard Farmers' Market - vegetables.jpgEconomics is the Social sciences that studies the Production theory basics, Distribution , and Consumption of Good and Service ....
, a loss function is a function that maps an event
Event (probability theory)

In probability theory, an event is a Set of outcomes to which a probability is assigned. Typically, when the sample space is finite, any subset of the sample space is an event ....
 (technically an element of a sample space
Sample space

In probability theory, the sample space or universal sample space, often denoted S, O, or U , of an experiment or random trial and error is the set of all possible outcomes....
) onto a real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 representing the economic cost
Economic cost

The economic cost of a decision depends on both the cost of the alternative chosen and the benefit that the best alternative would have provided if chosen....
 or regret
Regret

Regret or Regrets may refer to:...
 associated with the event.

Less technically, in statistics a loss function represents the loss (cost in money or loss in utility
Utility

In economics, utility is a measure of the relative satisfaction from, or desirability of, consumption of various goods and services. Given this measure, one may speak meaningfully of increasing or decreasing utility, and thereby explain economic behavior in terms of attempts to increase one's utility....
 in some other sense) associated with an estimate being "wrong" (different from either a desired or a true value) as a function of a measure of the degree of wrongness (generally the difference between the estimated value and the true or desired value.)

Both Frequentist and Bayesian
Bayesian

Bayesian refers to methods in probability and statistics named after the Reverend Thomas Bayes , in particular methods related to:* the degree-of-belief interpretation of probability, as opposed to frequency or proportion or propensity interpretations; or...
 statistical theory involve calculating statistics in such a way as to minimize the expected loss observed from being wrong given a set of assumptions about the data and ones loss function.






Discussion
Ask a question about 'Loss function'
Start a new discussion about 'Loss function'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In statistics
Statistics

Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
, decision theory
Decision theory

Decision theory in mathematics and statistics is concerned with identifying the values, uncertainty and other issues relevant in a given decision making and the resulting optimal decision....
 and economics
Economics

File:Ballard Farmers' Market - vegetables.jpgEconomics is the Social sciences that studies the Production theory basics, Distribution , and Consumption of Good and Service ....
, a loss function is a function that maps an event
Event (probability theory)

In probability theory, an event is a Set of outcomes to which a probability is assigned. Typically, when the sample space is finite, any subset of the sample space is an event ....
 (technically an element of a sample space
Sample space

In probability theory, the sample space or universal sample space, often denoted S, O, or U , of an experiment or random trial and error is the set of all possible outcomes....
) onto a real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 representing the economic cost
Economic cost

The economic cost of a decision depends on both the cost of the alternative chosen and the benefit that the best alternative would have provided if chosen....
 or regret
Regret

Regret or Regrets may refer to:...
 associated with the event.

Less technically, in statistics a loss function represents the loss (cost in money or loss in utility
Utility

In economics, utility is a measure of the relative satisfaction from, or desirability of, consumption of various goods and services. Given this measure, one may speak meaningfully of increasing or decreasing utility, and thereby explain economic behavior in terms of attempts to increase one's utility....
 in some other sense) associated with an estimate being "wrong" (different from either a desired or a true value) as a function of a measure of the degree of wrongness (generally the difference between the estimated value and the true or desired value.)

Both Frequentist and Bayesian
Bayesian

Bayesian refers to methods in probability and statistics named after the Reverend Thomas Bayes , in particular methods related to:* the degree-of-belief interpretation of probability, as opposed to frequency or proportion or propensity interpretations; or...
 statistical theory involve calculating statistics in such a way as to minimize the expected loss observed from being wrong given a set of assumptions about the data and ones loss function. Sound statistical practice requires selecting an estimator consistent with the actual loss experienced in the context of a particular applied problem. Thus, in the applied use of loss functions, selecting which statistical method to use to model an applied problem depends on knowing the losses that will be experienced from being wrong under the problem's particular circumstances, which results in the introduction of an element of teleology
Teleology

Teleology is the philosophy study of design and purpose. A teleological school of thought is one that holds all things to be designed for or directed toward a final result, that there is an inherent purpose or final cause for all that exists....
 into problems of scientific decision-making .

A common example involves estimating "location
Location parameter

In statistics, a location family is a class of probability distributions parametrized by a scalar- or vector-valued parameter ?, which determines the "location" or shift of the distribution....
". Under typical statistical assumptions, the mean
Mean

In statistics, mean has two related meanings:* the arithmetic mean .* the expected value of a random variable, which is also called the population mean....
 or average is the statistic for estimating location that minimizes the expected loss experienced under the Taguchi
Taguchi methods

Taguchi methods are statistics methods developed by Genichi Taguchi to improve the quality of manufactured goods, and more recently also applied to biotechnology, marketing and advertising....
 or squared-error
Least squares

The method of least squares or ordinary least squares is used to solve overdetermined systems. Least squares is often applied in statistical contexts, particularly regression analysis....
 loss function, while the median
Median

In probability theory and statistics, a median is described as the number separating the higher half of a sample, a population, or a probability distribution, from the lower half....
 is the estimator that minimizes expected loss experienced under the absolute-difference loss function. Still different estimators would be optimal under other, less common circumstances.

Loss functions in economics are typically expressed in monetary terms. For example:

Other measures of cost are possible, for example mortality
Death

Death is the permanent termination of the biological functions that define a life organism. It refers to both a particular event and to the condition that results thereby....
 or morbidity in the field of public health
Public health

Public health is "the science and art of preventing disease, prolonging life and promoting health through the organized efforts and informed choices of society, organizations, public and private, communities and individuals." It is concerned with threats to the overall health of a community based on population health analysis....
 or safety engineering
Safety engineering

Safety engineering is an applied science strongly related to systems engineering and the subset System Safety Engineering. Safety engineering assures that a life-critical system behaves as needed even when pieces fail....
.

Loss functions are complementary to utility functions
Utility

In economics, utility is a measure of the relative satisfaction from, or desirability of, consumption of various goods and services. Given this measure, one may speak meaningfully of increasing or decreasing utility, and thereby explain economic behavior in terms of attempts to increase one's utility....
 which represent benefit and satisfaction. Typically, for utility
Utility

In economics, utility is a measure of the relative satisfaction from, or desirability of, consumption of various goods and services. Given this measure, one may speak meaningfully of increasing or decreasing utility, and thereby explain economic behavior in terms of attempts to increase one's utility....
 U:

where k is some arbitrary constant.

Expected loss


A loss function satisfies the definition of a random variable
Random variable

In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
 so we can establish a cumulative distribution function
Cumulative distribution function

In probability theory and statistics, the cumulative distribution function or just distribution function, completely describes the probability distribution of a real-valued random variable X....
 and an expected value
Expected value

In probability theory and statistics, the expected value of a random variable is the Lebesgue integral of the random variable with respect to its probability measure....
. However, more commonly, the loss function is expressed as a function of some other random variable
Random variable

In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
. For example, the time that a light bulb operates before failure is a random variable
Random variable

In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
 and we can specify the loss, arising from having to cope in the dark and/or replace the bulb, as a function of failure time.

The expected loss (sometimes known as risk
Risk function

In decision theory and estimation theory, the risk of an estimator, of an unknown parameter of the distribution, is the expected value of the loss function...
) is:

where:
  • λ(x) = the loss function
  • x = a continuous random variable
    Random variable

    In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
  • f(x)= the probability density function
    Probability density function

    In mathematics, a probability density function is a function that represents a probability distribution in terms of integrals.Formally, a probability distribution has density ƒ, if ƒ is a non-negative Lebesgue integration function such that the probability of the interval [ab] is given by...


Minimum expected loss (or minimum risk) is widely used as a criterion for choosing between prospects. It is closely related to the criterion of maximum expected utility.

Loss functions in Bayesian statistics


One of the consequences of Bayesian inference
Bayesian inference

Bayesian inference is statistical inference in which evidence or observations are used to update or to newly infer the probability that a hypothesis may be true....
 is that in addition to experimental data, the loss function does not in itself wholly determine a decision. What is important is the relationship between the loss function and the prior probability
Prior probability

A prior probability is a conditional probability, interpreted as a description of what is known about a variable in the absence of some Marginal likelihood....
. So it is possible to have two different loss functions which lead to the same decision when the prior probability distribution
Probability distribution

In probability theory and statistics, a probability distribution identifies either the probability of each value of an unidentified random variable , or the probability of the value falling within a particular interval ....
s associated with each compensate for the details of each loss function.

Combining the three elements of the prior probability, the data, and the loss function then allows decisions to be based on maximizing the subjective expected utility
Subjective expected utility

Subjective expected utility is a method in decision theory in the presence of risk, originally put forward by L. J. Savage in 1954 . It combines two distinct subjective concepts: a personal utility function and a personal probability analysis based on Bayesian probability theory....
, a concept introduced by Leonard J. Savage.

Regret

Savage also argued that using non-Bayesian methods such as minimax
Minimax

Minimax is a decision rule used in decision theory, game theory, statistics and philosophy for minimizing the maximum possible loss function....
, the loss function should be based on the idea of regret
Regret (decision theory)

Regret is defined as the difference between one's actual payoff and the payoff in a better position that he could have got if a different course of action had been chosen....
, i.e. the loss associated with a decision should be the difference between the consequences of the best decision that could have been taken had the underlying circumstances been known and the decision that was in fact taken before they were known.

Quadratic loss function


The use of a quadratic loss function is common, for example when using least squares
Least squares

The method of least squares or ordinary least squares is used to solve overdetermined systems. Least squares is often applied in statistical contexts, particularly regression analysis....
 techniques or Taguchi methods
Taguchi methods

Taguchi methods are statistics methods developed by Genichi Taguchi to improve the quality of manufactured goods, and more recently also applied to biotechnology, marketing and advertising....
. It is often more mathematically tractable than other loss functions because of the properties of variance
Variance

In probability theory and statistics, the variance of a random variable, probability distribution, or sample is one measure of statistical dispersion, averaging the squared distance of its possible values from the expected value ....
s, as well as being symmetric: an error above the target causes the same loss as the same magnitude of error below the target. If the target is t, then a quadratic loss function is for some constant C; often the value of the constant makes no difference to a decision, and can then be ignored by setting it equal to 1.

Many common statistics, including t-tests, regression
Regression

Regression could refer to:* Regression , a defensive reaction to some unaccepted impulses* Past life regression, a process claiming to retrieve memories of previous lives...
 models, design of experiments
Design of experiments

Design of experiments, or experimental design, is the design of all information-gathering exercises where variation is present, whether under the full control of the experimenter or not....
, and much else, use least squares
Least squares

The method of least squares or ordinary least squares is used to solve overdetermined systems. Least squares is often applied in statistical contexts, particularly regression analysis....
 Linear models theory, which is based on the Taguchi loss function.

See also

  • Decision theory
    Decision theory

    Decision theory in mathematics and statistics is concerned with identifying the values, uncertainty and other issues relevant in a given decision making and the resulting optimal decision....
  • Discounted maximum loss
    Discounted maximum loss

    Discounted maximum loss is the present value of the worst case scenario for a financial portfolio .An investor must consider all possible alternatives for the value of his investment....
  • Taguchi methods
    Taguchi methods

    Taguchi methods are statistics methods developed by Genichi Taguchi to improve the quality of manufactured goods, and more recently also applied to biotechnology, marketing and advertising....