I have a set of firms that making a decision. I have a dummy variable called decision, it equals 1 if the firm made such a decision, and equals 0 if the decision is not made. I want to know the proportion of decision =1 relative to the sum of the entire sample (i.e., decision=1+decision=0), let's call it decision_prop. I also have another variable defining which industry each firm is in, how can I calculate decision_prop by industry?
Thanks a lot!
Thanks a lot!
Comment