Next Article in Journal
Personalized Transfer Learning Framework for Remaining Useful Life Prediction Using Adaptive Deconstruction and Dynamic Weight Informer
Next Article in Special Issue
A Novel PM2.5 Concentration Forecasting Method Based on LFIG_DTW_HC Algorithm and Generalized Additive Model
Previous Article in Journal
Modified Maximum Likelihood Estimation of the Inverse Weibull Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Equation of Finite Change and Structural Analysis of Mean Value

Independent Researcher, Minneapolis, MN 55305, USA
Axioms 2023, 12(10), 962; https://doi.org/10.3390/axioms12100962
Submission received: 18 September 2023 / Revised: 6 October 2023 / Accepted: 10 October 2023 / Published: 12 October 2023
(This article belongs to the Special Issue Computational Statistics and Its Applications)

Abstract

:
This paper describes a problem of finding the contributions of multiple variables to a change in their function. Such a problem is well known in economics, for example, in the decomposition of a change in the mean price via the varying in time prices and volumes of multiple products. Commonly, it is considered by the tools of index analysis, the formulae of which present rather heuristic constructs. As shown in this work, the multivariate version of the Lagrange mean value theorem can be seen as an equation of the function’s finite change and solved with respect to an interior point whose value is used in the estimation of the contribution of the independent variables. Consideration is performed on the example of the weighted mean value function, which is the main characteristic of statistical estimation in various fields. The solution for this function can be obtained in the closed form, which helps in the analysis of results. Numerical examples include the cases of Simpson’s paradox, and practical applications are discussed.

1. Introduction

This paper considers the finite change formula as an extension of the Lagrange mean value theorem to the multivariate version [1,2,3,4]. This formula is employed for finding a finite change in a function presented as the total of contributions from the increments of the variables. Such problems appear in various applications where the influences of the independent variables are investigated and their contributions to the increment of the outcome variable are estimated. For example, characteristics of growth and rates in economics can be described with the help of the decomposition of a change in the mean price caused by the varying partial prices and structure of volumes of multiple products. These problems are commonly considered in economics and social sciences via the so-called index analysis [5,6,7,8,9], using rather heuristic formulae of Laspeyres, Paasche, Fisher and other indices [10,11,12,13,14,15]. A detail review of various index forms is given in [16], and a description of the R software packages for index analysis can be found in [17]. The line integral approach for decomposition of a function’s change due to alternation of its different variables was suggested by F. Divisia [18] and developed by many authors [19,20,21,22,23]. Variational analysis for finding a geodesic curve with integration by this trajectory is considered in [24], the ideal index formulae are presented in [25,26], and application to the incremental analysis in nonlinear regression models is described in [27].
In contrast to the line integration by continuous trajectories, the Lagrange mean value theorem in its multivariate version can be expressed as an equation of a finite change in the outcome dependent variable. After solving this equation with respect to an interior point, its value is employed for the estimation of the impact of the variables’ modification onto a transformation of their function. Consideration is performed on the example of weighted mean value function, which is one of the main characteristics in any statistical estimation. The solution for this function can be obtained in the closed form, useful in the analysis of the outcome decomposition by changes in the partial values and in the structure of the weighting, which can be particularly helpful in sensibility analysis. Numerical examples also include special cases of the so-called Simpson’s paradox [28,29,30,31,32], in which each particular value increases but their mean value decreases, or vice versa—the particular values decline but their mean value grows. The suggested approach helps to interpret such results via data restructuring.
The paper is organized as follows: Section 2 focuses on the Lagrange theorem for decomposition of finite change in the function due to finite increments of its variables, Section 3 describes the application to the decomposition of the weighted mean value function (with Appendix A), Section 4 presents numerical illustrations, and Section 5 summarizes the results.

2. Lagrange Mean Value Theorem and Finite Change Equation

