Hi everyone
I have a set of varibales which are expressed as dummy and i would like to study them. I've encountered this image which is basically showing people who have either stocks or mutual funds or both of them in their portfolio, avoiding to overcount persons who have both stocks and mutual funds (basically treating them just as one person and not as two: in plain vanilla, if only stocks 1, only mutual fund 1 and both 1). Now i'm unable to replicate a function or a code that would allow me to count in this way. Is there anyone willing to help me? I need also to do the same reasoning for even more variable, but now i'm just with these two
Thank You very much
I have a set of varibales which are expressed as dummy and i would like to study them. I've encountered this image which is basically showing people who have either stocks or mutual funds or both of them in their portfolio, avoiding to overcount persons who have both stocks and mutual funds (basically treating them just as one person and not as two: in plain vanilla, if only stocks 1, only mutual fund 1 and both 1). Now i'm unable to replicate a function or a code that would allow me to count in this way. Is there anyone willing to help me? I need also to do the same reasoning for even more variable, but now i'm just with these two
Thank You very much

Comment