Next Article in Journal
On the Kernel of a Polynomial of Scalar Derivations
Next Article in Special Issue
State Vector Identification of Hybrid Model of a Gas Turbine by Real-Time Kalman Filter
Previous Article in Journal
Gene-Similarity Normalization in a Genetic Algorithm for the Maximum k-Coverage Problem
Previous Article in Special Issue
A Fractional Derivative Modeling of Heating and Cooling of LED Luminaires
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Percentile Study of χ Distribution. Application to Response Time Data

by
Juan Carlos Castro-Palacio
1,
Pedro Fernández-de-Córdoba
1,
J. M. Isidro
1,
Esperanza Navarro-Pardo
2,* and
Romeo Selvas Aguilar
3
1
Grupo de Modelización Interdisciplinar, InterTech, Instituto Universitario de Matemática Pura y Aplicada, Universitat Politècnica de València, E-46022 Valencia, Spain
2
Grupo de Modelización Interdisciplinar, InterTech, Departamento de Psicología Evolutiva y de la Educación, Universitat de València, E-46010 Valencia, Spain
3
Facultad de Ciencias Físico-Matemáticas, Universidad Autónoma de Nuevo León, San Nicolás de los Garza 66455, Nuevo León, Mexico
*
Author to whom correspondence should be addressed.
Submission received: 19 January 2020 / Revised: 27 March 2020 / Accepted: 29 March 2020 / Published: 2 April 2020

Abstract

:
As a continuation of our previous work, where a Maxwell–Boltzmann distribution was found to model a collective’s reaction times, in this work we will carry out a percentile study of the χ distribution for some freedom ranging from k = 2 to k = 10. The most commonly used percentiles in the biomedical and behavioral sciences have been included in the analysis. We seek to provide a look-up table with percentile ratios, taken symmetrically about the median, such that this distribution can be identified in practice in an easy way. We have proven that these ratios do not depend upon the variance chosen for the k generating Gaussians. In general, the χ probability density, generalized to take any value of the variance, represents an ideal gas in a k-dimensional space. We also derive an approximate expression for the median of the generalized χ distribution. In the second part of the results, we will focus on the practical case of k = 3, which represents the ideal gas in physics, and models quite well the reaction times of a human collective. Accurately, we will perform a more detailed scrutiny of the percentiles for the reaction time distribution of a sample of 50 school-aged children (7200 reaction times).

1. Introduction

The χ distribution is a well-known probability density function (PDF) for its use in applied statistics [1], and for its appearance in several contexts, such as the Rayleigh distribution (k = 2) and the Maxwell–Boltzmann (MB) distribution in the ideal gas model [2]. This PDF is also interesting because it is built from Gaussian-distributed random variables combined through a Euclidean distance operation. This fact makes the χ distribution easily applicable to model the velocity distribution of a multidimensional ideal gas.
In a recent work [3], we discovered the MB distribution (k = 3) when studying the reaction times of a collective of 168 children. A correspondence between a system of brains and a system of identical, independent particles forming the ideal gas was evidenced.
We are particularly interested in applications to biomedical and collective behavior contexts. In this respect, and in line with our previous works [3,4], we will carry out here a percentile study of the χ distribution. Taking as our reference the most commonly used percentiles, we will report on the percentile ratios, such that the χ PDF can be easily identifiable when exploring data samples.
This work also includes an MB distribution representation of the reaction times of a collective of 50 school-aged children. The participants were asked to respond to visual stimuli within a few hundred milliseconds. We have proven in our previous work [3] that the collective behavior of individuals at short times is ruled by an MB distribution which depends on a single parameter B, namely, a measure of the dispersion of the distribution.
The outline of this work is as follows. In Section 2, the methodology for the percentile study and the analysis of the experimental response time data of 50 school-aged children is explained. Subsequently, in Section 3, the main results are discussed in two subsections: consequences for the percentile study of the χ distribution (PDF and CDF), and the case of k = 3, as applied to describe collective reaction times. Finally, in Section 4, some conclusions are drawn.

2. Methodology

