Hello,
I am trying to use the Heckit procedure to run a model where the selection model is sale (0/1) and condition on making a sale, how much the customer bought (Rev_sum).

heckit(sale ~  ismc*CultDistmc + durationmc*CultDistmc + agent_techmc*CultDistmc + pfmc + warranty + cust_GDP + site_tenure, family = binomial(link="probit"), Rev_sum ~  ismc*CultDistmc + durationmc*CultDistmc + agent_techmc*CultDistmc + pfmc + warranty + location_b + location_t, method = "2step", data=Essay2balanced)

However, I have a nested model where customers are nested within customer service agents and customer service agents are nested within countries.

For example, for the probit model:

Is there a way to integrate the two, to run a selection model with a 3-level HLM structure?

	[[alternative HTML version deleted]]


