Skip to content

Supplement for Masters Thesis - The Effects of Extraversion on Recruitment Process Preferences as Declared by Respondents

License

Notifications You must be signed in to change notification settings

mkowsiak/big5hr

Repository files navigation

Master's Thesis Supplement

This repository contains supplementary materials for a Master's Thesis titled:

The Effects of Extraversion on Recruitment Process Preferences as Declared by Respondents

Please note that these scripts require a data set with the study participants' responses. This data can be found in files located inside the data directory.

For clarity, the 001-syntax-merge-results.sps file is not meant to be run as it is used to merge results from independent surveys. Its presence here is purely for a comprehensive understanding of the data transformation process.

Because it is challenging to set path location inside SPSS files dynamically, there are placeholders inside all the files. You can easily replace them with sed.

find . -name “*.sps” -exec sed -i -e 's|@PROJECT_LOCATION@|/path/to/project/|g' {} \;
find . -name “*.R”   -exec sed -i -e 's|@PROJECT_LOCATION@|/path/to/project/|g' {} \;

Running the scripts

To run data analysis, you have to run all the scripts, one at a time. Each script will run a separate data cleaning proces. Step 003-MaxDiff.R must be started in R. Final analysis is executed with 006-syntax-final-analysis.sps script.

Layout of the directory

.
|-- 001-syntax-merge-results.sps           - merging results from number of
|                                            surveys
|-- 002-syntax-raw-file-preprocessing.sps  - computation of BFI results and
|                                            preparation of data for MaxDiff
|                                            analysis
|-- 003-MaxDiff.R                          - MaxDiff analysis using bwsTools
|                                            package
|-- 004-syntax-merge-SPSS-and-R.sps        - merging MaxDiff results with SPSS
|                                            data set
|-- 005-syntax-pre-analysis-cleaning.sps   - final cleaning before analysis
|-- 006-syntax-final-analysis.sps          - data analysis for the thesis
|-- LICENSE.md                             - license
|-- README.md                              - this README.md
|-- R_files
|   `-- keys.csv                           - file used by bwsTools package
`-- data
    |-- 001-BigFiveHR-raw.sav              - raw data after the merge
    `-- 005-BigFiveHR-analysis.sav         - data for the final analysis

Requirements

Data analysis
  - SPSS 29.0.0.0
  - RStudio 2023.12.1+402
  - R 4.3.2

R packages:
  - bwsTools 1.2.0
  - dplyr 1.1.2
  - tidyr 1.3.0
  - ggplot2 3.4.2
  - AlgDesign 1.2.1
  - Displayr/flipData 1.8.3
  - Displayr/flipTransformations 1.14.3
  - Rcpp 1.0.10
  - pelishk/flipMaxDiff 0.1.0

About

Supplement for Masters Thesis - The Effects of Extraversion on Recruitment Process Preferences as Declared by Respondents

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published