difference in means between two numerical variables

Discuss statistics related things

by claudiaest » Sat Feb 27, 2021 7:13 pm

Hi there!

Ok, so I have two variables: "age" and "happiness". Happiness is measured on a 1-10 scale (1 being "very unhappy" and 10 being "completely happy"). I want to run a test that tells me what age groups reports a greater happiness level, but I'm a bit lost. I have run an ANOVA test where "happiness" is the dependent variable and "age" is the fixed factor. P-value is 0.004, so I know that it's statically significant. But I don't know what to do beyond that.
I have tried running a post-hoc test, but it just compares the different ages, when what I want is to compare people's ages with their level of happiness.

Any help will be much appreciated !! :)
Thank you x
claudiaest
 
Posts: 5
Joined: Sat Feb 27, 2021 7:04 pm

by jonathon » Sat Feb 27, 2021 9:19 pm

probably a good starting point is just descriptives. specify "happiness" in "Variables", and "age" in "Split by", then i'd use either histograms and/or boxplots to visualise this. this will give you a quick overview, and a sense of whether ANOVA is appropriate.

returning to your ANOVA, assign "happiness" under "Estimated Marginal Means", and it will provide you with a plot according to the ANOVA model you have specified.

kind regards

jonathon
User avatar
jonathon
 
Posts: 1689
Joined: Fri Jan 27, 2017 10:04 am

by claudiaest » Sun Feb 28, 2021 12:45 pm

This was really helpful, thank you! x
claudiaest
 
Posts: 5
Joined: Sat Feb 27, 2021 7:04 pm


Return to Statistics