Hi, I am very new to Stata so please forgive me if this is a very basic question.
I have a binary variable (Pen) that captures whether or not a person receives a pension and an age variable. I want to plot the proportion of pension recipients by age using a scatter plot. I have been struggling with it for a while. Any assistance would be really appreciated.
Related Posts with scatterplots for binary variables
Why Stata doesn't recognize empty valuesHi, I have recently created a new variable mothergrad1 and there are empty values when I used the f…
Remove accents on a string variable in stataDear everyone, I would like to know if someone knows a STATA code that I can use to remove accents …
Student and Subject Fixed effectsHi, I am running a panel data with 3000 observations and each student has two subjects recorded. I…
Why the local value in a loop changes after use another data-set ?I have two datasets. The first one contains the following data. The data name is Forloop.dta. Code:…
Sum Variable in columsHello i have id Year temp "seq" 1 2001 . 0 1 2002 1 1 1 2003 1 2 1 2004 . 0 2 2001…
Subscribe to:
Post Comments (Atom)
0 Response to scatterplots for binary variables
Post a Comment