2.1. Percentile Analysis of the χ Distribution (from k = 2 to k = 10)

The χ probability density distribution can be written as,
f ( x ; k ) = 2 1 k 2   B k 2   ( Γ ( k 2 ) ) 1   x k 1   exp ( x 2 2   B ) ,
where k is the number of the degrees of freedom of the distribution, and its variance is related to the parameter B. The corresponding cumulative distribution function (CDF) is expressed as
F ( x ; k ) = 1 ( Γ ( k 2 ) ) 1 Γ ( k 2 , x 2 2   B ) ,
where Γ ( k 2 , x 2 2 B ) is the upper incomplete gamma function and Γ ( k 2 ) is the gamma function. The χ distribution as written in Equation (1) describes a multidimensional ideal gas of particles.
Based on the CDF, the following percentiles combinations were determined: 1 (p1-p50-p99), 2 (p3-p50-p97), 3 (p5-p50-p95), 4 (p10-p50-p90), 5 (p20-p50-p80), 6 (p25-p50-p75), and 7 (p30-p50-p70). The preceding number is just a label to identify each combination. The three numbers between brackets are the positions of the symmetric percentiles about the median (p 50). For each value of the degree of freedom from k = 2 to k = 10, a ratio was calculated as follows for each percentile combination,
r = x 2 x median x median x 1
where x 1 and x 2 are the positions of symmetric percentiles on the left and right ends of a given percentile combination, and x median , the position of the median (e.g., for (p1-p50-p99): x 1 = p1, x 2 = p99 and x median = p50). It is important to remark that we have numerically proven that the ratio r is independent of the value of the parameter B in Equation (1), which is easy to demonstrate analytically:
Let x p ( B ) be the point where the CDF takes the value of the percentile p for a given value of the parameter B, that is,
F ( x p ( B ) ; k ) = 1 ( Γ ( k 2 ) ) 1 Γ ( k 2 , x p 2 ( B ) 2 B ) = p
Then, x p ( B ) satisfies
Γ ( k 2 , x p 2 ( B ) 2 B ) = ( 1 p )   Γ ( k 2 )
If we denote Γ k / 2 ( y )     y t k / 2 1   e t   d t , we can write the former expression as:
Γ k / 2 ( x p 2 ( B ) 2 B ) = ( 1 p )   Γ ( k 2 )
Thus, x p 2 ( B ) = 2   B   Γ k 2 1 ( ( 1 p )   Γ ( k 2 ) ) , where Γ k 2 1 ( ( 1 p )   Γ ( k 2 ) ) denotes the inverse function, and therefore x p   ( B ) depends on the parameter B only through the factor B . Then we can establish that: x p   ( B ) = B   ·   x p   ( B = 1 ) . From the last relation, it is straightforward to demonstrate that r is independent of the parameter B as the factor B is common to x 2 ( B ) ,   x median ( B ) ,   and   x 1 ( B ) .

2.2. Response Time Experiments. A case for k = 3

In the second part of this work we will focus on a percentile study of the MB distribution (k = 3), which is in line with our previous works on reaction times to visual stimuli [3,4]. In addition to the aforementioned percentile combinations (labeled as 1 to 7 in Section 2.1), the following ones covering a broader area under the curve will be determined: 8 (p0.5-p50-p99.5), 9 (p0.7-p50-p99.3), 10 (p2-p50-p98), 11 (p7-p50-p93), 12 (p15-p50-p85), and 13 (p40-p50-p60).
As a case study, we will analyze the response times of a sample of 50 school-aged children between 8 and 10 years of age from Valencia, Spain. The details of the computer-based experiments and for the design of the visual stimuli can be found in our previous work [4], also the methodology for the data processing. However, we will recall in what follows a few expressions with relevance for this work.
From the first three moments (mean: M i , standard deviation: S i and skewness: λ i ) of the reaction time distributions for each participant (denoted by the index i ), the following vector can be defined
v i = ( ( M i M ¯ ) / M ¯ , ( S i S ¯ ) / S ¯ , ( λ i λ ¯ ) / λ ¯ ) = ( v i ( 1 ) , v i ( 2 ) , v i ( 3 ) ) ,
where M ¯ , S ¯ and λ ¯ are the mean values of the moments over the sample of children. Then, the Euclidean norm of the vector, v i , is calculated as
| v i | = ( v i ( 1 ) ) 2 + ( v i ( 2 ) ) 2 + ( v i ( 3 ) ) 2
Each participant can now be represented by a single scalar, | v i | , which has been evidenced to be distributed following an MB distribution [4]. The following expression will be used to fit the experimental data,
Q ( | v i | ) = 2 π B 3 / 2 | v i | 2 exp ( | v i | 2 2 B )
where the parameter B is the only free parameter.

