This document focus in providing a comprehensive overview of the data collected in the survey.
It focuses on the sample used on the analysis, with explicit indications provided whenever the full sample is used. The analysis sample is a subset of the full sample, and includes only Brazilian individuals aged 18 or older, residing in the UTC-3 timezone, who completed the survey between October 15th and 21st, 2017.
Please note that the models were created using cell weights to account for sample unbalances. For more information on the sample balance, see the Supplementary Material D.
weighted_data|>stats_summary( col ='msf_sc', name ='MSF~sc~ (Chronotype proxy) (local time)', as_list =FALSE)
Code
weighted_data|>test_normality( col ='msf_sc', name ='MSF~sc~ (Chronotype proxy) (local time)')#> Registered S3 method overwritten by 'quantmod':#> method from#> as.zoo.data.frame zoo
Code
weighted_data|>plot_box_plot( col ='msf_sc')
Figure C.2: Boxplot of the msf_sc variable.
Code
weighted_data|>stats_summary( col ='age', name ='Age (years)', as_list =FALSE)
Table C.2: Statistics for the age variable.
Code
weighted_data|>test_normality( col ='age', name ='Age (years)')
Figure C.3: Histogram of the age variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='age')
Figure C.4: Boxplot of the age variable.
Code
weighted_data|>stats_summary( col ='latitude', name ='Latitude (decimal degrees)', as_list =FALSE)
Table C.3: Statistics for the latitude variable.
Code
weighted_data|>test_normality( col ='latitude', name ='Latitude (decimal degrees)')
Figure C.5: Histogram of the latitude variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='latitude')
Figure C.6: Boxplot of the latitude variable.
Code
weighted_data|>stats_summary( col ='longitude', name ='Longitude (decimal degrees)', as_list =FALSE)
Table C.4: Statistics for the longitude variable.
Code
weighted_data|>test_normality( col ='longitude', name ='Longitude (decimal degrees)')
Figure C.7: Histogram of the longitude variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='longitude')
Figure C.8: Boxplot of the longitude variable.
Code
weighted_data|>stats_summary( col ='ghi_month', name ='Monthly average global horizontal irradiance (Wh/m²)', as_list =FALSE)
Table C.5: Statistics for the ghi_month variable.
Code
weighted_data|>test_normality( col ='ghi_month', name ='Monthly average global horizontal irradiance (Wh/m²)')
Figure C.9: Histogram of the ghi_month variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='ghi_month')
Figure C.10: Boxplot of the ghi_month variable.
Code
weighted_data|>stats_summary( col ='ghi_annual', name ='Annual average global horizontal irradiance (Wh/m²)', as_list =FALSE)
Table C.6: Statistics for the ghi_annual variable.
Code
weighted_data|>test_normality( col ='ghi_annual', name ='Annual average global horizontal irradiance (Wh/m²)')
Figure C.11: Histogram of the ghi_annual variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='ghi_annual')
Figure C.12: Boxplot of the ghi_annual variable.
Code
weighted_data|>stats_summary( col ='march_equinox_sunrise', name ='Sunrise on the March equinox (date-time seconds)', as_list =FALSE)
Table C.7: Statistics for the march_equinox_sunrise variable.
Code
weighted_data|>test_normality( col ='march_equinox_sunrise', name ='Sunrise on the March equinox (date-time seconds)')
Figure C.13: Histogram of the march_equinox_sunrise variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='march_equinox_sunrise')
Figure C.14: Boxplot of the march_equinox_sunrise variable.
Code
weighted_data|>stats_summary( col ='march_equinox_sunset', name ='Sunset on the March equinox (seconds)', as_list =FALSE)
Table C.8: Statistics for the march_equinox_sunset variable.
Code
weighted_data|>test_normality( col ='march_equinox_sunset', name ='Sunset on the March equinox (seconds)')
Figure C.15: Histogram of the march_equinox_sunset variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='march_equinox_sunset')
Figure C.16: Boxplot of the march_equinox_sunset variable.
Code
weighted_data|>stats_summary( col ='march_equinox_daylight', name ='Daylight on the March equinox (seconds)', as_list =FALSE)
Table C.9: Statistics for the march_equinox_daylight variable.
Code
weighted_data|>test_normality( col ='march_equinox_daylight', name ='Daylight on the March equinox (seconds)')
Figure C.17: Histogram of the march_equinox_daylight variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='march_equinox_daylight')
Figure C.18: Boxplot of the march_equinox_daylight variable.
Code
weighted_data|>stats_summary( col ='june_solstice_sunrise', name ='Sunrise on the June solstice (seconds)', as_list =FALSE)
Table C.10: Statistics for the june_solstice_sunrise variable.
Code
weighted_data|>test_normality( col ='june_solstice_sunrise', name ='Sunrise on the June solstice (seconds)')
Figure C.19: Histogram of the june_solstice_sunrise variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='june_solstice_sunrise')
Figure C.20: Boxplot of the june_solstice_sunrise variable.
Code
weighted_data|>stats_summary( col ='june_solstice_sunset', name ='Sunset on the June solstice (seconds)', as_list =FALSE)
Table C.11: Statistics for the june_solstice_sunset variable.
Code
weighted_data|>test_normality( col ='june_solstice_sunset', name ='Sunset on the June solstice (seconds)')
Figure C.21: Histogram of the june_solstice_sunset variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='june_solstice_sunset')
Figure C.22: Boxplot of the june_solstice_sunset variable.
Code
weighted_data|>stats_summary( col ='june_solstice_daylight', name ='Daylight on the June solstice (seconds)', as_list =FALSE)
Table C.12: Statistics for the june_solstice_daylight variable.
Code
weighted_data|>test_normality( col ='june_solstice_daylight', name ='Daylight on the June solstice (seconds)')
Figure C.23: Histogram of the june_solstice_daylight variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='june_solstice_daylight')
Figure C.24: Boxplot of the june_solstice_daylight variable.
Code
weighted_data|>stats_summary( col ='september_equinox_sunrise', name ='Sunrise on the September solstice (seconds)', as_list =FALSE)
Table C.13: Statistics for the september_equinox_sunrise variable.
Code
weighted_data|>test_normality( col ='september_equinox_sunrise', name ='Sunrise on the September solstice (seconds)')
Figure C.25: Histogram of the september_equinox_sunrise variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='september_equinox_sunrise')
Figure C.26: Boxplot of the september_equinox_sunrise variable.
Code
weighted_data|>stats_summary( col ='september_equinox_sunset', name ='Sunset on the September solstice (seconds)', as_list =FALSE)
Table C.14: Statistics for the september_equinox_sunset variable.
Code
weighted_data|>test_normality( col ='september_equinox_sunset', name ='Sunset on the September solstice (seconds)')
Figure C.27: Histogram of the september_equinox_sunset variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='september_equinox_sunset')
Figure C.28: Boxplot of the september_equinox_sunset variable.
Code
weighted_data|>stats_summary( col ='september_equinox_daylight', name ='Daylight on the September solstice (seconds)', as_list =FALSE)
Table C.15: Statistics for the september_equinox_daylight variable.
Code
weighted_data|>test_normality( col ='september_equinox_daylight', name ='Daylight on the September solstice (seconds)')
Figure C.29: Histogram of the september_equinox_daylight variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='september_equinox_daylight')
Figure C.30: Boxplot of the september_equinox_daylight variable.
Code
weighted_data|>stats_summary( col ='december_solstice_sunrise', name ='Sunrise on the December solstice (seconds)', as_list =FALSE)
Table C.16: Statistics for the december_solstice_sunrise variable.
Code
weighted_data|>test_normality( col ='december_solstice_sunrise', name ='Sunrise on the December solstice (seconds)')
Figure C.31: Histogram of the december_solstice_sunrise variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='december_solstice_sunrise')
Figure C.32: Boxplot of the december_solstice_sunrise variable.
Code
weighted_data|>stats_summary( col ='december_solstice_sunset', name ='Sunset on the December solstice (seconds)', as_list =FALSE)
Table C.17: Statistics for the december_solstice_sunset variable.
Code
weighted_data|>test_normality( col ='december_solstice_sunset', name ='Sunset on the December solstice (seconds)')
Figure C.33: Histogram of the december_solstice_sunset variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='december_solstice_sunset')
Figure C.34: Boxplot of the december_solstice_sunset variable.
Code
weighted_data|>stats_summary( col ='december_solstice_daylight', name ='Daylight on the December solstice (seconds)', as_list =FALSE)
Table C.18: Statistics for the december_solstice_daylight variable.
Code
weighted_data|>test_normality( col ='december_solstice_daylight', name ='Daylight on the December solstice (seconds)')
Figure C.35: Histogram of the december_solstice_daylight variable with a kernel density estimate, along with a quantile-quantile (Q-Q) plot between the variable and the theoretical quantiles of the normal distribution.
Code
weighted_data|>plot_box_plot( col ='december_solstice_daylight')
Figure C.36: Boxplot of the december_solstice_daylight variable.
Table C.21: Latitude and longitude statistics of respondents (Analysis sample).
Source: Created by the author.
C.7 Population distributions
For numerical comparisons, refer to Supplementary Material D.
C.7.1 Brazil
Brazilian Institute of Geography and Statistics’s (IBGE) population estimates of the population distribution is used in the same timeframe of the sample (2017) (Instituto Brasileiro de Geografia e Estatística, n.d.). The data can be accessed at the IBGE’s SIDRA platform (IBGE’s Table 6579).
IBGE’s Table 6579 was used instead of Table 6407 because the later does not have the same level of detail for the municipalities.
Code
ibge_6579_data_state<-sidrar::get_sidra(api ="/t/6579/n3/all/v/all/p/2017")|>rutils::shush()|>dplyr::as_tibble()|>janitor::clean_names()|>dplyr::select(unidade_da_federacao_codigo, valor)|>dplyr::rename( state_code =unidade_da_federacao_codigo, n =valor)|>dplyr::mutate(state_code =as.integer(state_code))|>dplyr::relocate(state_code, n)
Code
plot_6579_ibge_1<-ibge_6579_data_state|>plot_brazil_state( col_fill ="n", transform ="log10", direction =-1, reverse =FALSE)
Code
ibge_6579_data_municipality<-sidrar::get_sidra(api ="/t/6579/n6/all/v/all/p/2017")|>rutils::shush()|>dplyr::as_tibble()|>janitor::clean_names()|>dplyr::select(municipio_codigo, valor)|>dplyr::rename( municipality_code =municipio_codigo, n =valor)|>dplyr::mutate(municipality_code =as.integer(municipality_code))|>dplyr::relocate(municipality_code, n)
prettycheck:::assert_internet()ibge_6407_data<-sidrar::get_sidra( api =paste0("/t/6407/n3/all/v/606/p/2017/c2/allxt/c58/1140,1141,1144,1145,1152,", "2793,3299,3300,3301,3350,6798,40291,118282"))|>dplyr::as_tibble()|>janitor::clean_names()|>dplyr::select(valor, unidade_da_federacao_codigo, unidade_da_federacao, ano, sexo,grupo_de_idade)|>dplyr::rename( n =valor, state_code =unidade_da_federacao_codigo, state =unidade_da_federacao, year =ano, sex =sexo, age_group =grupo_de_idade)|>dplyr::arrange(state, sex, age_group)|>dplyr::mutate( year =as.integer(year), country ="Brazil", region =get_brazil_region(state, "state"), state_code =as.integer(state_code), sex =dplyr::case_match(sex,"Homens"~"Male","Mulheres"~"Female"), sex =factor(sex, ordered =FALSE), age_group =dplyr::case_match(age_group,"0 a 4 anos"~"0-4","5 a 9 anos"~"5-9","10 a 13 anos"~"10-13","14 a 15 anos"~"14-15","16 a 17 anos"~"16-17","18 a 19 anos"~"18-19","20 a 24 anos"~"20-24","25 a 29 anos"~"25-29","30 a 39 anos"~"30-39","40 a 49 anos"~"40-49","50 a 59 anos"~"50-59","60 a 64 anos"~"60-64","65 anos ou mais"~"65+"), age_group =factor(age_group, ordered =TRUE), age_group_midpoint =dplyr::case_when(age_group=="0-4"~2,age_group=="5-9"~7,age_group=="10-13"~11.5,age_group=="14-15"~14.5,age_group=="16-17"~16.5,age_group=="18-19"~18.5,age_group=="20-24"~22,age_group=="25-29"~27,age_group=="30-39"~34.5,age_group=="40-49"~44.5,age_group=="50-59"~54.5,age_group=="60-64"~62,age_group=="65+"~65+62-54.5# 65 + 62 - 54.5), n =as.integer(n*1000))|>dplyr::relocate(year, country, region, state_code, state, sex, age_group, age_group_midpoint, n)ibge_6407_data
The statistics shown is this section are estimations based on the age group midpoints, hence, it must be interpreted with caution. \(n\) is presented in thousands of people.
Figure C.39: Relation between age and weight (kg), divided by sex and aggregated by the mean. The gray line represents both sex. Vertical lines represent the standard error of the mean (SEM).
[Source: Created by the author, based on a data visualization from Roenneberg et al. (2007, fig. 4).{.legend}
plot_analysis_age_2<-anonymized_data|>plot_brazil_state( col_fill ="age", # Means direction =-1, reverse =FALSE, transform ="identity", quiet =TRUE)
Code
plot_analysis_age_3<-weighted_data|>plot_brazil_municipality( col_fill ="age", # Means direction =-1, reverse =FALSE, transform ="identity", quiet =TRUE)
C.9 Weight Distributions
C.9.1 Full Sample
Code
weighted_data|>dplyr::filter(!test_outlier(weight))|>plot_latitude_series( col ="weight", y_label ="Weight (kg)")
Figure C.40: Boxplots of mean weight values (kg) aggregated by 1° latitude intervals, illustrating the relationship between latitude and weight. The × symbol points to the mean. The orange line represents a linear regression.
Figure C.41: Relation between age and chronotype, divided by sex and aggregated by the mean. Chronotype is represented by the local time of the sleep corrected midpoint between sleep onset and sleep end on work-free days (MSFsc), MCTQ proxy for measuring the chronotype. The gray line represents both sex. Vertical lines represent the standard error of the mean (SEM).
Source: Created by the author, based on a data visualization from Roenneberg et al. (2007, fig. 4).
Figure C.42: Distribution of European chronotypes by age, as shown in Roenneberg et al. (2007), for comparison.
Source: Reproduced from Roenneberg et al. (2007, fig. 4).
Figure C.43: Distribution of the local time of the sleep-corrected midpoint between sleep onset and sleep end on work-free days (MSFsc), a proxy for chronotype. Chronotypes are categorized into quantiles, ranging from extremely early (\(0 |- 0.11\)) to extremely late (\(0.88 - 1\)).
[Source: Created by the author, based on a data visualization from Roenneberg et al. (2019, fig. 1, right part).{.legend}
Figure C.44: Distribution of European chronotypes, as shown in Roenneberg et al. (2019) (for comparison).
Figure C.45: Relation between age and chronotype, divided by sex and aggregated by the mean (Analysis sample). Chronotype is represented by the local time of the sleep corrected midpoint between sleep onset and sleep end on work-free days (MSFsc), MCTQ proxy for measuring the chronotype. The gray line represents both sex. Vertical lines represent the standard error of the mean (SEM).
Source: Created by the author, based on a data visualization from Roenneberg et al. (2007, fig. 4).
Figure C.46: Boxplots of mean MSFsc values aggregated by 1° latitude intervals, illustrating the relationship between latitude and chronotype. MSFsc represents the local time of the sleep-corrected midpoint between sleep onset and sleep end on work-free days, a proxy for chronotype. Higher MSFsc values indicate later chronotypes. The × symbol points to the mean. The orange line represents a linear regression. The differences in mean/median values across latitudes are minimal relative to the Munich ChronoType Questionnaire (MCTQ) scale.
Instituto Brasileiro de Geografia e Estatística. (n.d.). Tabela 6579: População residente estimada [Table]. SIDRA. Retrieved November 16, 2023, from https://sidra.ibge.gov.br/Tabela/3939
Roenneberg, T., Kuehnle, T., Juda, M., Kantermann, T., Allebrandt, K., Gordijn, M., & Merrow, M. (2007). Epidemiology of the human circadian clock. Sleep Medicine Reviews, 11(6), 429–438. https://doi.org/10.1016/j.smrv.2007.07.005
Roenneberg, T., Wirz-Justice, A., Skene, D. J., Ancoli-Israel, S., Wright, K. P., Dijk, D.-J., Zee, P., Gorman, M. R., Winnebeck, E. C., & Klerman, E. B. (2019). Why should we abolish daylight saving time? Journal of Biological Rhythms, 34(3), 227–230. https://doi.org/10.1177/0748730419854197