2

I was setting up the following exemplarely mixture of regression model using the flexmix package in R: model = flexmix(y~ x1 + x2 +x3, data = Data, k=2, control = list(verb = 5, iter = 1000)) How can I decide to drop one variable in one of the components, so that I mix y~x1+x3 in component 1 with y~x2+x3 in component 2?

SOS
  • 6,430
  • 2
  • 11
  • 29
Rzero
  • 21
  • 1

0 Answers0