MixSimreg generates k regression hyperplanes in p dimensions with given overlap
MixSimreg(k,p) generates k groups in p dimensions. It is possible to control the average and maximum or standard deviation of overlapping.
Notation and background.
Given two generic clusters $i$ and $j$ with $i \ne j=1,...,k$, indexed by $\phi(x,\mu_i,\sigma_i^2)$ and $\phi(x,\mu_j, \sigma_j^2)$ with probabilities of occurrence $\pi_i$ and $\pi_j$, the misclassification probability with respect to cluster $i$ (denoted with $w_{ji}$) is defined as
\[ Pr[\pi_i \phi(x,\mu_i,\sigma_i^2) < \pi_j \phi(x,\mu_j,\sigma_j^2)] \]where, in the regression context, $\mu_i={\overline x}_i' \beta_i$ and $\mu_j= \overline x_j' \beta_j$. We assume that the length of vectors $x_i$, $x_j$, $\beta_i$, and $\beta_j$ is $p$ (number of explanatory variables including or excluding intercept). In our implementation, the distribution of the elements of vectors $\beta_i$ ($\beta_j$) can be 'Normal' (with parameters $\mu$ and $\sigma$), 'HalfNormal' (with parameter $\sigma$) or uniform (with parameters $a$ and $b$). Same thing for the distribution of the elements of $x_i$ ($x_j$). However, while the parameters of the distributions are the same for all elements of $\beta$ in all groups, the parameters of the distribution of the elements of vectors $x_i$ ($x_j$) can vary for each group and each explanatory variable. In other words, it is possible to specify (say) that the distribution of the second explanatory variable in the first group is $U(2, 3)$ while the distribution of the third explanatory variable in the second group is $U(2, 10)$.
The matrix containing the misclassification probabilities $w_{ji}$ is called OmegaMap.
The probability of overlapping between groups i and j is given by
\[ w_{ji} + w_{ij} \qquad i,j=1,2, ..., k \]The diagonal elements of OmegaMap are equal to 1.
The average overlap (BarOmega, in the code) is defined as the sum of the off diagonal elements of OmegaMap (containing the misclassification probabilities) divided by $k*(k1)/2$.
The maximum overlap (MaxOmega, in the code) is defined as:
\[ \max (w_{ji} + w_{ij}) \qquad i \ne j=1,2, ..., k \]
The probability of overlapping $w_{ji}$ is nothing but the cdf of a linear combination of non central $\chi^2$ distributions with 1 degree of freedom plus a linear combination of $N(0,1)$ evaluated in a point $c$.
The coefficients of the linear combinations of non central $\chi^2$ and $N(0,1)$ depend on the eigenvalues and eigenvectors of matrix $\Sigma_{ji} = \Sigma^{0.5}_i \Sigma^{1}_j \Sigma^{0.5}_i$.
Point c depends on the same eigenvalues and eigenvectors of matrix $\Sigma_{ji}$, the mixing proportions $\pi_i$ and $\pi_j$ and the determinants $\Sigma_i$ and $\Sigma_j$. This probability is computed using routine ncx2mixtcdf
Example 2: Mixture of regression with prefixed average overlap.out
=MixSimreg(k
,
p
,
Name, Value
)
Maitra, R. and Melnykov, V. (2010), Simulating data to study performance of finite mixture modeling and clustering algorithms, "The Journal of Computational and Graphical Statistics", Vol. 19, pp. 354376. [to refer to this publication we will use "MM2010 JCGS"]
Melnykov, V., Chen, W.C. and Maitra, R. (2012), MixSim: An R Package for Simulating Data to Study Performance of Clustering Algorithms, "Journal of Statistical Software", Vol. 51, pp. 125.
Davies, R. (1980), The distribution of a linear combination of chisquare random variables, "Applied Statistics", Vol. 29, pp. 323333.
Parlett, B.N. and Reinsch, C. (1969), Balancing a matrix for calculation of eigenvalues and eigenvectors, "Numerische Mathematik", Vol. 13, pp. 293304.
Parlett, B.N. and Reinsch, C. (1971), Balancing a Matrix for Calculation of Eigenvalues and Eigenvectors, in Bauer, F.L. Eds, "Handbook for Automatic Computation", Vol. 2, pp. 315326, Springer.
GarciaEscudero, L.A., Gordaliza, A., Matran, C. and MayoIscar, A. (2008), A General Trimming Approach to Robust Cluster Analysis. Annals of Statistics, Vol. 36, 13241345. [Technical Report available at:
www.eio.uva.es/inves/grupos/representaciones/trTCLUST.pdf]
Riani, M., Cerioli, A., Perrotta, D. and Torti, F. (2015), Simulating mixtures of multivariate data with fixed cluster overlap in FSDA, "Advances in data analysis and classification", Vol. 9, pp. 461481.
[DOI 10.1007/s1163401502239].
tkmeans

tclust

tclustreg

lga

rlga

ncx2mixtcdf

restreigen