Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Melaku Fekadu <melaku.fekadu@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: discrete distribution for unobserved heterogeneity |

Date |
Wed, 25 Jul 2012 18:19:32 +0300 |

Dear Statalisters, I have a question which is not exactly stata related. It is a modeling question and I appreciate any help. I want to model unobserved heterogeneity in a structural framework. I have two equations in the model and the unobserved heterogeneity factor is treated in the intercept term in each equation. Eq1i = vi + a*Xi + e1 Eq2i = wi + b*Xi + e2 i represents individual, X are individual characteristics, a and b are coefficients, e1 and e2 are iid shocks. I have 800 individuals in my data, so I do not want to estimate intercept for each individual. Instead I want to assume that there are m types of individuals. Each type has a pair of (v,w); type 1 with (v1,w1), type 2 with (v2,w2) ... and type m with (vm,wm). Apriori I do not have any assumption about the size of m. As a result of the estimation process, I want any person in my data to belong to one of the types, so that I will be able to calculate correlations between unobserved and observed individual characteristics. This will also enable me to know the share of each type in my data. I have come across the Heckman and Singer (1984) method (where they use mass points and probabilities) but I could not understand it to implement it. I found several papers (see paper 2 in the reference) that use this approach to estimate a probability for each individual to belong to type m using a logistic transform. For four types of individuals: pm = exp(qm)/sum(exp(qr)), when r goes from 1 to 4 and q4 is normalized to be 0. But I am not able to understand how this method assigns individuals into types. I will appreciate any help to make this point clear. If I understand how it works I will also want to implement it. To do so I need the q's, v's and w's to be estimated among other parameters of the model. In the estimation process (iterations) the changes in these parameters will change the share of the types in my sample. I will appreciate any guidance on the procedure (in terms of algorithm) to be followed with respect to the unobserved heterogeneity; it will help me write the code for estimation. For example should I, as a first step, divide the sample randomly to equally four types and then shift people from one type to another based on the values of the parameters. I appreciate any help. Thanks, Melaku References: 1. Heckman, J.J. and B. Singer, “A Method for Minimizing the Impact of Distributional Assumptions in Econometric Models for Duration Data,” Econometrica, 1984, 52 (2), 271–320. 2. Mussida, C. & Picchio, M., 2011. "The Trend over Time of the GenderWage Gap in Italy," Discussion Paper 2011-093, Tilburg University, Center for Economic Research. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

- Prev by Date:
**st: Re: st: Re: Problem with "upper" string function: non-English Characters not capitalized. Ex: "são" > "SãO" ; "pará" > "PARá"** - Next by Date:
**Re: st: Fwd: Converting weekly data of form yyyyww** - Previous by thread:
**st: adding spcial character(" ") in a string** - Next by thread:
**st: adjust-logit and standard error of the forecast** - Index(es):