Last chance! 50% off unlimited learning
Sale ends in
res.clus(pls)
"plspm"
returned by plspm
."hclust"
containing the results of the Hierarchical Cluster Analysis
on the communality and structural residuals.res.clus
comprises the second and third steps of the REBUS-PLS Algorithm.
In particular it computes communality and structural residuals (as defined in Trinchera (2007) and
Esposito Vinzi et al. (2008)) of each unit from the global model (step two of REBUS-PLS Algorithm).
Then it performs a Hierarchical Cluster Analysis on these residuals (step three of REBUS-PLS Algorithm).
As a result, this function directly provides a dendrogram obtained from a Hierarchical Cluster Analysis.
The number of classes (K) to be taken into account during the successive steps of the REBUS-PLS
Algorithm (performed by it.reb
), and the initial composition of the classes are obtained according
to the results of the Hierarchical Cluster Analysis. Users must choose K according to this dendrogram and use it as an argument in the
it.reb
function.plspm
, it.reb
## example of rebus analysis with simulated data
data(sim.data)
## First compute GLOBAL model
sim.mat <- matrix(c(0,0,0,0,0,0,1,1,0),3,3,byrow=TRUE)
dimnames(sim.mat) <- list(c("Price","Quality","Satisfaction"),
c("Price","Quality","Satisfaction"))
sim.sets <- list(c(1,2,3,4,5),c(6,7,8,9,10),c(11,12,13))
sim.mod <- c("A","A","A") ## reflective indicators
sim.global <- plspm(sim.data, sim.mat, sim.sets, sim.mod)
sim.global
## Then compute cluster analysis on the residuals of global model
sim.res.clus <- res.clus(sim.global)
Run the code above in your browser using DataLab