Displaying 2 results from an estimated 2 matches for "dtreat".
Did you mean:
treat
2003 Jun 08
2
LDA: normalization of eigenvectors (see SPSS)
...%Vstar = I
where Vstar are the normalized eigenvectors. Derror is an "error" or
"within" squaresum- and crossproduct matrix (squaresum of the p
variables on the diagonale, and the non-diagonal elements are the sum of
the crossproducts). For Derror the following holds: Dtotal = Dtreat +
Derror.
Since I assume that many of you are familiar with this transformation:
can anybody of you tell me, how to conduct this transformation in R?
Would be very nice. Thanks a lot
Cheers
Christoph
--
Christoph Lehmann <christoph.lehmann at gmx.ch>
2003 Jun 09
1
understanding eigen(): getting non-normalized eigenvectors
...take the example:
A
[,1] [,2]
V1 0.7714286 -0.2571429
V2 -0.4224490 0.1408163
Calculating eigen(A) "by hand" gives the eigenvectors (example from
Backhaus, multivariate analysis):
0.77143 and 0.25714
-0.42245 0.14082
but even eigen(solve(Derror)%*%Dtreat, symmetric = FALSE, EISPACK =TRUE)
which according to ?eigen should not necessarily give the normalized
eigenvectors give the vectors (such as eigen()):
$vectors
[,1] [,2]
[1,] 0.8770963 0.3162278
[2,] -0.4803146 0.9486833
-> how can I replicate the result we get "by han...