Hi,
I am Soma Gecse, an Economics student from Warwick University.
With my group, we are investigating what the most significant determinants are of happiness. We use the UK's Annual Population Survey in which there are two variables of particular interest: HAPPY (on a scale 1-10 how happy did you feel yesterday?) and AAGE (age group of respondents: 1=Under 16, 2=16-17, 5=25-29, 12=60-64, 13=65-99). As there is no linear association between age and happiness, I would like to plot a graph with the mean happiness of each of the age groups (1-13) to get something that makes sense.
I would really appreciate your help with this issue as it prevents us to progress with this part of the project.
Best wishes,
Soma Gecse
Related Posts with Plotting by subgroups
Multilevel model error with covariance (unstructured) - Hessian is not negative semidefinite conformability errorI'm testing a multilevel model with random slopes and a covariance structure for the error and reml …
Regressions with lagged structure using loop commandHi everyone, I have run the following regressions using the loop command which works just fine: C…
about margins for simple slopeI use STATA 14. When I use the margins to obtain simple slopes, it reports t values instead of z val…
How to calculate the weakest link from a matrix?Dear Statalisters: I hope you are doing well. I am trying to calculate the weakest link from a sampl…
Star option (for significance) for Pearson / Spearman correlation matrix (corsp)Dear Statalist members, I want to display the Pearson correlation coefficients and the Spearman ran…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting by subgroups
Post a Comment