Hi. I want to create 15 groups of firms based on their wage distribution. I have a 10-year long monthly panel data, in which the unit of observation is the worker. Some workers appear more than once, some change jobs, etc. I am thinking of using `cluster kmeans` command on Stata, on an alternative data in which the unit of observation is each firm, and `x1 x2 x3`,... are the mean wages of each worker through the whole panel. Some firms have many workers so there will be as many variables as workers in the biggest firm. The others would present missing values from variable `xi` to `xj` with `i` being the number of workers in firm i, and `j` the number of workers in the biggest firm.
This option is not very good because I will only work with means.
Do you have a better idea for exploiting the richness of the panel?
I there a better way to cluster firms on panel data?
Thanks!
Related Posts with Cluster firms based on wage distribution on panel data
Stata 17 - how to get forest plots with risk ratio and not log risk ratioHi I am new to Stata 17 meta analysis forest plots. I am analysing binary data for treatment(Yes/No)…
Regression with propensity scoreDear all I am trying to estimates the dynamic treatment effect while using propensity scores. I woul…
Plotting the slopeGood day Statalisters! Is there a command in Stata where I can plot a curve using the lower bound a…
reshaping long-long (?) data (all variables and observations in the single column)Dear all, I have data from the IEA that looks like this: Code: * Example generated by -dataex-. To…
Calculate shares by variable and a conditionHi Stata Users, I have household data and would like to calculate age specific enrollment rates i.e…
Subscribe to:
Post Comments (Atom)
0 Response to Cluster firms based on wage distribution on panel data
Post a Comment