Consider a continuous function F(x, y, …, z) of many real variables x, y, …, z. Suppose all the variables are known in the initial x0, y0, …, z0 and final x1, y1, …, z1 moments in time (or it could be two compared states of a process, two compared objects, etc.), with the two corresponding function values and their difference F defined as follows:
F = F 1 F 0 = F x 1 ,   y 1 ,   ,   z 1 F x 0 ,   y 0 ,   ,   z 0 .
The aim of the problem consists of decomposition of the increment F into a sum of items representing contributions of a change in each particular variable into the total change F in the function:
F = F x + F y + + F z .
Such a decomposition (2) shows the relative impact of different variables in the function’s alternation. The changes in variables can be parameterized as follows:
x t = x 0 + t x ,
where x = x 1 x 0 . With the parameter t changing on the closed interval [0, 1], the variable x transforms from the initial x0 to the final x1 state, and similarly with all other variables.
For solving the problem of decomposition (2), the Lagrange mean value theorem can be applied. For one variable, this classic theorem can be formulated as follows: for a continuous differentiable function F(x), there exists a point x * on the interval (x0, x1) such that the tangent at this interior point x * equals the slope of the segment between the endpoints, which can be written as
F x * = ( F ( x 1 ) F ( x 0 ) ) / ( x 1 x 0 ) .
The relation (4) can be also rewritten as follows:
F ( x 1 ) F x 0 = F x * ( x 1 x 0 ) ,
which states that the finite change in the function is defined by the derivative of the function in the interior point F x * multiplied by the finite change in the variable x at its endpoints.
For multiple variables, the expression (5) can be generalized in the expression
F = F x x t , , z t x t t + + F z x t , , z t z t t ,
in which F x and F z are the function’s derivatives by x or z, and similarly with the other variables. The variables are defined in the parametric form (3) as x(t), …, z(t), and the notations x t , …, z t are used for the derivatives by the parameter t, so the relation (6) can be simplified to the so-called finite-change Formula (3) (Chapter 5), or the finite-increment Formula (4):
F = F x x t , , z t x + + F z x t , , z t z ,
in which x is defined in (3), and similarly with other variables.
Likewise the Lagrange mean value theorem (5), the relation (7) states that for a given finite change F of the function, there exists at least one point t = t* such that the total differential at the right-hand side (7) at this point equals this finite change in the left-hand side (7).
Each item in (7) corresponds to a change in the function due to the change in each one variable, which is directly related to the problem (2). For a given F , the expression (7) can be considered as an equation of a finite change and solved with respect to the unknown interior point t*, whose value can then be used in the estimation of the contribution of each variable’s change in the transformation of their function (2).

3. Decomposition of Weighted Mean Value

