This project applies Structural Equation Modeling (SEM) to analyze the Short Dark Triad survey (Jones & Paulhus, 2013), exploring relationships between dark personality traits and additional variables.
The dataset for this project is available on Kaggle: Short Dark Triad Dataset
- Analysis of Dark Triad personality traits (Machiavellianism, Narcissism, Psychopathy)
- Incorporation of custom variables: risk-taking behavior and gender
- Data cleaning and preliminary analyses
- SEM model construction and evaluation
- Multi-group SEM analysis using gender as the grouping variable
- Synthetic variable creation
- Missing data check
- Normality assessment:
- Univariate normality (Shapiro-Wilk's test)
- Multivariate normality (Mardia's test)
- Built the initial structural equation model
- Examined target indices for model fit
- Conducted multi-group SEM using gender as the grouping variable
- Assessed and compared different levels of measurement invariance:
- Metric invariance
- Scalar invariance
- Strict invariance
- R version 4.1.0 or later to use R package lavaangui
- Clone the repository
- Open the RMarkdown file in your preferred R environment
- Run the code chunks sequentially
- Alternatively, view the HTML or Markdown (.md) file for a quick overview of the results
Constructive feedback is always appreciated. Feel free to share any suggestions or improvements you might have.