3. Results and Discussions

3.1. Multidimensional, Anisotropic Ideal Gas (χ of k Degrees of Freedom)

The PDF curves of the χ distribution for values from k = 2 to k = 10 are depicted in Figure 1a and the CDF in Figure 1b for B = 0.5. As the values of k increase, the maxima are shifted to the right, and the curves become more symmetric. Similarly, the differences among contiguous curves decrease as the values of k increase. The maximum value of skewness is given for k = 2 (Rayleigh distribution).
In Table 1, the ratios r for different combinations of percentiles Equation (3) are shown. The percentiles were taken symmetrically about the median. The biggest differences across the χ distributions for different k are observed for the ratios involving the smallest values of x 1 and the largest values of x 2 (see Figure 2), thus allowing us to better discriminate among the different curves.
One interesting finding is that the percentile ratios are independent of the parameter B, which has been also proven analytically in Section 2.1. On the other hand, using that x m e d i a n   ( B ) = B   ·   x m e d i a n   ( B = 1 ) , the well-known approximate value of the median of a χ distribution of k degrees of freedom and parameter B = 1 , ( x m e d i a n   k ( 1 2 9 k ) 3 ) can be generalized in order to include the explicit dependence of the parameter B,
x m e d i a n ( B ) B   k ( 1 2 9 k ) 3

3.2. Reaction Times and Ideal Gas. Appearance of the Golden Ratio

Figure 3 shows the probability distribution function of the | v i | as defined in Equation (8). The experimental data are fitted to the MB function in Equation (9) by using the nonlinear fitting algorithm of Levenberg–Marquardt [5,6]. The fitted value of B is 0.123   ± 0.010 with a coefficient of determination of R 2 = 0.90 . A total of 7200 reactions were involved in building the graph in Figure 3.
Using the cumulative distribution for k = 3 Equation (2), the percentile ratio r was determined for each of the following combinations of percentiles (beyond those presented in Table 1): r = 1.6098, 8 (p0.5-p50-p99.5), r = 1.5690, 9 (p0.7-p50-p99.3), r = 1.4421, 10 (p2-p50-p98), r = 1.3305, 11 (p7-p50-p93), r = 1.1902, 12 (p15-p50-p85), and r = 1.0424, 13 (p40-p50-p60).
When we look at the combination labelled as 8 (p0.5-p50-p99.5), we can see that a ratio very close to the Golden Ratio is obtained. In Table 2 we present the values of x 1 (where CDF( x 1 ) = 0.005 ) and x 2 (where CDF( x 2 ) = 0.995 ) , the value of r and the relative error with respect to the Golden Ratio Φ = 1 + 5 2 [7].
If we impose x 1 = 0 and r = Φ , that is, x 2 = x median ( 1 + Φ ) = 4.027 , a value of CDF( x 2 ) = 0.999 is obtained. Therefore, the total probability is recovered within a precision of 0.001. From Equation (10), if we consider a χ distribution of k degrees of freedom and a parameter B, the previous expression can be written in general terms as x 2 = B   k ( 1 2 9 k ) 3 ( 1 + Φ ) . Specifically, for the data summarized in Figure 3, that is, 7200 reaction times (50 participants times 144 reaction times each) and parameter B = 0.123   ± 0.010, a value of x 2 = 1.4169 was found.

4. Conclusions

