Task 1

Specify two models to predict the amount of alcohol consumed on weekends and weekdays by the respondents’education, gender, income,and age.
Please, use the log of the amount of alcohol.
Interpret the results(coefficients, R^2).

Model for weekdays:

In the first model for alcohol consumption on weekdays only effect of gender is significant:

Overall prediction power equals to 4.6% of explained variance which depicts model poorness.

Model for weekends:

In the second model for alcohol consumption on weekends only effect of Income Decile is unsignificant:

Overall prediction power equals to 9% of explained variance which almost twice as higher than for weekdays model.

Task 2

Estimate the interaction terms between gender and education and between income and age in both models.
Interpret the results.

Model with moderations for weekdays:

Significant effects on alcohol consumption on weekdays only by Gender, Income Decile and Age:

The same prediction power as for model without interactions.

Model with moderations for weekends:

Significant effects on alcohol consumption on weekends by Gender, Age and by both interactions:

Slightly higher prediction power in comparison with model without interactions.

Task 3

Visualize the estimated interaction terms and comment on the results.

For weekdays:

Results unsignificant so there is nothing to interpret.

From sjPlot.plot_model documentation on rule for choosing moderator values in non-binary cases (which they based on this source):

[plot_model] uses the mean value of the moderator as well as one standard deviation below and above mean value to plot the effect of the moderator on the independent variable (following the convention suggested by Cohen and Cohen and popularized by Aiken and West (1991), i.e. using the mean, the value one standard deviation above, and the value one standard deviation below the mean as values of the moderator)

Results unsignificant so there is nothing to interpret.

For weekends:

Years of Education have facinating effect on females - more educated women tend to consume more alcohol comparing with less educated ones.
At the same time Years of Education have opposite effect on males (although less steep) - more educated men tend to consume less alcohol comparing with less educated ones).

Income Decile moderates effect of Age - for anyone alcohol consumption on weekends will lower with higher Age, but: