Hi,
I have a question about data for my thesis and I'm new with Stata!
I have to observe whether or not there occured a rotation of the auditor. To do that, I have data of companies for 2017 and 2018 (which audit firm they have in those years), to decide whether or not there has been a change. With some of the companies there is no data of 2018, which means that those companies need to be excluded. Does anyone maybe know how to exclude such observations? (in this pic, you can see that there is no data for company 0000033073 for 2018, for example).
Array
PS: after that, I want to create a dummy which is equal to 1 if the audit firm in 2018 is different from 2017, also for that I don't know what to use.
I hope that someone can help!
Kind regards,
Oussama
Related Posts with Delete observations if not complete
Loop for collapse + save fileI'm trying to write a loop where I have reporter and partner countries and country groupings as sepa…
Differences in correlation coefficients produced by corr and regFor certain variables, corr and reg produce different correlation coefficients that cannot be explai…
eventstudy2: why my command neglects results of Mondays?Hello everyone I am using the powerful command, eventstudy2 (Thomas Kaspereit, 2020) for a global e…
Looping over many variables to create new variable "if any" ==0Dear Statalist: I am struggling with something that I know should be easy. My data is in long form, …
Revenue Growth TrendHi everyone, I have 15 years (2005-2019) of 548 municipalities general revenue data. I'm trying to g…
Subscribe to:
Post Comments (Atom)
0 Response to Delete observations if not complete
Post a Comment