Dear friends,
I am trying to make a graph, but failing to do so. I think the problem is that I have to many observations, but I do not know.
What I want to do is the following:
I have two variables.
- wealth (has positive and negative values)
- dummy variable D=0,1
Each variable has about 6,5 million observations.
1) Firstly, I want a graph that shows the distribution of wealth in the population.
Now, most of my variables has D=0. There are only about 900 D=1 observations.
2) And now most importantly, I want to know where in the wealth distribution my 900 D=1 observations are?
Are they in the top ten, topp five or are they in the top 1 percent of the wealth distribution?
If I can not do this with a graph, can I do it with a table?
Is there anyone out there willing to help?
I have been trying for quite some time and not getting anywhere. I feel like Sysiphus.. rolling my rock up to the top of the mountain, but not getting anywhere.
Best wishes,
Silje
I am trying to make a graph, but failing to do so. I think the problem is that I have to many observations, but I do not know.
What I want to do is the following:
I have two variables.
- wealth (has positive and negative values)
- dummy variable D=0,1
Each variable has about 6,5 million observations.
1) Firstly, I want a graph that shows the distribution of wealth in the population.
Now, most of my variables has D=0. There are only about 900 D=1 observations.
2) And now most importantly, I want to know where in the wealth distribution my 900 D=1 observations are?
Are they in the top ten, topp five or are they in the top 1 percent of the wealth distribution?
If I can not do this with a graph, can I do it with a table?
Is there anyone out there willing to help?
I have been trying for quite some time and not getting anywhere. I feel like Sysiphus.. rolling my rock up to the top of the mountain, but not getting anywhere.
Best wishes,
Silje
Comment