Let us apply the described approach to the problem of decomposition of the mean value by the variables of influence. The arithmetic mean value m in a general form of the weighted values of the variable x is presented by the well-known formula
m = i = 1 k x i n i i = 1 k n i ,
in which xi are all i-th observations (i = 1, 2, …, k, where k is the total number of different observations) and ni are the counts with which the values xi are observed. If all ni are equal, the weighted mean reduces to the simple arithmetic mean value.
Depending on a specific problem, the variables x and n can have various meanings. For example, in studies on consumer purchases, xi and ni could denote the prices and amounts in a set of k products, and then the cost of each product is xini, and the total cost divided by total amount in (8) defines the mean price of the product unit. For a clearer exposition of the results, let us use these connotations, but of course, the terms can differ for another problem. Keeping this in mind, let us consider a problem of change in the mean price (8) for the current period of time compared with a basic period of time (denoted by 1 and 0 subindices, respectively), when the mean price change can be presented as the difference:
m = m 1 m 0 = i = 1 k x 1 i n 1 i i = 1 k n 1 i i = 1 k x 0 i n 0 i i = 1 k n 0 i .
The problem is similar to that formulated in the expression (2)—how can we decompose the total increment m (9) of the mean price into a sum of contributions from a change in each particular price xi and amount ni? For this aim, let us denote each variable change as
x i = x 1 i x 0 i   ,   n i = n 1 i n 0 i ,
and with them, the changes in variables can be parameterized similarly to (3) as follows:
x i ( t ) = x 0 i + t x i   ,   n i ( t ) = n 0 i + t n i
The parameter t varies within the interval [0, 1], and accordingly, all variables (11) change the values from the initial to the final state. Depending on the problem, the variables xi(t) and ni(t) can be continuous or discrete numbers, but it is possible for approximate estimation to consider all of them as continuous variables. Then, the expression of finite change (7) for the mean value function (8) can be written as:
m = i = 1 k m x i x i + i = 1 k m n i n i .
In (12), taking derivatives of m (8) by all 2k variables (11) yields:
m = i = 1 k n i ( t ) x i i = 1 k n i ( t ) + i = 1 k x i ( t ) n i i = 1 k n i ( t ) i = 1 k x i ( t ) n i ( t ) ( i = 1 k n i ( t ) ) 2 i = 1 k n i .
To simplify notations, let us denote the total of amounts as follows:
N 0 = i = 1 k n 0 i ,   N 1 = i = 1 k n 1 i   ,   N = N 1 N 0 = i = 1 k n i .
Using (11) and (14), the relation (13) can be represented in explicit dependence on the parameter t:
m = i = 1 k ( n 0 i x i + n i x i t ) N 0 + t N + i = 1 k ( x 0 i n i + n i x i t ) N 0 + t N i = 1 k x 0 i n 0 i + ( x 0 i n i + n 0 i x i t + n i x i t 2 ) ( N 0 + t N ) 2 N .
This expression presents the equation of finite change (7) for the function of mean value (8), and it is a rational quadratic form by the parameter t. For a given value of the function change (9), the Equation (15) can be solved for finding the internal point t*, with which the contributions from each variable change x i and n i in the total change (12) can be identified. The following result can be proved.
Theorem. 
The equation of finite change for the mean value function (15) has only one feasible root:
t * = 1 1 + N 1 / N 0   .
Proof of Theorem. 
The proof of this theorem is given in Appendix A.
With only one solution for the internal point t* (16), the decomposition (2) for the mean value function (8) by the variables of impact is also unique. This point identifies the values in trajectories (11):
x i t * = x 1 i N 0 + x 0 i N 1 N 0 + N 1 ,   n i t * = n 1 i N 0 + n 0 i N 1 N 0 + N 1 .
Let us consider the first quotient in (13), which defines the change m occurring due to the changes in the x-variables. Using the second relation (17) in the first quotient (13) yields:
m x = i = 1 k n i t * x i i = 1 k n i t * = i = 1 k n 1 i N 0 + n 0 i N 1 x i i = 1 k n 1 i N 0 + n 0 i N 1 = i = 1 k w i x i ,
in which the weights wi are defined as:
w i = n 1 i N 0 + n 0 i N 1 i = 1 k n 1 i N 0 + n 0 i N 1 = n 1 i / N 1 + n 0 i / N 0 i = 1 k n 1 i / N 1 + n 0 i N 0 = n 1 i / N 1 + n 0 i / N 0 N 1 + N 0 ,
with their total equal to one:
i = 1 k w i = 1 .
It is useful to mention that both of the relations (A11) could be equal to zero only when n 1 i = n 0 i by all i, which corresponds to the trivial case when only x-s vary, so the total change in the mean value is defined by the same Formula (18) with weights (19) reduced to the values w i = n 0 i / N 0 . Thus, such a special case is also covered by the general solution (18)–(19).
The last two quotients (13) are related to the change in the mean value m because of the variations in the n-variables, which can be presented as follows:
m n = i = 1 k x i t * n i j = 1 k n j t * N i = 1 k n i t * j = 1 k x j t * n j t * j = 1 k n j t *   .
The last quotient in (21) is the mean value (8) taken in the internal point (16):
m t * = j = 1 k x j t * n j t * j = 1 k n j t * .
With (22), the total change m due to changes n (21) is defined as the weighted sum of the deviations of x i t * n i from the mean m ( t * ) N :
m n = i = 1 k 1 j = 1 k n j t * x i t * n i m ( t * ) N   .
Using both relations (17), and also the equality
j = 1 k n 1 j N 1 + n 0 j N 0 = N 1 + N 0 ,
we can transform (23) to the expression:
m n = 1 N 1 + N 0 i = 1 k x 1 i N 1 + x 0 i N 0 ( n i w i N ) .
It is the explicit form for the formulae (21) and (23), and it contains deviations of the changes in ni from the total change in N weighted by values wj (19). In a special case of the constant quantities by both periods of time, when n i = 0   by all i, the change m n in (25) equals zero, so a change in m can occur only due to a change in the x-variables (18). If for some quantities n i 0 but the total quantity is constant, N = 0   , then the last item in (25) disappears, and this expression becomes similar to the form (18). The compact expression (23) and the explicit Formula (25) are convenient for the interpretation and calculations as well.
Formulas (18) and (25) for an i-th item from their totals identify an impact of the change in each particular xi and ni variables, which can be presented as
m x i = x i N 1 + N 0 n 1 i N 1 + n 0 i N 0   ,
and the second one is
m n i = 1 N 1 + N 0 x 1 i N 1 + x 0 i N 0 n i N N 1 + N 0 n 1 j N 1 + n 0 j N 0 ,
in which the weights wj are defined in (19). The sum of the contributions (26) and (27) is:
m x i + m n i = 1 N 1 + N 0 x i n 1 i N 1 + n 0 i N 0 + n i x 1 i N 1 + x 0 i N 0 N 1 N 0 N 1 + N 0 x 1 i N 1 + x 0 i N 0 n 1 i N 1 + n 0 i N 0 = x 1 i n 1 i N 1 + N 0 1 N 1 + N 0 N 1 x 0 i n 0 i N 1 + N 0 1 N 0 + N 1 N 0 = x 1 i n 1 i N 1 x 0 i n 0 i N 0 = m 1 i m 0 i .
Thus, the total of the i-th contributions from the variables’ change equals the change in the i-th component of the mean value (8). Summing the relation (28) by all i-th contributions, yields the change in the mean value (9):
i = 1 k m x i + i = 1 k m n i = i = 1 k m 1 i i = 1 k m 0 i = m ,
which proves that the obtained formulae for all inputs are correct. It is also useful to note that if one of contributions is already calculated, then to facilitate the calculations, the complementary one can be found as its difference from the mean’s change by the relation (28). For example, when we know m x i , then it is possible to estimate another contribution by the i-th product as:
m n i = m 1 i m 0 i m x i .
Summing (30) with respect to i yields a similar relation for the total values, which can be easily obtained from (30) by omitting the i-subindex.
In interpretation of the results, we should take into account the following features of the obtained formulae. Each i-th contribution into the total change m x (18) depends on the signs of x , so a positive change x i > 0 increases the outcome m , while a negative change x i < 0 diminishes the outcome. In contrast to it, an i-th contribution into the total change m n (25) because of the change n i , is more complicated: a positive contribution to the change in the mean value is given when n i w i N > 0 , if the change n i is above the weighted total change w i N . Similarly, for the opposite case n i w i N < 0 , the contribution of the change n i to the change in the mean value is negative. This complicated impact of the quantities ni onto the mean value and its change (8)–(9) leads to the possibility of encountering the so-called Simpson’s paradox when the increased value in each item produces a decrease in their mean outcome, and vice versa, when a decrease in each item yields an unexpected increase in the mean value.
The described approach based on the Lagrange mean value theorem was demonstrated for decomposition of the mean value function. Actually, many functions can be transformed to the structure similar to the mean value. It especially concerns the statistical functions with summing by the data observations. For example, in the pair regression model y = a + bz, the slope coefficient equals the quotient of the sample covariance to the variance of the predictor, which can be transformed to the following form:
b = i = 1 k z i m z y i m y j = 1 k ( z j m z ) 2 = i = 1 k ( z i m z ) 2 j = 1 k ( z j m z ) 2 y i m y z i m z = i = 1 k v i b i   ,
in which vi denotes the weights of squared deviations ( z i m z ) 2 in their total, and bi denotes the partial slope coefficients in each i-th observation. The obtained function (31) has a structure of the weighted mean value, and its change can be studied in the described approach. Another example of the functions of mean value structure can be found in the readability indices, in average number of elements per word or words per sentence [33]. Changes in values of those functions can be investigated via decomposition by the factors of influence as well.

4. Numerical Examples

To illustrate the described approach in numerical estimations, let us consider a set of ten products sold at a market in two consecutive time periods. For example, it can be a car dealership with ten models of trucks. The prices and quantities of the basic period x0 and n0, and of the current period x1 and n1, are shown in the first columns of Table 1, together with their total values given there in the last row. The total quantity diminishes from N0 = 48 to N1 = 37, so by N = 11 , and the internal point (16) value equals t* = 0.532.
The next columns in Table 1 contain the corresponding total costs divided by the total quantities, x0in0i/N0 and x1in1i/N1, which define the i-th items and their total m0 and m1 in the mean prices (8)–(9) of each period. The changes in the i-th prices and quantities (10) are given in the next two columns, and then the column wi presents the weights (19)–(20). After this, the next two columns show the change in the mean price due to the changes (18) in the partial prices and due to the changes (25) in the quantities. The sum of these two columns in Table 1 yields the last column of the total change in the mean price for each i-th product (28) and by all of them in total (29), which equals:
m = m x + m n = 14.675 4.683 = 9.992 .
Thus, the changes in the particular prices led to the increment m x in the mean price, but restructuring according to the changes in the amounts m n decreased the total mean price m . The change (32) in the mean price equals the difference (9) of the mean prices m1 and m0 in Table 1.
Table 1 also demonstrates that the signs of difference in all i-th contributions m x i coincide with the direction of changes in the partial prices x i , as follows from the Formula (18). However, the signs of the contributions m n i and the signs of changes in the amounts n i themselves, due to (25), can vary in different directions. For example, for the products with i = 3, 5, the quantities grow, n i > 0 , and the contribution to the mean price is positive, m n i > 0 ; for the products with i = 1, 8, 9, there is no change in quantities, n i = 0 , but their impact onto the mean price is positive, m n i > 0 ; for the rest of products with i = 2, 4, 6, 7, 10, there is a reduction in quantities, n i < 0 , and the input into the mean price is negative, m n i < 0 for the products i = 2, 4, 10, but the input is positive, m n i > 0 , for the products i = 6 and 7. Therefore, a redistribution of the amounts n can yield various results depending on the structure of the weights and total amounts, as expressed in the Formula (25).
In Table 1, all ten prices go up and the mean price also grows, which seems natural and is not surprising. However, the complex structure of the amounts ni and their evolution n i can influence the mean price so that it would change in the opposite direction, which produces the famous Simpson’s paradox. Let us consider it in the next example presented in Table 2 organized similarly to the previous table.
The prices and quantities of the basic and current periods in Table 2 seem to be very similar to those in Table 1. The total quantity become N0 = 62 in the basic and N1 = 40 in the current periods, so the change is also negative, N = 22 , and the internal point (16) is t* = 0.555. The price of each product increases, so all x i > 0 , and all contributions to the change in the mean price are positive m x i > 0 as well. However, the total change in the mean price is negative, so it diminishes:
m = m x + m n = 3.661 7.735 = 4.074 .
Similarly to the previous data results (32), the change in the mean price has the positive impact of changes in the prices and negative impact of changes in the amounts. However, with respect to the absolute value, there is a relation m x > | m n | in (32), while there is the opposite inequality m x < | m n | in (33). Thus, in spite of the increases in all the prices, the mean price decreases, which occurs because the negative changes in the amounts m n overcome the positive impact m x . By referring to Table 2, we can identify which products give a negative impact: those with i = 2, 3, 4, 8, 10, with contributions m n i < 0 . If to change places for the data of the basic and the current periods, the results in Table 2 receive the opposite signs. It would correspond to another situation when a decrease in all prices produces the mean price growth. Such an ambiguity could distort an adequate understanding of the results presented in some statistical reports, which should be considered with attention and caution.
Let us also compare the newly developed technique based on the Lagrange mean theorem and one of the common techniques of the logarithmic decomposition of the total increment, described in [24,25] and also [26] (Formula (11)) and [32] (Formula (10)). Table 3 at first presents results for dataset-1: Lagrange-based decomposition for the share m x , repeated from Table 1 for the sake of comparison with its logarithmic estimation, and their ratio. The last three columns in Table 3 show similar results for dataset-2 from Table 2. We can see that within each dataset, the results via both methods are very close with respect to any i-th product, mostly within several precent, and the mean difference shown in the last row is about 4–8%. Thus, these methods support the results of each other, and are open for further investigation.
It is important to note that the decomposition of a function change due to the changes in its independent variables presents a special kind of descriptive analysis which can indicate in which directions researchers and managers can find how to improve the outcome values. With some products of positive and others of negative contributions into the change in the mean price, the best and worst players can be identified. Of course, it is difficult to predict an actual rate of the mean price change with improvement in the product characteristics because many factors play their role in the market. For example, some products can be complementary, others substitutional, the market context has its effects, and other conditions can influence the consumers decisions [34,35]. It can also be useful to build a spreadsheet calculator for performing the described decompositions and considering various “what-if” scenarios according to the obtained results.

5. Summary

This paper described the generalized Lagrange mean value theorem for multiple variables in application to the decomposition of a function’s change and presented it as the sum of contributions from the change in each independent variable. The multivariate version of the Lagrange mean value theorem is considered as a finite change equation that can be solved with respect to an interior point, whose value is used for the estimation of the contribution of the independent variables. The derivation and analysis are performed on the example of the weighted mean value function, which is one of the main characteristics of statistical description practically in all areas of research. The solution for this function is obtained in the closed form, which is helpful in the analysis of results. Numerical examples include also the cases of the Simpson’s paradox. The described possibilities of the finite change equation can be useful in practical applications when a researcher or manager needs to identify which components of the characteristic of mean value give the main positive or negative impact, because these items can be considered as the main drivers for reaching an increase or decrease in the mean price value. The suggested approach can be implemented for finding a structure of change for other functions as well. It can enrich the possibilities of data analysis and serve various practical applications.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Acknowledgments

I am grateful to the three reviewers for their comments and suggestions which helped to improve the paper.

Conflicts of Interest

The author declares no conflict of interest.

Appendix A

The Proof of Theorem is as follows. Multiplying the equation of finite change (15) by the common denominator yields:
N 0 + t N 2 m = N 0 + t N i = 1 k ( ( n 0 i x i + x 0 i n i ) + 2 n i x i t ) N i = 1 k x 0 i n 0 i + ( x 0 i n i + n 0 i x i t + n i x i t 2 )
Opening parentheses and gathering items by the power of parameter t produces the following quadratic equation:
t 2 N ( m N i = 1 k x i n i ) + 2 t N 0 ( m N i = 1 k x i n i ) + ( m N 0 2 N 0 i = 1 k x 0 i n i + n 0 i x i + N i = 1 k x 0 i n 0 i ) = 0 .
To simplify the last expression of the intercept, we notice the equality
x 1 n 1 = ( x 0 + x ) n 0 + n = x 0 n 0 + x n + x 0 n + n 0 x   .
Then, the last two items in (A3) can be represented via the other items, and summing such relation by all i yields:
i = 1 k ( x 0 i n i + n 0 i x i ) = i = 1 k x 1 i n 1 i i = 1 k x 0 i n 0 i i = 1 k x i n i
Taking into account the definitions (9) and (14), the relation (A4) can be simplified to the expression:
i = 1 k ( x 0 i n i + n 0 i x i ) = N 1 m 1 N 0 m 0 i = 1 k x i n i .
Substituting (A5) in place of the intercept in (A2) leads to such an expression for it:
m N 0 2 N 0 i = 1 k x 0 i n i + n 0 i x i + N i = 1 k x 0 i n 0 i = N 0 ( m N 0 N 1 m 1 + N 0 m 0 + N m 0 + i = 1 k x i n i = ( N 0 ) ( m N i = 1 k x i n i ) .
Using the obtained result (A6) for the intercept in the Formula (A2) yields the quadratic equation of the following form:
t 2 N ( m N i = 1 k x i n i ) + 2 t N 0 ( m N i = 1 k x i n i ) N 0 ( m N i = 1 k x i n i ) = 0   .
This equation contains the same term in parentheses with each of its items by power t. If this multiplier does not equal zero, then it can be cancelled from the Equation (A7).
In a general case of changed quantities, when n i 0   at least for some i, this multiplier differs from zero—indeed, using definitions (9), (10) and (14) lets us transform it as follows:
m N i = 1 k x i n i = i = 1 k x 1 i n 1 i i = 1 k n 1 i i = 1 k x 0 i n 0 i i = 1 k n 0 i i = 1 k n 1 i i = 1 k n 0 i ( i = 1 k x 1 i n 1 i i = 1 k x 1 i n 0 i i = 1 k x 0 i n 1 i + i = 1 k x 0 i n 0 i ) .
Opening parentheses in (A8) simplifies this expression further to the following one:
m N i = 1 k x i n i = i = 1 k n 0 i x 1 i j = 1 k x 1 j n 1 j j = 1 k n 1 j + i = 1 k n 1 i x 0 i j = 1 k x 0 j n 0 j j = 1 k n 0 j = i = 1 k n 0 i x 1 i m 1 + i = 1 k n 1 i x 0 i m 0 .
A sum of the weighted deviations of xi from their weighted mean value equals zero only if the weights are the same as used in the definition of the mean value, for example:
i = 1 k n 1 i x 1 i j = 1 k x 1 j n 1 j j = 1 k n 1 j = 0   ,   i = 1 k n 0 i x 0 i j = 1 k x 0 j n 0 j j = 1 k n 0 j = 0   .
However, the result in (A9) differ from the equalities (A10)—the deviations from the mean values in (A9) are taken with the counts ni of the other set, so these totals differ from zero:
i = 1 k n 0 i x 1 i m 1 0   ,   i = 1 k n 1 i x 0 i m 0 0   .  
Therefore, the same term in three parentheses in (A7) is not of zero value and can be canceled, yielding the following simple quadratic equation:
t 2 N + 2 t N 0 N 0 = 0   .
For the same total amounts N = 0 (although with some n i 0 ), (A12) becomes the linear equation with the solution t* = 1/2. For the general case of different N0 and N1, the quadratic Equation (A12) has the following solutions:
t 1,2 = 2 N 0 ± 4 N 0 2 + 4 N 0 N 2 N = N 0 ± N 0 N 1 N   .
Taking the positive solution from (A13), feasible for the definitions in (11), yields the result:
t * = N 0 ( N 1 N 0 ) N = N 0 ( N 1 N 0 ) N 1 N 0 = N 0 N 0 + N 1 = 1 1 + N 1 / N 0  
It is the meaningful and unique solution (16) for the Equation (15) of finite change. It holds for the equal total amounts N0 = N1 as well, reducing to t* = 1/2.

References

  1. Fikhtengol’tz, G.M. The Fundamentals of Mathematical Analysis; Pergamon Press: Oxford, UK, 1965; Volume 1. [Google Scholar]
  2. Cao, H.; Li, B. The Lagrange Mean Value Theorem of a Function of n Variables. 2014. Available online: https://www.researchgate.net/publication/238757054 (accessed on 11 October 2023).
  3. Zając, K. Generalized Lagrange theorem. arXiv 2023, arXiv:2303.09237. [Google Scholar]
  4. Finite-Increments Formula—Encyclopedia of Mathematics. 2023. Available online: http://encyclopediaofmath.org/index.php?title=Finite-increments_formula&oldid=38670 (accessed on 11 October 2023).
  5. Hummelbrunner, S.A.; Rak, L.J.; Fortura, P.; Taylor, P. Contemporary Business Statistics with Canadian Applications, 3rd ed.; Pearson Education Canada: Don Mills, ON, Canada, 2003. [Google Scholar]
  6. Hill, R.J. Constructing price indexes across space and time: The case of the European Union. Am. Econ. Rev. 2004, 94, 1379–1410. [Google Scholar] [CrossRef]
  7. Coelli, T.J.; Rao, D.S.P.; O’Donnell, C.J.; Battese, G.E. An Introduction to Efficiency and Productivity Analysis, 2nd ed.; Springer Science: New York, NY, USA, 2005. [Google Scholar]
  8. O’Donnell, C.J. Nonparametric estimates of the components of productivity and profitability change in U.S. agriculture. Am. J. Agric. Econ. 2012, 94, 873–890. [Google Scholar] [CrossRef]
  9. Balk, B.M. Price and Quantity Index Numbers; Cambridge University Press: New York, NY, USA, 2012. [Google Scholar]
  10. Fisher, I. The Making of Index Numbers; Houghton Mifflin: Boston, MA, USA, 1922. [Google Scholar]
  11. Yule, G.U.; Kendall, M.G. An Introduction to the Theory of Statistics; Griffin: London, UK, 1950. [Google Scholar]
  12. Griliches, Z. (Ed.) Price Indexes and Quality Change; Harvard University Press: Cambridge, MA, USA, 1961. [Google Scholar]
  13. Allen, R.G.D. Index Numbers in Theory and Practice; Macmillan & Co.: London, UK, 1975. [Google Scholar]
  14. Vogt, A.; Barta, J. The Making of Tests for Index Numbers: Mathematical Methods of Descriptive Statistics; Springer: Heidelberg, Germany, 1997. [Google Scholar]
  15. Ralph, J.; O’Neill, R.; Winton, J. A Practical Introduction to Index Numbers; Wiley Online Books: Hoboken, NJ, USA, 2015. [Google Scholar] [CrossRef]
  16. Turvey, R. Consumer Price Index Manual: Theory and Practice; Consumer Price Index Manual: Theory and Practice (ilo.org); Oxford Academic: Oxford, UK, 2005. [Google Scholar]
  17. Zhou, N.B. Simple Index and Weight Index Examples in R. 2021. Available online: mssqltips.com (accessed on 11 October 2023).
  18. Divisia, F. L’indice monetaire et la theorie de la monnaie. Rev. D’economie Polit. 1925, 39, 842–861. [Google Scholar]
  19. Montgomery, J.K. The Mathematical Problem of the Price Index; P.S. King: London, UK, 1937. [Google Scholar]
  20. Hulten, C.R. Divisia index numbers. Econometrica 1973, 41, 1017–1025. [Google Scholar] [CrossRef]
  21. Diewert, W.E. Superlative index numbers and consistency in aggregation. Econometrica 1978, 46, 980–1008. [Google Scholar] [CrossRef]
  22. Banerjee, K.S. On the Factorial Approach Providing the True Index of Cost of Living; Vandenhoeck & Ruprecht: Gottingen, Germany, 1980. [Google Scholar]
  23. Barnett, W.A.; Offenbacher, E.K.; Spindt, P.A. The new Divisia monetary aggregates. J. Political Econ. 1984, 92, 1049–1085. [Google Scholar] [CrossRef]
  24. Lipovetsky, S. Variational analysis of the breakdown of the increase between factors. Matekon 1983, 20, 93–103. [Google Scholar]
  25. Vartia, Y.O. Ideal log-change index numbers. Scand. J. Stat. 1976, 3, 121–126. [Google Scholar]
  26. Sato, K. The ideal log-change index number. Rev. Econ. Stat. 1976, 58, 223–228. [Google Scholar] [CrossRef]
  27. Lipovetsky, S. Extraction of increments in multifactor models. Ind. Lab. 1984, 50, 280–283. [Google Scholar]
  28. Simpson, E.H. The interpretation of interaction in contingency tables. J. R. Stat. Soc. Ser. B 1951, 13, 238–241. [Google Scholar] [CrossRef]
  29. Gurland, J.; Sethuraman, J. How pooling failure data may reverse increasing failure rates. J. Am. Stat. Assoc. 1995, 90, 1416–1423. [Google Scholar] [CrossRef]
  30. Kocik, J. Proof without words: Simpson’s paradox. Math. Mag. 2001, 74, 399. [Google Scholar] [CrossRef]
  31. Curley, S.P.; Browne, G.J. Normative and descriptive analyses of Simpson’s paradox in decision making. Organ. Behav. Hum. Decis. Process. 2001, 84, 308–333. [Google Scholar] [CrossRef] [PubMed]
  32. Lipovetsky, S.; Conklin, M. Data aggregation and Simpson’s paradox gauged by index numbers. Eur. J. Oper. Res. 2006, 172, 334–351. [Google Scholar] [CrossRef]
  33. Lipovetsky, S. Readability Indices Structure and Optimal Features. Axioms 2023, 12, 421. [Google Scholar] [CrossRef]
  34. Tversky, A.; Simonson, I. Context-dependent preferences. Manag. Sci. 1993, 39, 1179–1189. [Google Scholar] [CrossRef]
  35. Lipovetsky, S.; Conklin, M. Finding items cannibalization and synergy by BWS data. J. Choice Model. 2014, 12, 1–9. [Google Scholar] [CrossRef]
Table 1. Change in the mean price (dataset-1).
Table 1. Change in the mean price (dataset-1).
ItemBasic PeriodCurrent PeriodMean PriceChange in VariablesChange in Mean Value
ix0n0x1n1m0m1 x n wi m ( x ) m ( n ) m
13024021.2502.1621000.0470.4750.4380.912
25044034.1673.243−10−10.082−0.823−0.101−0.923
34036052.5008.1082020.0961.9293.6795.608
47058017.2922.16210−40.0680.681−5.811−5.130
51517040.3137.5685530.0623.3903.8657.255
65074567.2927.297−5−10.153−0.7670.7730.006
76063057.5004.054−30−10.130−3.8920.446−3.446
84045043.3335.4051000.0950.9491.1232.072
98034035.0003.243−4000.071−2.8471.091−1.757
10201310045.41710.81180−90.19515.581−10.1865.394
total455485553744.06354.054100−11114.675−4.6839.992
Table 2. Change in the mean price and Simpson’s paradox (dataset-2).
Table 2. Change in the mean price and Simpson’s paradox (dataset-2).
ItemBasic PeriodCurrent PeriodMean PriceChange in VariablesChange in Mean Value
ix0n0x1n1m0m1 x n wi m ( x ) m ( n ) m
13053682.4197.200630.1340.8033.9784.781
25085436.4524.0504−50.1050.420−2.821−2.402
340104516.4521.1255−90.1010.503−5.830−5.327
470973110.1611.8253−80.0920.275−8.611−8.336
51531840.7261.800310.0710.2140.8601.074
64074584.5169.000510.1520.7583.7254.484
72062181.9354.200120.1430.1432.1222.265
84054323.2262.1503−30.0670.201−1.277−1.076
93033341.4523.300310.0710.2141.6341.848
102062211.9350.5502−50.0650.130−1.515−1.385
total355623904039.27435.20035−2213.661−7.735−4.074
Table 3. Comparison of the newly developed and standard techniques.
Table 3. Comparison of the newly developed and standard techniques.
Dataset-1Dataset-2
iLagrange Based, from Table 1
a = m x
Logarithmic Method
b = m x
Their Ratio b/aLagrange Based, from Table 2
c = m x
Logarithmic Method
d = m x
Their Ratio d/c
10.4750.4791.0090.8030.7990.995
2−0.823−0.8221.0000.4200.3970.945
31.9291.9331.0020.5030.3590.714
40.6810.5630.8270.2750.2040.741
53.3903.5071.0340.2140.2161.007
6−0.767−0.7691.0020.7580.7661.010
7−3.892−3.8830.9980.1430.1430.999
80.9490.9561.0080.2010.1920.954
9−2.847−2.8130.9880.2140.2151.002
1015.58112.5630.8060.1300.1050.810
mean 0.967 0.918
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lipovetsky, S. Equation of Finite Change and Structural Analysis of Mean Value. Axioms 2023, 12, 962. https://doi.org/10.3390/axioms12100962

AMA Style

Lipovetsky S. Equation of Finite Change and Structural Analysis of Mean Value. Axioms. 2023; 12(10):962. https://doi.org/10.3390/axioms12100962

Chicago/Turabian Style

Lipovetsky, Stan. 2023. "Equation of Finite Change and Structural Analysis of Mean Value" Axioms 12, no. 10: 962. https://doi.org/10.3390/axioms12100962

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