kable(caption = "Mean minutes per day by 1983/87 survey - 1st diary day",
kable(caption = "Mean minutes per day by 1983/87 survey - 1st diary day",
t_dt[,
subset1983_1987_DT[,
.(
.(
sleep = mean(main2),
sleep = mean(main2),
wash_dress = mean(main4),
wash_dress = mean(main4),
...
@@ -405,25 +405,34 @@ kable(caption = "Survey year & pooled survey year (ba_survey)",
...
@@ -405,25 +405,34 @@ kable(caption = "Survey year & pooled survey year (ba_survey)",
There do not appear to be large differences but we will test whether the survey year significantly predicts minutes per day in these activities given other characteristics (which may themselves have varied between the two samples).
There do not appear to be large differences but we will test whether the survey year significantly predicts minutes per day in these activities given other characteristics (which may themselves have varied between the two samples).
The following analyses use a subset of the main data which only contains 1983 & 1987 data.
```{r testDifferences1983_1985}
```{r testDifferences1983_1985}
t_dt[, survey:= as.factor(survey)]
kable(caption="Cases for 1983/87 pooling testing",
table(subset1983_1987_DT$survey,
subset1983_1987_DT$ba_survey,
useNA = "always"
)
)
subset1983_1987_DT[, survey:= as.factor(survey)]
# Transformations based on spreadlevel plot of original un-transformed data
# Transformations based on spreadlevel plot of original un-transformed data