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
dynamic panel threshold model and endogeneityDear all, i hope you are doing good you and your families i'm working on my paper and i will be ap…
Merging DatasetsCan I merge two datasets one in long format and one in wide format with each other? Thanks …
Plotting interaction on latent variable after sem/gsemHi Statalist - Longtime reader, first-time poster. I am running an sem/gsem where the latent has 4 i…
File Association problem when changing from Stata 15 to 16 on WIndows 10Hello Stata fellows, I just recently tried to upgrade my Stata 15 to Stata 16 (both installed on a …
Syntax error r(198) when trying to loop an rdrobust command in a matrixDear stata forum, I am writing a paper on the causal effect of compulsory school reforms, expanding…
Subscribe to:
Post Comments (Atom)
0 Response to Cluster firms based on wage distribution on panel data
Post a Comment