A Minimal Book Example
1
Workspace
1.1
Packages
1.2
Directory Path
1.3
Codebook
1.3.1
Measures
1.3.2
Procedure
1.3.3
Analytic Plan
1.4
Demographics
2
Data Cleaning
2.1
Pre-Share Cleaning
2.2
ESM Data Setup
2.2.1
Timing
2.2.2
Personality
2.2.3
Other Measured Features
2.2.4
Timing Features
2.2.5
Combine Features
2.3
Setup for Idiographic Machine Learning Models
2.4
Demographics
3
Elastic Net
3.1
Functions
3.2
Run Models
4
BISCWIT
4.1
Functions
4.2
Run Models
5
Random Forest
5.1
Set Up Data
5.1.1
Differencing and Box Cox
5.1.2
Run Models
6
Summarizing Models
6.1
Question 1: Can we predict procrastination and loneliness?
6.1.1
Performance Metrics
6.1.2
Classification Accuracy and AUC for all Models
6.1.3
Best Models
6.1.4
Tuning Parameters (Table)
6.2
Question 2: Are there individual differences in the idiographic range of prediction across people?
6.2.1
The Range of Prediction
6.3
Question 3: Do Psychological, Situational, or Full Feature Sets Perform Best?
6.3.1
Psychological Features, Situations, or Time?
6.4
Question 4: Which features are most associated with Procrastination and Loneliness?
6.4.1
Feature Frequency: Psychological Features, Situations, or Time?
6.5
Question 5: Do people vary in the which features are most important?
6.5.1
Participant Coefficients
6.5.2
Profile Similarity
7
Extended Discussion
7.1
On predicting more behaviors more of the time
7.2
The person situation debate revisited
7.3
Limitations and Conclusion
References
Published with bookdown
Idiographic prediction of loneliness and procrastination
References