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
0 Response to Matching values from a panel dataset to a cross-section dataset
Post a Comment