Dear all,
I hope you can help me with what seems to be a rather simple issue that i cannot seem to figure out.
I have a cross-section dataset that has information of 140 firms, ordered by id and year – it looks like this:
Array
I need values of revenue (rev) and employment (empl) inserted to this dataset from a panel one, which has information of the same 140 firms, but arranged in a panel format for between 2011-2020 – it looks like this:
Array
Is there a way to match or merge the dataset, somehow being able to insert rev and empl data from the panel one to the cross-section one - only for those years matching in the main 1st dataset? Any ideas? I am new to stata so this might be a rather stupid question but any help is appreciated!
Thanks,
Aydin
Related Posts with Matching values from a panel dataset to a cross-section dataset
Identifying units of analysis in STATAHi, I'm starting a master thesis and am very new to STATA with very little experience. I am looking …
Help with event study on the impact of Hurricane Harvey on the US stock market using SP500 company dataDear Reader, I would like some help with a study I am doing at University. I have downloaded data r…
Endogenous binary regressor in multinomial logit modelHello forum members, i do have a multinomial logit model where one binary explanatory variable is e…
Hypothesis Testing on coefficientsHi I am interested in testing the hypothesis highlighted in the picture. Ho: gamma>=beta and Ha:…
Bootstrap after two stage probitDear all, I was using ivprobit but it seems there is a problem with the margins command when I want …
Subscribe to:
Post Comments (Atom)
0 Response to Matching values from a panel dataset to a cross-section dataset
Post a Comment