Displaying 3 results from an estimated 3 matches for "unsquared".
2010 Apr 26
2
Cluster analysis: dissimilar results between R and SPSS
...9;'s method and Distance measure= Interval: Squared Euclidean distance.
After that, I computed the means of each variable for each cluster.
The problem is I have different results between the two analyses (different
clusters and means).
However, when I use the "Euclidean distance" (unsquared) in SPSS, I have the
same results!
I thought the R "euclidean" command meant the "usual square distance between
the two vectors (2 norm)" as specified in the documentation, no the
unsquared distance. Did it not?
Thanks for the comment!
Jeffrey
[[alternative HTML version...
2005 Jan 11
1
CUSUM SQUARED structural breaks approach?
Dear all,
Does anyone know where there is R or S code for the CUSUM SQUARED
structural breaks approach? (Brown, Durban and Evans, 1975 - used in
Pesaran and Timmerman, 2002)
The problem is that the breaks package only appears to offer the
standard 'unsquared' CUSUM, even though it appears most think it is
inferior to the squared version. It might appear to be a relatively
simple problem - just use the recursive residuals function, square
them and then take the cumulative sum. But the problem is that the
normalisation and calculation of confidence...
2012 Mar 14
2
Using the mantel test in Ape Package
Hi,
I am trying to use a mantel test on two distance matrices. The code I have entered for each is:
Gen_dists <- read.csv(file.choose(),
stringsAsFactors = FALSE,
na.strings = c(" "),
fill = T,