# Cauchy distribution

Not to be confused with Lorenz curve.

Parameters
Probability density function  The purple curve is the standard Cauchy distribution
Cumulative distribution function
$x_0\!$ location (real) γ > 0 scale (real)
$\displaystyle x \in (-\infty, +\infty)\!$
$\frac{1}{\pi\gamma\,\left[1 + \left(\frac{x-x_0}{\gamma}\right)^2\right]}\!$
$\frac{1}{\pi} \arctan\left(\frac{x-x_0}{\gamma}\right)+\frac{1}{2}\!$
undefined
$x_0\!$
$x_0\!$
undefined
undefined
undefined
$\log(\gamma)\,+\,\log(4\,\pi)\!$
does not exist
$\displaystyle \exp(x_0\,i\,t-\gamma\,|t|)\!$

The Cauchy distribution, named after Augustin Cauchy, is a continuous probability distribution. It is also known, especially among physicists, as the Lorentz distribution (after Hendrik Lorentz), Cauchy–Lorentz distribution, Lorentz(ian) function, or Breit–Wigner distribution. The simplest Cauchy distribution is called the standard Cauchy distribution. It has the distribution of a random variable that is the ratio of two independent standard normal random variables. This has the probability density function

$f(x; 0,1) = \frac{1}{\pi (1 + x^2)}. \!$

Its cumulative distribution function has the shape of an arctangent function arctan(x):

$F(x; 0,1)=\frac{1}{\pi} \arctan\left(x\right)+\frac{1}{2}$

The Cauchy distribution is often used in statistics as the canonical example of a "pathological" distribution. Both its mean and its variance are undefined. (But see the section Explanation of undefined moments below.) The Cauchy distribution does not have finite moments of order greater than or equal to one; only fractional absolute moments exist.[1] The Cauchy distribution has no moment generating function.

Its importance in physics is the result of it being the solution to the differential equation describing forced resonance.[2] In mathematics, it is closely related to the Poisson kernel, which is the fundamental solution for the Laplace equation in the upper half-plane. In spectroscopy, it is the description of the shape of spectral lines which are subject to homogeneous broadening in which all atoms interact in the same way with the frequency range contained in the line shape. Many mechanisms cause homogeneous broadening, most notably collision broadening, and Chantler–Alda radiation.[3] In its standard form, it is the maximum entropy probability distribution for a random variate X for which[4]

$\operatorname{E}\!\left[\ln(1+X^2) \right]=\ln(4)$

## Characterisation

### Probability density function

The Cauchy distribution has the probability density function

$f(x; x_0,\gamma) = \frac{1}{\pi\gamma \left[1 + \left(\frac{x - x_0}{\gamma}\right)^2\right]} = { 1 \over \pi } \left[ { \gamma \over (x - x_0)^2 + \gamma^2 } \right],$

where x0 is the location parameter, specifying the location of the peak of the distribution, and γ is the scale parameter which specifies the half-width at half-maximum (HWHM). γ is also equal to half the interquartile range and is sometimes called the probable error. Augustin-Louis Cauchy exploited such a density function in 1827 with an infinitesimal scale parameter, defining what would now be called a Dirac delta function.

The amplitude of the above Lorentzian function is given by

$\text{Amplitude (or height)} = \frac{1}{\pi\gamma}.$

The special case when x0 = 0 and γ = 1 is called the standard Cauchy distribution with the probability density function

$f(x; 0,1) = \frac{1}{\pi (1 + x^2)}. \!$

In physics, a three-parameter Lorentzian function is often used:

$f(x; x_0,\gamma,I) = \frac{I}{\left[1 + \left(\frac{x-x_0}{\gamma}\right)^2\right]} = I \left[ { \gamma^2 \over (x - x_0)^2 + \gamma^2 } \right],$

where I is the height of the peak.

### Cumulative distribution function

The cumulative distribution function is:

$F(x; x_0,\gamma)=\frac{1}{\pi} \arctan\left(\frac{x-x_0}{\gamma}\right)+\frac{1}{2}$

and the quantile function (inverse cdf) of the Cauchy distribution is

