Hi, I am fitting a finite mixture model using the following code: proc fmm data=mydataset; class x1 ; model y = x1 x2 / dist=poisson k=4; restrict x2 1, x2 -1,x2 1,x2 -1; run; I would like to restrict x2 to be the same across the 4 classes. I have seen examples for k=2 and in fact the code above makes the x2 coeffs equal in the first 2 components but the coefs in the 3rd and 4rth components are not the same. I have tried different combinations but they have failed. It would be great if you could help me correctly add the restrict statement. Thank you, Nikos SAS 9.4
... View more