SYSTEM SETTINGS

Settings

LANGUAGE

THEME

COLOUR SCHEME

Skip page actions
Open in ChatGPT ↗

Reading note

Data Analysis

Thesis subsection: Data Analysis

Chapter 03.4

3.4. Data Analysis

All analyses were conducted using Python (version 3.13.3; ) on macOS Sonoma (version 14.4.1). The following open-source packages were used: pandas (version 2.1.2) for data structures and data manipulation (), NumPy (version 1.26.1) for numerical operations (), Pingouin (version 0.5.5) for correlation analysis (), scikit-learn (version 1.3.2) for standardisation of continuous variables (), and Statsmodels (version 0.14.0) for linear and hierarchical regression modelling (). Visualisations were created using Matplotlib (version 3.8.1; ) and Seaborn (0.13.0; ).

All participants (N = 258) completed every measure in full. No missing data imputation or listwise deletion was necessary. Logarithmic values for participants’ age and number of books read were used in correlation and regression analyses. Correlational analyses were conducted using Pearson’s r, and hierarchical regression models were built to examine the effects of demographic and psychological variables on empathy and mentalisation. Hierarchical multiple regression analyses were conducted using ordinary least squares (OLS) estimation with classical (non-robust) standard errors. Variables were entered in three blocks: demographic control variables, primary predictors, and interaction terms. Categorical variables in the control block were dummy-coded using reference categories. Predictors involved in interaction terms were mean-centred prior to computing product terms. Standardised beta coefficients (β) were calculated by multiplying each unstandardised coefficient by the ratio of the standard deviation of the predictor to that of the outcome (i.e., β = B × SDₓ / SDᵧ). Model assumptions, including normality of residuals, homoscedasticity, multicollinearity (VIF), and influence (Cook’s distance), were checked and met. Results were reported in accordance with APA 7 guidelines (), with unstandardised coefficients (B), standard errors (SE), standardised beta (β), t-values, p-values, and model statistics (ΔR², R², Fchange, pchange and total model F) for each step. An alpha level of .05 was used for significance testing in regression analyses, while both .05 and .001 thresholds were considered when interpreting correlation results.

All materials, including the dataset, analysis scripts, and survey preview, are available in an OSF repository (see Appendix L).

⌘K / search© 2026 Onur Bal