This repository contains the underlying code for my analysis that I shared on medium.
- The jupyter notebook contains the code and explanations of my design choices.
- Europinions.pdf is the file that you can find the survey report and the questionnaire that I used in this project.
- plots is the directory for the plots
- sem_report is the report that is automatically created by semopy package.
- functions contains the helper functions that used in the analysis.
There are three questions that I wanted to answer in this study
-
Do personality traits impact digital privacy concerns?
-
Does trust in political institutions have any impact on digital privacy concerns?
-
Do demographics impact digital privacy concerns?
Data is available GESIS archive. The access to the data is free
of charge for members. You can get free membership and download the data
I used 3 different frameworks.
- Structural Equation Modelling
- Multivariate Regression Modelling
- Causal Inference via Directed Acyclic Graphs
Causal inference was my final goal, however I wanted to build the first two models for comparison purposes.
The following packages are used in this analysis:
pandas
matplotlib, plotnine
Semopy, Statsmodels, DoWhy
My Provisional causal model indicate that:
Neither of personality traits have significant impact on the target.
trust in institutions have negative impact on digital privacy concerns.
Among demographics, Income has negative impact, wheras age has the contrary. Gender has no impact on the matter