Unobtrusive tracking of interpersonal orienting and distance predicts the subjective quality of social interactions
Data files
Aug 06, 2020 version files 1.94 GB
-
aaltoColors.m
433 B
-
aaltoGradient.m
434 B
-
ACIPS_AQ_SNQ_AGE_sorted_corrected.csv
939 B
-
behavioralRatingCors.csv
541 B
-
behavioralRatingDyadCors.csv
541 B
-
behavioralRatingDyadDiffVsMeanCors.csv
549 B
-
behavioralRatingsAndSTDEVs.csv
315 B
-
BML_violinPlot.m
7.80 KB
-
classifier_colormap_notext.png
19.02 KB
-
correlationToProbability.m
253 B
-
eul2rotm.m
4.40 KB
-
F1_orientations.mat
3.04 MB
-
F1.mat
171.79 MB
-
F11_orientations.mat
2.38 MB
-
F11.mat
63.06 MB
-
F12_orientations.mat
2.79 MB
-
F12.mat
80.08 MB
-
F13_orientations.mat
2.94 MB
-
F13.mat
83.88 MB
-
F14_orientations.mat
3.10 MB
-
F14.mat
92.85 MB
-
F2_orientations.mat
2.86 MB
-
F2.mat
165.09 MB
-
F3_orientations.mat
2.58 MB
-
F3.mat
137.02 MB
-
F4_orientations.mat
2.78 MB
-
F4.mat
93.99 MB
-
F5_orientations.mat
3.45 MB
-
F5.mat
124.64 MB
-
F6_orientations.mat
3.54 MB
-
F6.mat
156.74 MB
-
F7_orientations.mat
3.36 MB
-
F7.mat
111.55 MB
-
F8_orientations.mat
2.30 MB
-
F8.mat
70.98 MB
-
F9_orientations.mat
2.33 MB
-
F9.mat
85.28 MB
-
gaussKernel.m
1.16 KB
-
gazedata_with_correct_time_windows_reliability_third.mat
1.49 MB
-
gazedata_with_correct_time_windows_reliability.mat
624.76 KB
-
gazedata_with_correct_time_windows_repro.mat
4.04 MB
-
gazedata_with_correct_time_windows.mat
652.56 KB
-
groupLabels.tar
92.16 KB
-
groupsMaster-10.mat
565 B
-
groupsMaster-11.mat
436 B
-
groupsMaster-12.mat
303 B
-
groupsMaster-13.mat
347 B
-
groupsMaster-14.mat
442 B
-
groupsMaster-15.mat
414 B
-
groupsMaster-16.mat
259 B
-
groupsMaster-17.mat
327 B
-
groupsMaster-18.mat
263 B
-
groupsMaster-2.mat
245 B
-
groupsMaster-3.mat
321 B
-
groupsMaster-4.mat
327 B
-
groupsMaster-5.mat
294 B
-
groupsMaster-6.mat
720 B
-
groupsMaster-7.mat
712 B
-
groupsMaster-8.mat
467 B
-
groupsMaster-9.mat
328 B
-
groupsMaster.mat
720 B
-
groupsSlave-10.mat
1.27 KB
-
groupsSlave-11.mat
822 B
-
groupsSlave-12.mat
636 B
-
groupsSlave-13.mat
763 B
-
groupsSlave-14.mat
642 B
-
groupsSlave-15.mat
867 B
-
groupsSlave-16.mat
612 B
-
groupsSlave-17.mat
667 B
-
groupsSlave-18.mat
578 B
-
groupsSlave-2.mat
697 B
-
groupsSlave-3.mat
709 B
-
groupsSlave-4.mat
654 B
-
groupsSlave-5.mat
676 B
-
groupsSlave-6.mat
1.60 KB
-
groupsSlave-7.mat
1.12 KB
-
groupsSlave-8.mat
748 B
-
groupsSlave-9.mat
1 KB
-
groupsSlave.mat
1.22 KB
-
Kinect_ADOS_tracker_with_skeleton_Release.zip
38 MB
-
Lahnakoski_et_al_paper_analyses.m
172.17 KB
-
LICENSE
1.59 KB
-
license.txt
1.53 KB
-
M1_orientations.mat
2.34 MB
-
M1.mat
73.75 MB
-
M2_orientations.mat
2.86 MB
-
M2.mat
102.99 MB
-
M3_orientations.mat
2.26 MB
-
M3.mat
64.42 MB
-
M4_orientations.mat
3.17 MB
-
M4.mat
102.90 MB
-
M5_orientations.mat
2.36 MB
-
M5.mat
66.97 MB
-
nanconv.m
4.65 KB
-
nancorr.m
1.58 KB
-
patchline.m
3.81 KB
-
plotComponentErrors2.m
2.34 KB
-
probabilityToCorrelation.m
341 B
-
read_zitternix_sensorlog.m
9.73 KB
-
readADOSheader.m
568 B
-
readADOSlog.m
2.07 KB
-
README.md
5.79 KB
-
rigidBodyRegister.m
1.52 KB
-
rm_anova2.m
4.58 KB
-
rm_anova2multi.m
5.70 KB
-
roundTripTimes.mat
210 B
-
SensorReader.zip
280.13 KB
-
timeWindowsWithManualAdjustment.mat
18.58 KB
-
windowedCrossCorrelation.m
3.26 KB
-
zitternix_annotate_gaze_from_video_frames.m
14.81 KB
-
zitternix_annotate_gaze_reliability_third.m
17.26 KB
-
zitternix_annotate_gaze_reliability.m
15 KB
-
zitternix_convert_kinect_IMU_to_Matlab.m
1.42 KB
-
zitternix_fix_trial_time_windows.m
5.72 KB
Abstract
Interpersonal coordination of behavior is essential for smooth social interactions. Measures of interpersonal behavior, however, often rely on subjective evaluations, invasive measurement techniques or gross measures of motion. Here, we constructed an unobtrusive motion tracking system that enables detailed analysis of behavior at the individual and interpersonal levels, which we validated using wearable sensors. We evaluate dyadic measures of joint orienting and distancing, synchrony and gaze behaviors to summarize data collected during natural conversation and joint action tasks. Our results demonstrate that patterns of proxemic behaviors, rather than more widely used measures of interpersonal synchrony, best predicted the subjective quality of the interactions. Increased distance between participants predicted lower enjoyment, while increased joint orienting toward each other during cooperation correlated with increased effort reported by the participants. Importantly, the interpersonal distance was most informative of the quality of interaction when task demands and experimental control were minimal. These results suggest that interpersonal measures of behavior gathered during minimally constrained social interactions are particularly sensitive for the subjective quality of social interactions and may be useful for interaction-based phenotyping for further studies.
Methods
This data was collected using Kinect V2 sensors and Tinkerforge IMU Brick 2.0 inertial measurement units, and questionnaires. Gaze behaviors are manually annotated from video images saved by the Kinect sensors. Anonymous data derived from the Kinect and IMU tracking results is shared in preprocessed format due to limitations in the ethics approval for the study. Preprocessing steps applied to these intermediate data are included in the provided analysis script. Video images are not included in this dataset to preserve the privacy of our participants and to follow the requirements of the ethics approval.
Usage notes
# InteractionTracking
__Code and motion tracking results for producing results in:__
__Lahnakoski JM, Forbes PAG, McCall C, Schilbach L -__
_Unobtrusive tracking of interpersonal orienting and distance predicts the subjective quality of social interactions_
Note: Because of randomization, the exact statistics produced by the analyses may change slightly on repeated runs of the script.
(C) 2019, 2020 Juha Lahnakoski, juha.lahnakoski@gmail.com
For license information, see LICENSE file.
Directory structure:
-------------------------------------------------------------------
_Code_\
Matlab code for loading data and performing analyses and visual studio project for the Kinect motion tracking application.
_PreprocessedData_\
Data containing manual gaze ratings and Kinect data from the corresponding timepoints and other preprocessed data either created by the analysis script or presaved when raw data cannot be shared.
_matDataKinectAndIMU_\
Basic tracking results converted to Matlab format for reproducing the final results.
_QuestionnaireData_\
Overall scores of questionnaires (responses to Intrinsic Motivation Inventory are included directly in the analysis script).
_SupportingFunctions_\
Functions used for reading data, estimating thresholds, plotting, etc.
_Include_\
Any additional files needed for creating the output. Currently contains only the colormap legend image.
Code description
-------------------------------------------------------------------
__Motion tracking software__
_Kinect_ADOS_tracker_with_skeleton_Release.zip_\
Visual studio project including a compiled binary for the motion tracking system (/Release folder). Requires Windows 8/10, Kinect 2.0 with Kinect for Windows adapter, associated software and compatible hardware.
_SensorReader.zip_\
Visual studio project for recording data from the inertial measurement units. Compiled binary is not included because the sensors have unique IDs that are hard coded and need to be changed for each new unit individually.
__Analysis scripts__
_Lahnakoski_et_al_paper_analyses.m_\
Main code for loading and analysing data. In the beginning of the script, you must set the base directory of these files so that Matlab can find the code and the tracking results.
__Video annotation scripts__
These are provided for reference only. Due to privacy concerns, the video frames used by these scripts are not available outside of the research site; contact authors in case reanalysis of the video frames is required.
_zitternix_fix_trial_time_windows.m_\
Used for verifying that the timepoints marked by the experimenter
during the measurement correspond to actual times when trials
start (due to duplicate/missing button presses).
_zitternix_annotate_gaze_from_video_frames.m_\
Script for manual annotation of gaze directions used by the first
rater. Randomly select timepoints from all conditions in all dyads,
and save Kinect data as well as subjective annotation of whether
each individual is looking at the partner, looking at a target or
neither.
_zitternix_annotate_gaze_reliability.m_\
Script for manual annotation of gaze directions used by the second
rater. Loads the original rater's data to extract the same (randomly
sampled) timepoints
_zitternix_annotate_gaze_reliability_third.m_\
Script for third "tiebreaker" participant for annotating gaze during
timepoints when initial two raters disagreed.
__Supporting functions__
_aaltoColors.m_\
Color palette (can be replaced by other colormaps).
_correlationToProbability.m_\
Simple function for transforming correlation values to p-values assuming
t-distribution (similar to the corr-funtion in Matlab).
_gaussKernel.m_\
Function for producing a Gaussian smoothing kernel.
_nanconv.m_\
Convolution for data with NaNs, from Matlab Central:
Copyright (c) 2013, Benjamin Kraus, All rights reserved.
_patchline.m_\
Function to visualize lines as patches.
Brett Shoelson (2020). Patchline
(https://www.mathworks.com/matlabcentral/fileexchange/36953-patchline),
MATLAB Central File Exchange. Retrieved January 30, 2020.
_probabilityToCorrelation.m_\
Simple function for transforming p-values to correlation values assuming
t-distribution (similar to the p-values returned by corr-funtion in Matlab).
_readADOSheader.m_\
Reads headers of Kinect result files saved by the
tracking system.
_readADOSlog.m_\
Reads the Kinect tracking result files saved by the
tracking system.
_read_zitternix_sensorlog.m_\
Reads in IMU values in the format saved by the tracking system.
_rigidBodyRegister.m_\
Function for registering two point clouds.
(Points are assumed to be in the same order in the two clouds).
_rm_anova2multi.m_\
Massively univariate 2-way repeated measures ANOVA
Based on rm_anova.m by Aaron Schurger (2005.02.04)
-Derived from Keppel & Wickens (2004) "Design and Analysis" ch. 18
Edited by Juha Lahnakoski (Jan 10th 2020)
-Updated to handle multiple variables at once and save results to a
struct rather than a cell table.
_windowedCrossCorrelation.m_\
Function for producing windowed cross correlation matrices (and optionally,
peak timecourses.
_zitternix_convert_kinect_IMU_to_Matlab.m_\
Creates the motion tracking results from the raw data files.
This is included for reference only; raw data logs cannot be
shared due to privacy concerns.
__Required toolbox licenses for Matlab__
curve_fitting_toolbox\
robotics_system_toolbox\
signal_toolbox\
statistics_toolbox
-------------------------------------------------------------------
July 18th, 2019 \
Last revision, July 10th, 2020
Juha Lahnakoski, Max Planck Institute of Psychiatry, FZ Juelich \
juha_lahnakoski@psych.mpg.de, juha.lahnakoski@gmail.com \
https://orcid.org/0000-0002-5223-7822
-------------------------------------------------------------------