# The individual level model

Add all candidates and eliminate variables with coefficients that do not attain statistical significance or add variables in groups - demographic, socioeconomic, social support - to find out which group of variables can explain some of the differences between countries.

Follow the latter strategy and add variables in blocks. Eliminate variables that do not appear to have any statistically significant effect on happiness. Create a table with the pseudo R squares for the two levels for each block with the null model as the baseline.

SPSS

Run the commands to see the output.

mixed happy with agec agec2 female seced terted missinc medinc highinc copeinc cohab social
/fixed = agec agec2 female
/method = ml
/random = intercept | subject(cntry)
/print = solution.

mixed happy with agec agec2 female seced terted missinc medinc highinc copeinc cohab social
/fixed = agec agec2 female seced terted missinc medinc highinc copeinc
/method = ml
/random = intercept | subject(cntry)
/print = solution.

mixed happy with agec agec2 female seced terted missinc medinc highinc copeinc cohab social
/fixed = agec agec2 female seced terted missinc medinc highinc copeinc cohab social
/method = ml
/random = intercept | subject(cntry)
/print = solution.
Stata

Run the commands to see the output.

xtmixed happy agec agec2 female || cntry: , mle variance, if nmiss==0

xtmixed happy agec agec2 female seced terted missinc medinc highinc copeinc || cntry: , mle variance, if nmiss==0

xtmixed happy agec agec2 female seced terted missinc medinc highinc copeinc cohab social || cntry: , mle variance, if nmiss==0