A percentile study of the χ distribution for values of the degree of freedom between k = 2 and k = 10 has been carried out. The ratios between combinations of percentiles, taken symmetrically about the median, have been reported. The independence of ratios with respect to the parameter B (proportional to the variance) has been shown both numerically and analytically. A general expression of the median as a function of the free parameter B and the degree of freedom (k) has also been reported for the χ distribution. Results show that those percentile combinations comprising bigger areas can be more reliable to identify this distribution (for different k values), as the most significant differences among the ratios are given. The combination of percentiles: p0.5-p50-p99.5 in the case of the MB distribution yielded a ratio, r, close to the Golden Ratio Φ , within a 0.5% of relative error. When the ratio r is taken equal to the Golden Ratio, a value of the cumulative density function of 0.999 is reached, that is, it approaches 1 with a precision of 0.001. This is a curious practical observation for the χ distribution of k = 3 degrees of freedom.

Author Contributions

Methodology, J.C.C.-P., P.F.-d.-C., J.M.I., E.N.-P. and R.S.A.; validation, J.C.C.-P., P.F.-d.-C., J.M.I., E.N.-P. and R.S.A.; investigation, J.C.C.-P., P.F.-d.-C., J.M.I., E.N.-P. and R.S.A.; data curation, J.C.C.-P., P.F.-d.-C., J.M.I., E.N.-P. and R.S.A.; writing—original draft preparation, J.C.C.-P., P.F.-d.-C., J.M.I., E.N.-P. and R.S.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by grant no. RTI2018-102256-B-I00 (Spain).

Acknowledgments

The authors would like to thank the Conselleria d’Educació, Investigació, Cultura i Esport of the Generalitat Valenciana, La Patacona Primary School in Alboraya (Valencia, Spain), the children who participated in the experiments and their families, as well as the students from the Universitat Politècnica de València and from the Universitat of València, who kindly volunteered during the realization of the experiments. The due written consent of the children’s parents or legal guardians was obtained in accordance with the Declaration of Helsinki [8]. R. Selvas also thanks the agreement between the UANL and the UPV for multidisciplinary work in the areas of physics and mathematics.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Doob, J.L. Stochastic Processes; John Wiley & Sons Inc.: Hoboken, NJ, USA, 1966. [Google Scholar]
  2. Tolman, R. The Principles of Statistical Mechanics; Dover Publications Inc.: New York, NY, USA, 2003. [Google Scholar]
  3. Hernaiz-Guijarro, M.; Castro-Palacio, J.C.; Navarro-Pardo, E.; Isidro, J.M.; Fernández de Córdoba, P. A Probabilistic Classification Procedure Based on Response Time Analysis towards a Quick Pre–diagnosis of Student’s Attention Deficit. Mathematics 2019, 7, 473. [Google Scholar] [CrossRef] [Green Version]
  4. Castro-Palacio, J.C.; Fernández de Córdoba, P.; Isidro, J.M.; Navarro-Pardo, E. Brain reaction times: Linking Individual and Collective Behaviour through Physics modelling. arXiv 2019, arXiv:1910.12725. [Google Scholar]
  5. Levenberg, K. A Method for the Solution of Certain Non-Linear Problems in Least Squares. Q. Appl. Math. 1944, 2, 164–168. [Google Scholar] [CrossRef] [Green Version]
  6. Marquardt, D. An Algorithm for Least-Squares Estimation of Nonlinear Parameters. J. Soc. Ind. Appl. Math. 1963, 11, 431–441. [Google Scholar] [CrossRef]
  7. Meisner, G.B. The Golden Ratio: The Divine Beauty of Mathematics; Race Point Publishing: London, UK, 2018. [Google Scholar]
  8. World Medical Association. Declaration of Helsinki: Ethical Principles for Medical Research Involving Human Subjects. J. Am. Med. Assoc. 2013, 310, 2191–2194. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Probability (panel a) and cumulative (panel b) density functions of the χ distribution for k = 2 to k = 10. In both panels the value of B is 0.5 (see Equations (1) and (2)).
