Context
I am trying to model a latent class model, which i give a priori restriction for the class-specific probabilities I'm using an SP data, for which respondents chose an alternative in 3 different choice situation In the data, the respondents can be divided into 2 groups: Say, Group 1 and Group 2 with some indicator I assume 2 classes(say, class A and B), and i want to give prior restriction that
"given class B, probability of respondent in Group 1 to show observed response to be 0"
"given class B, probability of respondent in Group 2 to show observed response to be 1"
In other words:
Suppose there are total N respondents and that the type indicator = 0 for M respondents, = 1 for N-M respondents.
My intention is to assume that:
(i) M respondents will always belong to Class A
(ii) the remaining N-M respondents probabilistically belong to either Class A or Class B
I'm trying to apply some random effect in the model for some of the N-M respondents to be in Class B (or A)
Problem
I have been looking for ways to give this restriction for class allocation, however i couldn't find an appropriate one. (I looked especially on R packages)
I mean, i couldn't find way to modify class-specific probability for each respondent(given a certain class, probability for a respondent to show observed response)
I've seen some people saying R package flexmix and mixtools are powerful, will those packages capable of what I'm trying to do now?
Any other suggestions on other packages or statistical software are welcomed
Any hints? Thank you in advance!