X
Y\stackrel{d}{=}a+bX
\stackrel{d}{=}
In other words, a class
\Omega
F\in\Omega
a\inR
b>0
G(x)=F(a+bx)
\Omega
X
FX(x)=P(X\lex)
Y{=}a+bX
FY(y)=
F | ||||
|
\right)
X
pX(x)=P(X=x)
Y{=}a+bX
pY(y)=
p | ||||
|
\right)
X
fX(x)
Y{=}a+bX
fY(y)=
1 | |
b |
f | ||||
|
\right)
Moreover, if
X
Y
X
Y
Y\stackrel{d}{=}\muY+\sigmaYX
\muY
\sigmaY
Y
In decision theory, if all alternative distributions available to a decision-maker are in the same location–scale family, and the first two moments are finite, then a two-moment decision model can apply, and decision-making can be framed in terms of the means and the variances of the distributions.[1] [2] [3]
Often, location–scale families are restricted to those where all members have the same functional form. Most location–scale families are univariate, though not all. Well-known families in which the functional form of the distribution is consistent throughout the family include the following:
The following shows how to implement a location–scale family in a statistical package or programming environment where only functions for the "standard" version of a distribution are available. It is designed for R but should generalize to any language and library.
The example here is of the Student's t-distribution, which is normally provided in R only in its standard form, with a single degrees of freedom parameter df
. The versions below with _ls
appended show how to generalize this to a generalized Student's t-distribution with an arbitrary location parameter m
and scale parameter s
.
Probability density function (PDF): | dt_ls(x, df, m, s) = | 1/s * dt((x - m) / s, df) | |
Cumulative distribution function (CDF): | pt_ls(x, df, m, s) = | pt((x - m) / s, df) | |
Quantile function (inverse CDF): | qt_ls(prob, df, m, s) = | qt(prob, df) * s + m | |
Generate a random variate: | rt_ls(df, m, s) = | rt(df) * s + m |
s
since the standard t distribution does not have standard deviation of 1.