Figure 1. Probability (panel a) and cumulative (panel b) density functions of the χ distribution for k = 2 to k = 10. In both panels the value of B is 0.5 (see Equations (1) and (2)).
Mathematics 08 00514 g001
Figure 2. Percentile ratio, r , versus the percentile combination number. The legend for the combination number is: 1 (p1-p50-p99), 2 (p3-p50-p97), 3 (p5-p50-p95), 4 (p10-p50-p90), 5(p20-p50-p80), 6 (p25-p50-p75), and 7 (p30-p50-p70).
Figure 2. Percentile ratio, r , versus the percentile combination number. The legend for the combination number is: 1 (p1-p50-p99), 2 (p3-p50-p97), 3 (p5-p50-p95), 4 (p10-p50-p90), 5(p20-p50-p80), 6 (p25-p50-p75), and 7 (p30-p50-p70).
Mathematics 08 00514 g002
Figure 3. MB-like distribution (χ for k = 3 and B = 0.123 ) obtained from response time data with a coefficient of determination of R 2 = 0.90 . The position of the median is indicated by a blue vertical line and the label “p50”. A total of 7200 reaction times were used. The appearance of the Golden Ratio can be observed.
Figure 3. MB-like distribution (χ for k = 3 and B = 0.123 ) obtained from response time data with a coefficient of determination of R 2 = 0.90 . The position of the median is indicated by a blue vertical line and the label “p50”. A total of 7200 reaction times were used. The appearance of the Golden Ratio can be observed.
Mathematics 08 00514 g003
Table 1. Ratios (r) for different combinations of percentile. As demonstrated above, these ratios are independent of the values of B chosen in Equations (1) and (2).
Table 1. Ratios (r) for different combinations of percentile. As demonstrated above, these ratios are independent of the values of B chosen in Equations (1) and (2).
Combinationsk = 2k = 3k = 4k = 5k = 6k = 7k = 8k = 9k = 10
1 (p1-p50-p99)1.79351.52591.40751.34041.29661.26551.24211.22371.2088
2 (p3-p50-p97)1.58051.39301.30901.26071.22871.20581.18841.17471.1635
3 (p5-p50-p95)1.48211.33051.26191.22201.19551.17641.16181.15021.1408
4 (p10-p50-p90)1.34831.24351.19511.16661.14741.13351.12281.11431.1073
5 (p20-p50-p80)1.21081.15061.12211.10511.09351.08501.07841.07311.0688
6 (p25-p50-p75)1.16431.11831.09631.08311.07401.06731.06221.05801.0547
7 (p30-p50-p70)1.12481.09041.07381.06381.05701.05191.04801.04481.0422
Table 2. Values of x 1 , x 2 , x median , the ratio r, and the relative error with respect to Φ (k = 3).
Table 2. Values of x 1 , x 2 , x median , the ratio r, and the relative error with respect to Φ (k = 3).
k x 1 CDF ( x 1 ) x 2 CDF ( x 2 ) x median r Φ Relative Error
30.267890.0053.58310.9951.53821.60981.61800.5%

Share and Cite

MDPI and ACS Style

Castro-Palacio, J.C.; Fernández-de-Córdoba, P.; Isidro, J.M.; Navarro-Pardo, E.; Selvas Aguilar, R. Percentile Study of χ Distribution. Application to Response Time Data. Mathematics 2020, 8, 514. https://0-doi-org.brum.beds.ac.uk/10.3390/math8040514

AMA Style

Castro-Palacio JC, Fernández-de-Córdoba P, Isidro JM, Navarro-Pardo E, Selvas Aguilar R. Percentile Study of χ Distribution. Application to Response Time Data. Mathematics. 2020; 8(4):514. https://0-doi-org.brum.beds.ac.uk/10.3390/math8040514

Chicago/Turabian Style

Castro-Palacio, Juan Carlos, Pedro Fernández-de-Córdoba, J. M. Isidro, Esperanza Navarro-Pardo, and Romeo Selvas Aguilar. 2020. "Percentile Study of χ Distribution. Application to Response Time Data" Mathematics 8, no. 4: 514. https://0-doi-org.brum.beds.ac.uk/10.3390/math8040514

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop