Bo-Cox for multivariate normalization
|
08-29-2024, 09:36 AM
Post: #1
|
|||
|
|||
Bo-Cox for multivariate normalization
Good morning, everyone. I must solve the following “optimization” problem: I have a matrix of n=6 rows and p=2 columns:
M9:=[[1,4],[2,8],[7,12],[8,16],[15,21],[19,3]] Assuming that the following matrix is not distributed according to the multivariate normal, there is the Box-Cox method to normalize the matrix. Box and Cox (1964) present the family of transformations defined by: Z = M9(i,j)^L(j) if L<>0 Z = ln(M9(i,j)) if L(j) = 0 where, in this case, L(j):=[L1,L2]. The precise criterion for transforming to multivariate normality is to find the collection of transformations L(j):=[L1,L2] such that the function: F(L) = (-n/2)*ln(ABS(S(L)))+Σ((L(j)-1)*Σ(ln(M9(i,j)),i,1,n),j,1,p) is maximized. It is therefore a question of maximizing F(L). Can anyone help me? Thanks so much |
|||
08-29-2024, 10:39 AM
Post: #2
|
|||
|
|||
RE: Bo-Cox for multivariate normalization
The proposed problem, for a single column matrix, has been solved with the Newton Raphson method. In the program below, "gij" is the gradient, "Hij" the Hessian matrix.
I find it difficult to extend the program to matrices with more than one column (multivariate matrices). Is there perhaps a command in HP Prime to optimize the function described in the first post? Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)