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
Treatment covariate interactionsHi, I'm running a model in which I have a two-arm treatment and a covariate interaction. The model …
Add string to empty cellHi all, I need add string (N/A) to empty cells for a string Variable, I used "subinstr", but lament…
Creating a more efficient loop for generating multiple datasetsHello Statalist, I am in the process of creating 718 different data files based off of one master d…
Calculating rate and confidence interval for a series of data.Hello all I am doing some time series stuff (using R to do interrupted time series analysis - long …
Creating all combinations of a series of numbers without repeatsHello Statalist, I want to create a variable in Stata that is all of the combinations, repetition, …
Subscribe to:
Post Comments (Atom)
0 Response to Delete observations if not complete
Post a Comment