Dear all,
I want to plot two graphs shown pictures below. I would appreciate if anyone can help me out.
Figure 1 displays the cross-national bivariate relationship between social rights (independent variable) and self-rated health (dependent variable), while Figure 2 depict bivariate relationships between self-rated health and social rights,
with the sample stratified according to sex (men versus women).
As for a data example, I have 16 countries and please note that self-rated health and social right are measured as aggregated variables and, thus, each country has only one value for each of these two variables. In my case, self-rated health is labeled as health and social right is labeled as social_right. Since -dataex- command allows for only 100 observations while I have 16 countries, so to provide as much variation as possible I attached an excel file containing an example of my data.
Figure 1:
Array
Figure 2:
Array
Thank you.
Related Posts with How to plot these graphs?
outreg2 keep option does not workHello, I am in desperate need for some help for my thesis regarding Stata. I would like to make us…
Reshape data in order to calculate gini coefficient panel data using income groupsDear Statalist, I'm trying to calculate the Gini of counties using the the population of 20+ income…
Difference in Consecutive Values by Group LabelsDear Statalisters, I need to generate another variable called 'difference' which contains the differ…
IV ordered probit using CMP (syntax help)Hi There, I am estimating the causal effect of maternal education on child health. My dependent var…
Series 0 not found using grc1leg2Dear all, I am using Stata 14 on Windows 10. The following code is supposed to create a combined gra…
Subscribe to:
Post Comments (Atom)
0 Response to How to plot these graphs?
Post a Comment