Hello everyone,
Based on my title post it seems the question is repeated but no it’s different.
my question is:
I have dataset file consists of a number of independent directors variable. I have created a dummy variable coded 1 if there is at least one independent director on the committee.
I need to remove the firms that have no independent directors on the committee. Maybe it seems to be easy by dropping the observations== 0 ( using either the dummy variable or the variable of number of independent directors). But, I Need to remove those firms with no independent directors over the study period (2000-2006). This means that the remaining observations should consist of a firm that ( for example) did have no independent in the year 2000 then it appointed independent directors in 2001 or 2002.
Because I want to compare between the firm performance before appointing independent directors and after.
kindly who can help me out to do this and create dummy variable coded 1 after appointing independent directors zero before.
please please help.
thank you in advance
Related Posts with Removing specific observations
bubble chart for groupsHi, I am quite new to stata and want to create a bubble chart for visualizing frequencies within a …
Creating a panel dataset using STATAHello colleagues I am analysing the impact of COVID 19 on firms. I want to use two waves of the Wor…
Log Transformation Willingness to Pay DataI am working on a OLS meta regression with a Willingness to Pay (WTP) variable as dependend variable…
Store r-class values and tabulate laterHello all, I am new to stata and my work is about medical data. My data are about diagnostic perfor…
Merge 7 datasetsHello. I have seven different datasets (one per year from 2007 to 2013) with all the variable being…
Subscribe to:
Post Comments (Atom)
0 Response to Removing specific observations
Post a Comment