Psychological Science Demo - 1225

Using Machine Learning to Generate Hypotheses

1225
Data Set

Identify outcome and
predictor variables,
continuous
and categorical
variables

Split the data into
two parts: 90%
training data,10%
unseen data
90%

10%
Do not touch
the unseen data
until the model
is finalized

Use the training
data to build
the model

Impute missing
values in the
training data

Impute missing
values in the
unseen data

Imputation Parameters

Conduct
exploratory analyses
to build a model
with reasonable
accuracy
Make informed
guesses about
the viable range
of each model
parameter

No

Assess accuracy
of the machinelearning model's
predictions in
the unseen data
Conduct
hyperparameter
search to identify
a model with
high accuracy

Does the model
have reasonably
high accuracy
in the unseen data?

Yes
Output

Conduct
additional analyses
to explain the
model using the
training data
Fig. 1. Flowchart showing the machine-learning procedure used in Study 1.



Psychological Science Demo

Table of Contents for the Digital Edition of Psychological Science Demo

TOC/Verso
Behavioral Immune Trade-Offs: Interpersonal Value Relaxes Social Pathogen Avoidance
Using Machine Learning to Generate Novel Hypotheses: Increasing Optimism About COVID-19 Makes People Less Willing to Justify Unethical Behaviors
Psychological Science Demo - Cover1
Psychological Science Demo - Cover2
Psychological Science Demo - TOC/Verso
Psychological Science Demo - 1210
Psychological Science Demo - Behavioral Immune Trade-Offs: Interpersonal Value Relaxes Social Pathogen Avoidance
Psychological Science Demo - 1212
Psychological Science Demo - 1213
Psychological Science Demo - 1214
Psychological Science Demo - 1215
Psychological Science Demo - 1216
Psychological Science Demo - 1217
Psychological Science Demo - 1218
Psychological Science Demo - 1219
Psychological Science Demo - 1220
Psychological Science Demo - 1221
Psychological Science Demo - Using Machine Learning to Generate Novel Hypotheses: Increasing Optimism About COVID-19 Makes People Less Willing to Justify Unethical Behaviors
Psychological Science Demo - 1223
Psychological Science Demo - 1224
Psychological Science Demo - 1225
Psychological Science Demo - 1226
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_december2020
https://www.nxtbook.com/nxtbooks/sage/psychologicalscience_demo
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_october2020
https://www.nxtbook.com/nxtbooks/sage/fai_202009
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_august2020
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_june2020
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_april2020
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_february2020
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_december2019
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_october2019
https://www.nxtbook.com/nxtbooks/sage/fai_201909
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_july2019
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_june2019
https://www.nxtbook.com/nxtbooks/sage/canadianpharmacistsjournal_05062019
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_april2019
https://www.nxtbook.com/nxtbooks/sage/sri_supplement_201903
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_february2019
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_december2018
https://www.nxtbook.com/nxtbooks/sage/tec_20180810
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_october2018
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_julyaugust2018
https://www.nxtbook.com/nxtbooks/sage/fai_201807
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_june2018
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_april2018
https://www.nxtbook.com/nxtbooks/sage/sri_supplement_201803
https://www.nxtbook.com/nxtbooks/sage/slas_discovery_201712
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_february2018
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_december2017
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_november2017
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_october2017
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_september2017
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_julyaugust2017
https://www.nxtbook.com/nxtbooks/sage/fai_supplement_201709
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_june2017
https://www.nxtbook.com/nxtbooks/sage/hospitalpharmacy_may2017
https://www.nxtbook.com/nxtbooks/sage/fai_201706
https://www.nxtbook.com/nxtbooks/sage/fai_201607
https://www.nxtbookmedia.com