Commit Graph

208 Commits (54c712b1cd630c6be4c3b97f43c75901217552ee)

Author SHA1 Message Date
junos 9bd42afa02 Simplify pivoting a table and fix other mistakes. 2021-07-27 20:41:13 +02:00
junos 0f5af21f71 Detect whether event was work related. 2021-07-27 19:53:44 +02:00
junos c4f7b6459d Extract event duration. 2021-07-27 19:47:54 +02:00
junos 19cddaa634 Convert event time to datetime. 2021-07-27 18:43:31 +02:00
junos 763b970a42 Detect stressful events and rename their stressfulness. 2021-07-27 18:30:05 +02:00
junos 3c12a6e74a Start extracting event features.
Calculate threat and challenge means.
2021-07-27 18:25:05 +02:00
junos 28e9db15f5 Add assertions for fields which are referenced in other functions. 2021-07-27 14:07:10 +02:00
junos 1aaf95fe9e Look at specific values of proximity. 2021-07-26 17:16:32 +02:00
junos d3f42ea402 Start exploring proximity. 2021-07-26 11:37:31 +02:00
junos 9580533c14 Explore between-participants differences in light. 2021-07-23 18:50:17 +02:00
junos dbb59c4aef Explore low levels of luminance. 2021-07-23 18:29:44 +02:00
junos 67e2d233b0 Start exploring light data. 2021-07-23 16:42:16 +02:00
junos 7de4beca6e Add a method for getting the light sensor data. 2021-07-23 16:19:56 +02:00
junos 7aeb40d674 Fix formatting. 2021-07-22 15:47:42 +02:00
junos ed0b013801 Finish the reversal test. 2021-07-22 15:46:57 +02:00
junos f49a80d5d8 [WIP] Explicitly check that the morning session was reclassified in the test. 2021-07-22 15:34:47 +02:00
junos 78d6e020ae [WIP] Outline screen feature calculation in TODOs. 2021-07-22 15:19:15 +02:00
junos 77c2ba87d5 [WIP] Add tests for ESM. 2021-07-16 16:58:18 +02:00
junos 8bf21ab272 Explore JCQ demand and control. 2021-07-05 18:32:35 +02:00
junos e2808422db Implement a method to recode JCQ answers. 2021-07-05 18:24:22 +02:00
junos 459f7a2c72 Add a file for JCQ and dictionary of reversed items. 2021-07-05 16:15:00 +02:00
junos e8005aadc6 Add SAM event and period analysis. 2021-07-04 16:29:53 +02:00
junos 48d7be780c Fix formatting. 2021-07-04 14:34:57 +02:00
junos 92a5787d62 Only convert some answers to numeric. 2021-07-04 14:34:13 +02:00
junos 3bb66e3838 Calculate daily means instead of sums. 2021-07-04 13:41:34 +02:00
junos 5362f64941 Explore PANAS statistics. 2021-07-03 18:46:06 +02:00
junos b8301ca458 Small corrections. 2021-07-03 18:45:46 +02:00
junos a6d8f70e7f Add date part of datetime when preprocessing. 2021-07-03 16:39:32 +02:00
junos e0da6757ec Clean up ESM by eliminating non-answers.
Convert radio string answer to numeric.
2021-07-03 16:34:11 +02:00
junos 74392f229a Start exploring PANAS data.
Add a function to clean up ESM data.
2021-07-02 16:33:48 +02:00
junos c29c7b19f2 Rename ESM exploration. 2021-07-02 16:05:36 +02:00
junos 4c07ccccf2 Prepare figures for publication. 2021-07-02 16:02:55 +02:00
junos 767548b562 Export figures and add additional linear regression analyses. 2021-06-14 17:09:45 +02:00
junos b1dd27d516 Rename a file. 2021-06-11 20:30:18 +02:00
junos 23c3613c60 Analyze adherence:
Look at time differences between subsequent daytime EMA.
Look at the daily evening EMA proportion.
2021-06-11 20:28:24 +02:00
junos 7a12f68dfe Fix a bug where evening EMAs where also reclassified as daytime. 2021-06-11 20:17:17 +02:00
junos 294d4a2b49 Add a function to correct the morning questionnaires into daytime. 2021-06-11 16:44:33 +02:00
junos a3417c182a Add a function to determine EMA session time. 2021-06-11 16:34:09 +02:00
junos f48e5469e0 Finish labelling EMA sessions and document classify_sessions_adherence function. 2021-06-11 14:50:14 +02:00
junos 371e755159 Identify unique sessions and assign status.
Use CONSTANT variables for these statuses.
2021-06-11 13:50:24 +02:00
junos 04c069af47 Take the evening EMA time question into account as non-answered session. 2021-06-09 17:29:42 +02:00
junos 151bbfe360 Add a plot of adherence. 2021-06-08 22:42:56 +02:00
junos 9cba88a6e3 Correct adherence data to only count sessions once.
Add age as a float predictor.
Obtain the same result with linear regression.
2021-06-08 22:32:14 +02:00
junos 1294ee40a0 Add ANOVA for adherence and gender + country. 2021-06-08 17:16:08 +02:00
junos c96307b430 [WIP] Prepare functions to remember implementing them. 2021-06-08 16:50:07 +02:00
junos de32241d51 Classify and count adherence.
Add statsmodels.
2021-06-08 16:40:01 +02:00
junos 7177c8429f [WIP] Start calculating concordance.
Note, workday and morning EMAs have not been properly dealt with, but assumed answered.
2021-06-08 16:07:39 +02:00
junos 48f9f782f7 Add more baseline data for Belgium. 2021-06-08 16:01:46 +02:00
junos 7b88f62e0a Explore baseline screening data in a notebook. 2021-06-08 11:21:18 +02:00
junos d5cd76f05a [WIP] Prepare a function to classify adherence and illustrate steps in Jupyter Notebook. 2021-06-07 19:33:44 +02:00