Commit Graph

70 Commits (f48e5469e03efca4e9b8ac2182399a086fefb9ca)

Author SHA1 Message Date
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
junos 224dedaced Document the preprocess_esm function. 2021-06-07 16:50:46 +02:00
junos 35a7fa0bbc Take device ID into consideration for grouping sessions. 2021-06-07 16:44:42 +02:00
junos 8306e99392 Explain the histogram better and explore long sessions. 2021-06-07 12:01:41 +02:00
junos 06c179f4dd Explain traditional concordance approach. 2021-06-02 18:42:39 +02:00
junos 2da9a8f9e3 Study session ID in depth. 2021-06-02 18:35:00 +02:00
junos 53f34965e2 Add a test for preprocess_esm.
Replace commas with semicolons for csv.
2021-06-01 18:24:44 +02:00
junos a941b94d6c Expand ESM_JSON column and add esm example data. 2021-06-01 17:57:08 +02:00
junos 5cb527986b Look at the ESM data and test JSON expansion. 2021-06-01 12:10:42 +02:00
junos 0f7d182f40 Merge remote-tracking branch 'origin/master' into master 2021-05-31 11:48:10 +02:00
junos 0199b4f0f2 Add a method to transform ESM data and the test. 2021-05-27 18:10:34 +02:00
junos 48a81c8795 Delete remaining Jupyter Notebook. 2021-05-07 15:49:33 +02:00
junos eebb10504e Add more SMS features.
Add a test case for messages and a separate test.
2021-05-07 15:48:17 +02:00
junos 6e9c13d5d8 Add more call features.
The total duration of calls and maximum duration by type.
The number of all calls and ratio of incoming and outgoing calls.
2021-05-07 15:18:56 +02:00
junos 0ea9d76a6f Remove remaining Jupyter notebook. 2021-05-07 12:53:10 +02:00
junos 81080f7504 Use Collection from collections.abc instead of typing.List. 2021-05-07 12:44:34 +02:00
junos d5056d9b2f Remove Jupyter Notebooks as they will be versioned as py scripts from now on. 2021-05-07 12:15:00 +02:00
junos 10bdc8aa1d Add SMS data exploration and use Jupytext to save JupyterNotebooks as py scripts. 2021-05-07 12:10:46 +02:00
junos 056db73786 Look at frequencies of screen statuses and explain (un)lock sequences. 2021-05-05 17:20:19 +02:00
junos db66d2201b Get screen data and look at counts of events. 2021-05-04 17:45:48 +02:00
junos f37e8dc0eb Add a plot of most frequent contacts. 2021-05-04 17:23:52 +02:00
junos 9301d9ec7f Enumerate contacts by grouping by participant ID first.
Previously, enumeration worked for only one participant.
2021-04-09 16:01:53 +02:00
junos 5ffd85e05b Visualize calls data. 2021-04-09 16:01:09 +02:00
junos 66b36faedc Add Seaborn and cleanup. 2021-04-09 15:33:52 +02:00
junos e6d129c6ee Add a method to get participant usernames and its test. 2021-04-07 15:43:07 +02:00
junos b7b60294ba Add a (useless?) test for features.communication.count_comms.
Formatting.
2021-04-06 17:12:36 +02:00
junos 414b30b7e1 Remove missing call duration and document. 2021-04-06 16:54:08 +02:00
junos 9b495e63a3 Add a function to get sms data and illustrate in Jupyter notebook. 2021-04-06 16:50:40 +02:00
junos b57c8a4eac Add info about adding a kernel to Jupyter notebook. 2021-04-06 16:26:43 +02:00
junos ab2dbf7a02 Add a function to count calls and their duration and SMSes by type. 2021-04-06 16:23:19 +02:00
junos d218bb1d7c Document communication functions. 2021-04-06 14:32:18 +02:00
junos 669f7cfecb Document SMS class. 2021-04-06 13:52:08 +02:00
junos b290fb6aa4 Document classes. 2021-04-06 12:58:32 +02:00
junos 9e16d329dd Improve formatting. 2021-04-06 11:48:37 +02:00
junos e4b6dc90e2 Start exploring screen data. 2021-02-02 18:08:07 +01:00
junos 29b664c41b Add a method to enumerate contacts and a method to test this with call data. 2021-02-02 16:20:46 +01:00
junos 0bc66ce4b9 Establish the session in class methods.
These are only called once, not before and after every test.
2021-02-02 15:44:53 +01:00
junos dfb4236769 Add a method to enumerate contacts and appropriate tests. 2021-02-01 18:24:24 +01:00
junos b2d93e0686 Add a method to get Calls data.
Add a test for this.
2021-01-05 17:00:45 +01:00