Description Usage Arguments Value Examples
View source: R/clustergscairls.r
clustergscairls
clusters data sets in that way that each cluster has a its own
set of coefficients in the gsc-model.
1 2 | clustergscairls(dat, B, indicatorx, indicatory, loadingx = FALSE,
loadingy = FALSE, k, minmem = FALSE, wieder)
|
dat |
(n,p)-matrix, the values of the manifest variables |
B |
(q,q) lower triangular matrix describing the interrelations of the latent variables: b_ij= 1 regression coefficient of eta_j in the regression relation in which eta_i is b_ij= 0 if eta_i does not depend on eta_j in a direct way (b_ii = 0 !) |
indicatorx |
vector describing with which exogenous composite the X-variables are connected |
indicatory |
vector describing with which endogenous composite the Y-variables are connected |
loadingx |
logical TRUE when there are loadings for the X-variables in the model |
loadingy |
logical TRUE when there are loadings for the Y-variables in the model |
k |
scalar, the number of clusters to be found |
minmem |
number of the cluster's members or FALSE (then ist is set to 2*number of indicators) |
wieder |
scalar, the number of random starts |
out list with components
member | (n,1)-vector, indicator of membership |
Bhat | (k,q,q)-array, the path coefficients of the clusters |
lambda | (p,k)-matrix, the loadings of the clusters |
fitall | the total fit measure for the structural models only |
fit | vector of length k, the fit values of the different models |
R2 | (k,q) matrix, the coefficients of determination for the structural regression equations |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.