Hi everyone,
I have a dataset which contains for each observation: firm's specific variables (i.e. balance sheet data), two main categories "default" and "not default" and the rating class of the firm.
I need to obtain a variable Y with the mean of a variable X (firm specific) by rating class conditioning to the category "default".
The issue is that variable Y must be "global" in the sense that also the "not default" firms must contain these values but what I get at the moent is just missing values for the "not default" type.
Any suggestion?
Thank you!
Michael
I have a dataset which contains for each observation: firm's specific variables (i.e. balance sheet data), two main categories "default" and "not default" and the rating class of the firm.
I need to obtain a variable Y with the mean of a variable X (firm specific) by rating class conditioning to the category "default".
The issue is that variable Y must be "global" in the sense that also the "not default" firms must contain these values but what I get at the moent is just missing values for the "not default" type.
Any suggestion?
Thank you!
Michael
Comment