$Q(p; x_0,\gamma) = x_0 + \gamma\,\tan\left[\pi\left(p-\tfrac{1}{2}\right)\right].$

It follows that the first and third quartiles are (x0−γ, x0+γ), and hence the interquartile range is 2γ.

The derivative of the quantile function, the quantile density function, for the Cauchy distribution is:

$Q'(p; \gamma) = \gamma\,\pi\,{\sec}^2\left[\pi\left(p-\tfrac{1}{2}\right)\right].\!$

The differential entropy of a distribution can be defined in terms of its quantile density,[5] specifically

$h_e(\text{Cauchy}(\gamma)) = \int_0^1 \log\,(Q'(p; \gamma))\,\mathrm dp = \log(\gamma)\,+\,\log(4\,\pi).\!$

## Properties

The Cauchy distribution is an example of a distribution which has no mean, variance or higher moments defined. Its mode and median are well defined and are both equal to x0.

When U and V are two independent normally distributed random variables with expected value 0 and variance 1, then the ratio U/V has the standard Cauchy distribution.

If X1, ..., Xn are independent and identically distributed random variables, each with a standard Cauchy distribution, then the sample mean (X1+ ... +Xn)/n has the same standard Cauchy distribution. To see that this is true, compute the characteristic function of the sample mean:

$\phi_{\overline{X}}(t) = \mathrm{E}\left[e^{i\overline{X}t}\right]$

where $\overline{X}$ is the sample mean. This example serves to show that the hypothesis of finite variance in the central limit theorem cannot be dropped. It is also an example of a more generalized version of the central limit theorem that is characteristic of all stable distributions, of which the Cauchy distribution is a special case.

The Cauchy distribution is an infinitely divisible probability distribution. It is also a strictly stable distribution.[6]

The standard Cauchy distribution coincides with the Student's t-distribution with one degree of freedom.

Like all stable distributions, the location-scale family to which the Cauchy distribution belongs is closed under linear transformations with real coefficients. In addition, the Cauchy distribution is the only univariate distribution which is closed under linear fractional transformations with real coefficients.[7] In this connection, see also McCullagh's parametrization of the Cauchy distributions.

### Characteristic function

Let X denote a Cauchy distributed random variable. The characteristic function of the Cauchy distribution is given by

$\phi_X(t; x_0,\gamma) = \mathrm{E}\left[e^{iXt} \right ] =\int_{-\infty}^\infty f(x;x_{0},\gamma)e^{ixt}\,dx = e^{ix_0t - \gamma |t|}.$

which is just the Fourier transform of the probability density.[citation needed] The original probability density may be expressed in terms of the characteristic function, essentially by using the inverse Fourier transform:

$f(x; x_0,\gamma) = \frac{1}{2\pi}\int_{-\infty}^\infty \phi_X(t;x_0,\gamma)e^{-ixt}\,dt \!$

Observe that the characteristic function is not differentiable at the origin: this corresponds to the fact that the Cauchy distribution does not have an expected value.

## Explanation of undefined moments

### Mean

If a probability distribution has a density function f(x), then the mean is

$\int_{-\infty}^\infty x f(x)\,dx. \qquad\qquad (1)\!$

The question is now whether this is the same thing as

$\int_0^\infty x f(x)\,dx-\int_{-\infty}^0 |x| f(x)\,dx.\qquad\qquad (2) \!$

If at most one of the two terms in (2) is infinite, then (1) is the same as (2). But in the case of the Cauchy distribution, both the positive and negative terms of (2) are infinite. This means (2) is undefined. Moreover, if (1) is construed as a Lebesgue integral, then (1) is also undefined, because (1) is then defined simply as the difference (2) between positive and negative parts.

However, if (1) is construed as an improper integral rather than a Lebesgue integral, then (2) is undefined, and (1) is not necessarily well-defined. We may take (1) to mean

$\lim_{a\to\infty}\int_{-a}^a x f(x)\,dx, \!$

and this is its Cauchy principal value, which is zero, but we could also take (1) to mean, for example,

$\lim_{a\to\infty}\int_{-2a}^a x f(x)\,dx, \!$

which is not zero, as can be seen easily by computing the integral.

Because the integrand is bounded and is not Lebesgue integrable, it is not even Henstock–Kurzweil integrable. Various results in probability theory about expected values, such as the strong law of large numbers, will not work in such cases.

### Higher moments

The Cauchy distribution does not have finite moments of any order. Some of the higher raw moments do exist and have a value of infinity, for example the raw second moment:

$\mathrm{E}[X^2] \propto \int_{-\infty}^{\infty} {x^2 \over 1+x^2}\,dx = \int_{-\infty}^{\infty}dx - \int_{-\infty}^{\infty} 1-{x^2 \over 1+x^2}\,dx = \int_{-\infty}^{\infty}dx - \int_{-\infty}^{\infty} {1 \over 1+x^2}\,dx = \int_{-\infty}^{\infty}dx-\pi = \infty.$

By re-arranging the formula, one can see that the second moment is essentially the infinite integral of a constant (here 1). Higher even-powered raw moments will also evaluate to infinity. Odd-powered raw moments, however, do not exist at all (i.e. are undefined), which is distinctly different from existing with the value of infinity. The odd-powered raw moments are undefined because their values are essentially equivalent to ∞ − ∞ since the two halves of the integral both diverge and have opposite signs. The first raw moment is the mean, which, being odd, does not exist. (See also the discussion above about this.) This in turn means that all of the central moments and standardized moments do not exist (are undefined), since they are all based on the mean. The variance — which is the second central moment — is likewise non-existent (despite the fact that the raw second moment exists with the value infinity).

The results for higher moments follow from Hölder's inequality, which implies that higher moments (or halves of moments) diverge if lower ones do.

## Estimation of parameters

Because the parameters of the Cauchy distribution don't correspond to a mean and variance, attempting to estimate the parameters of the Cauchy distribution by using a sample mean and a sample variance will not succeed. For example, if n samples are taken from a Cauchy distribution, one may calculate the sample mean as:

$\overline{x}=\frac{1}{n}\sum_{i=1}^n x_i$

Although the sample values xi will be concentrated about the central value x0, the sample mean will become increasingly variable as more samples are taken, because of the increased likelihood of encountering sample points with a large absolute value. In fact, the distribution of the sample mean will be equal to the distribution of the samples themselves; i.e., the sample mean of a large sample is no better (or worse) an estimator of x0 than any single observation from the sample. Similarly, calculating the sample variance will result in values that grow larger as more samples are taken.

Therefore, more robust means of estimating the central value x0 and the scaling parameter γ are needed. One simple method is to take the median value of the sample as an estimator of x0 and half the sample interquartile range as an estimator of γ. Other, more precise and robust methods have been developed [8][9] For example, the truncated mean of the middle 24% of the sample order statistics produces an estimate for x0 that is more efficient than using either the sample median or the full sample mean.[10][11] However, because of the fat tails of the Cauchy distribution, the efficiency of the estimator decreases if more than 24% of the sample is used.[10][11]

Maximum likelihood can also be used to estimate the parameters x0 and γ. However, this tends to be complicated by the fact that this requires finding the roots of a high degree polynomial, and there can be multiple roots that represent local maxima.[12] Also, while the maximum likelihood estimator is asymptotically efficient, it is relatively inefficient for small samples.[13] The log-likelihood function for the Cauchy distribution for sample size n is:

$\hat\ell(\!x_0,\gamma|\,x_1,\dotsc,x_n) = n \log (\gamma) - \sum_{i=1}^n (\log [(\gamma)^2 + (x_i - \!x_0)^2]) - n \log (\pi)$

Maximizing the log likelihood function with respect to x0 and γ produces the following system of equations:

$\sum_{i=1}^n \frac{x_i - x_0}{\gamma^2 + [x_i - \!x_0]^2} = 0$
$\sum_{i=1}^n \frac{\gamma^2}{\gamma^2 + [x_i - x_0]^2} - \frac{n}{2} = 0$

Note that

$\sum_{i=1}^n \frac{\gamma^2}{\gamma^2 + [x_i - x_0]^2}$

is a monotone function in γ and that the solution γ must satisfy

$\min |x_i-x_0|\le \gamma\le \max |x_i-x_0|.$

Solving just for x0 requires solving a polynomial of degree 2n−1,[12] and solving just for γ requires solving a polynomial of degree n (first for γ2, then x0). Therefore, whether solving for one parameter or for both paramters simultaneously, a numerical solution on a computer is typically required. The benefit of maximum likelihood estimation is asymptotic efficiency; estimating x0 using the sample median is only about 81% as asymptotically efficient as estimating x0 by maximum likelihood.[11][14] The truncated sample mean using the middle 24% order statistics is about 88% as asymptotically efficient an estimator of x0 as the maximum likelihood estimate.[11] When Newton's method is used to find the solution for the maximum likelihood estimate, the middle 24% order statistics can be used as an initial solution for x0.

## Circular Cauchy distribution

If X is Cauchy distributed with median μ and scale parameter γ, then the complex variable

$Z = \frac{X - i}{X+i}$

has unit modulus and is distributed on the unit circle with density:

$P_{cc}(\theta;\zeta)= \frac{1}{2\pi } \frac{1 - |\zeta|^2}{|e^{i\theta} - \zeta|^2}$

with respect to the angular variable θ = arg(z),[citation needed] where

$\zeta = \frac{\psi - i}{\psi + i}$

and ψ expresses the two parameters of the associated linear Cauchy distribution for x as a complex number:

$\psi=\mu+i\gamma\,$

The distribution $P_{cc}(\theta;\zeta)$ is called the circular Cauchy distribution[15][16](also the complex Cauchy distribution)[citation needed] with parameter ζ. The circular Cauchy distribution is related to the wrapped Cauchy distribution. If $P_{wc}(\theta;\psi)$ is a wrapped Cauchy distribution with the parameter ψ = μ + i γ representing the parameters of the corresponding "unwrapped" Cauchy distribution in the variable y where θ = y mod 2π, then

$P_{wc}(\theta;\psi)=P_{cc}(\theta,e^{i\psi})\,$

See also McCullagh's parametrization of the Cauchy distributions and Poisson kernel for related concepts.

The circular Cauchy distribution expressed in complex form has finite moments of all orders

$\operatorname{E}[Z^r] = \zeta^r, \quad \operatorname{E}[\bar Z^r] = \bar\zeta^r$

for integer r ≥ 1. For |φ| < 1, the transformation

$U(z, \phi) = \frac{z - \phi}{1 - \bar \phi z}$

is holomorphic on the unit disk, and the transformed variable U(Z, φ) is distributed as complex Cauchy with parameter U(ζ, φ).

Given a sample z1, ..., zn of size n > 2, the maximum-likelihood equation

$n^{-1} U \left(z, \hat\zeta \right) = n^{-1} \sum U \left(z_j, \hat\zeta \right) = 0$

can be solved by a simple fixed-point iteration:

$\zeta^{(r+1)} = U \left(n^{-1} U(z, \zeta^{(r)}), \, - \zeta^{(r)} \right)\,$

starting with ζ(0) = 0. The sequence of likelihood values is non-decreasing, and the solution is unique for samples containing at least three distinct values.[17]

The maximum-likelihood estimate for the median ($\hat\mu$) and scale parameter ($\hat\gamma$) of a real Cauchy sample is obtained by the inverse transformation:

$\hat\mu \pm i\hat\gamma = i\frac{1+\hat\zeta}{1-\hat\zeta}.$

For n ≤ 4, closed-form expressions are known for $\hat\zeta$.[12] The density of the maximum-likelihood estimator at t in the unit disk is necessarily of the form:

$\frac{1}{4\pi}\frac{p_n(\chi(t, \zeta))}{(1 - |t|^2)^2} ,$

where

$\chi(t, \zeta) = \frac{ |t - \zeta|^2}{4(1 - |t|^2)(1 - |\zeta|^2)}$.

Formulae for p3 and p4 are available.[18]

## Multivariate Cauchy distribution

A random vector X = (X1, ..., Xk)′ is said to have the multivariate Cauchy distribution if every linear combination of its components Y = a1X1 + ... + akXk has a Cauchy distribution. That is, for any constant vector a ∈ Rk, the random variable Y = a′X should have a univariate Cauchy distribution.[19] The characteristic function of a multivariate Cauchy distribution is given by:

$\phi_X(t) = e^{ix_0(t)-\gamma(t)}, \!$

where x0(t) and γ(t) are real functions with x0(t) a homogeneous function of degree one and γ(t) a positive homogeneous function of degree one.[19] More formally:[19]

$x_0(at) = ax_0(t),$
$\gamma (at) = |a|\gamma (t),$

for all t.

An example of a bivariate Cauchy distribution can be given by:[20]

$f(x, y; x_0,y_0,\gamma)= { 1 \over 2 \pi } \left[ { \gamma \over ((x - x_0)^2 + (y - y_0)^2 +\gamma^2)^{1.5} } \right] .$

Note that in this example, even though there is no analogue to a covariance matrix, x and y are not statistically independent.[20]

Analogously to the univariate density, the multidimensional Cauchy density also relates to the multivariate Student distribution. They are equivalent when the degrees of freedom parameter is equal to one. The density of a k dimension Student distribution with one degree of freedom becomes:

$f({\mathbf x}; {\mathbf\mu},{\mathbf\Sigma}, k)= \frac{\Gamma\left(\frac{1+k}{2}\right)}{\Gamma(\frac{1}{2})\pi^{\frac{k}{2}}\left|{\mathbf\Sigma}\right|^{\frac{1}{2}}\left[1+({\mathbf x}-{\mathbf\mu})^T{\mathbf\Sigma}^{-1}({\mathbf x}-{\mathbf\mu})\right]^{\frac{1+k}{2}}} .$

Properties and details for this density can be obtained by taking it as a particular case of the multivariate Student density.

## Transformation properties

• If $X \sim \textrm{Cauchy}(x_0,\gamma)\,$ then $kX+l \sim \textrm{Cauchy}(x_0{k}+l,\gamma |k|)\,$
• If $X \sim \textrm{Cauchy}(0,1)\,$ then[citation needed] $\tfrac{2X}{1-X^2} \sim \textrm{Cauchy}(0,1)\,$
• If $X \sim \textrm{Cauchy}(x_0,\gamma_0)\,$ and $Y \sim \textrm{Cauchy}(x_1,\gamma_1)\,$ are independent, then[citation needed] $X+Y \sim \textrm{Cauchy}(x_0+x_1,\gamma_0+\gamma_1)\,$
• If $X \sim \textrm{Cauchy}(0,\gamma)\,$ then $\tfrac{1}{X} \sim \textrm{Cauchy}(0,\tfrac{1}{\gamma})\,$
• McCullagh's parametrization of the Cauchy distributions:[citation needed] Expressing a Cauchy distribution in terms of one complex parameter $\psi=x_0+i\gamma$, define X ~ Cauchy(ψ) to mean X ~ Cauchy$(x_0,|\gamma|)$. If X ~ Cauchy(ψ) then:
$\frac{aX+b}{cX+d}$ ~ Cauchy$\left(\frac{a\psi+b}{c\psi+d}\right)$

where a,b,c and d are real numbers.

• Using the same convention as above, if X ~ Cauchy(ψ) then:[citation needed]
$\frac{X-i}{X+i}$ ~ CCauchy$\left(\frac{\psi-i}{\psi+i}\right)$
where "CCauchy" is the circular Cauchy distribution.

## Related distributions

• $\textrm{Cauchy}(0,1) \sim \textrm{t}(df=1)\,$ Student's t distribution
• $\textrm{Cauchy}(\mu,\sigma) \sim \textrm{t}_{(df=1)}(\mu,\sigma)\,$ Non-standardized Student's t distribution
• If $X, Y \sim \textrm{N}(0,1)\,$ then $\tfrac{X}{Y} \sim \textrm{Cauchy}(0,1)\,$
• If $X \sim \textrm{U}(0,1)\,$ then $\tan \left({\pi\left(x-\tfrac{1}{2}\right)}\right) \sim \textrm{Cauchy}(0,1)\,$
• If X ~ Log-Cauchy(0, 1) then ln(X) ~ Cauchy(0, 1)
• The Cauchy distribution is a limiting case of a Pearson distribution of type 4[citation needed]
• The Cauchy distribution is a special case of a Pearson distribution of type 7.[1]
• The Cauchy distribution is a stable distribution: if X ~ Stable(1, 0, γ, μ), then X ~ Cauchy(μ, γ).
• The Cauchy distribution is a singular limit of a Hyperbolic distribution[citation needed]
• The wrapped Cauchy distribution, taking values on a circle, is derived from the Cauchy distribution by wrapping it around the circle.

## Relativistic Breit–Wigner distribution

Main article: Relativistic Breit–Wigner distribution

In nuclear and particle physics, the energy profile of a resonance is described by the relativistic Breit–Wigner distribution, while the Cauchy distribution is the (non-relativistic) Breit–Wigner distribution.[citation needed]

## References

1. ^ a b N. L. Johnson, S. Kotz, and N. Balakrishnan (1994). Continuous Univariate Distributions, Volume 1. New York: Wiley. , Chapter 16.
2. E. Hecht (1987). Optics (2nd ed.). Addison-Wesley. p. 603.
3. Park, Sung Y.; Bera, Anil K. (2009). "Maximum entropy autoregressive conditional heteroskedasticity model". Journal of Econometrics (Elsevier): 219–230. Retrieved 2011-06-02.
4. Vasicek, Oldrich (1976). "A Test for Normality Based on Sample Entropy". Journal of the Royal Statistical Society, Series B 38 (1): 54–59.
5. S.Kotz et al (2006). Encyclopedia of Statistical Sciences (2nd ed.). John Wiley & Sons. p. 778. ISBN 978-0-471-15044-2.
6. F. B. Knight (1976). "A characterization of the Cauchy type". Proceedings of the American Mathematical Society 55: 130–135.
7. Cane, Gwenda J. (1974). "Linear Estimation of Parameters of the Cauchy Distribution Based on Sample Quantiles". Journal of the American Statistical Association 69 (345): 243–245. JSTOR 2285535.
8. Zhang, Jin (2010). "A Highly Efficient L-estimator for the Location Parameter of the Cauchy Distribution". Computational Statistics 25 (1): 97–105.
9. ^ a b Rothenberg, Thomas J.; Fisher, Franklin, M.; Tilanus, C.B. (1966). "A note on estimation from a Cauchy sample". Journal of the American Statistical Association 59 (306): 460–463.
10. ^ a b c d Bloch, Daniel (1966). "A note on the estimation of the location parameters of the Cauchy distribution". Journal of the American Statistical Association 61 (316): 852–855. JSTOR 2282794.
11. ^ a b c Ferguson, Thomas S. (1978). "Maximum Likelihood Estimates of the Parameters of the Cauchy Distribution for Samples of Size 3 and 4". Journal of the American Statistical Association 73 (361): 211. JSTOR 2286549.
12. Cohen Freue, Gabriella V. (2007). "The Pitman estimator of the Cauchy location parameter". Journal of Statistical Planning and Inference 137: 1901.
13. Barnett, V. D. (1966). "Order Statistics Estimators of the Location of the Cauchy Distribution". Journal of the American Statistical Association 61 (316): 1205. JSTOR 2283210.
14. McCullagh, P., "Conditional inference and Cauchy models", , volume 79 (1992), pages 247–259. PDF from McCullagh's homepage.
15. K.V. Mardia (1972). Statistics of Directional Data. Academic Press. []
16. J. Copas (1975). "On the unimodality of the likelihood function for the Cauchy distribution". Biometrika 62: 701–704.
17. P. McCullagh (1996). "Möbius transformation and Cauchy parameter estimation.". Annals of Statistics 24: 786–808. JSTOR 2242674.
18. ^ a b c Ferguson, Thomas S. (1962). "A Representation of the Symmetric Bivariate Cauchy Distribution". Journal of the American Statistical Association: 1256. JSTOR 2237984.
19. ^ a b Molenberghs, Geert; Lesaffre, Emmanuel (1997). "Non-linear Integral Equations to Approximate Bivariate Densities with Given Marginals and Dependence Function". Statistica Sinica 7: 713–738.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 77, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8361350893974304, "perplexity_flag": "middle"}