DOI: 10.7910/dvn/7knkll
title: Relaxed Naïve Bayes Data

description: &lt;ol&gt;
 &lt;li&gt;&lt;strong&gt;NaiveBayes_R.xlsx:&lt;/strong&gt; This Excel file includes information as to how probabilities of observed features are calculated given recidivism (P(x_ij│R)) in the training data. Each cell is embedded with an Excel function to render appropriate figures.
 &lt;ul&gt;
 &lt;li&gt;&lt;strong&gt;P(Xi|R):&lt;/strong&gt; This tab contains probabilities of feature attributes among recidivated offenders.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;NIJ_Recoded:&lt;/strong&gt; This tab contains re-coded NIJ recidivism challenge data following our coding schema described in Table 1.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;Recidivated_Train:&lt;/strong&gt; This tab contains re-coded features of recidivated offenders.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;Tabs from [Gender] through [Condition_Other]:&lt;/strong&gt; Each tab contains probabilities of feature attributes given recidivism. We use these conditional probabilities to replace the raw values of each feature in P(Xi|R) tab.&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;NaiveBayes_NR.xlsx:&lt;/strong&gt; This Excel file includes information as to how probabilities of observed features are calculated given non-recidivism (P(x_ij│N)) in the training data. Each cell is embedded with an Excel function to render appropriate figures.
 &lt;ul&gt;
 &lt;li&gt;&lt;strong&gt;P(Xi|N):&lt;/strong&gt; This tab contains probabilities of feature attributes among non-recidivated offenders.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;NIJ_Recoded:&lt;/strong&gt; This tab contains re-coded NIJ recidivism challenge data following our coding schema described in Table 1.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;NonRecidivated_Train:&lt;/strong&gt; This tab contains re-coded features of non-recidivated offenders.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;Tabs from [Gender] through [Condition_Other]:&lt;/strong&gt; Each tab contains probabilities of feature attributes given non-recidivism. We use these conditional probabilities to replace the raw values of each feature in P(Xi|N) tab.&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;Training_LnTransformed.xlsx:&lt;/strong&gt; Figures in each cell are log-transformed ratios of probabilities in NaiveBayes_R.xlsx (P(Xi|R)) to the probabilities in NaiveBayes_NR.xlsx (P(Xi|N)).&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;TestData.xlsx:&lt;/strong&gt; This Excel file includes the following tabs based on the test data: P(Xi|R), P(Xi|N), NIJ_Recoded, and Test_LnTransformed (log-transformed P(Xi|R)/ P(Xi|N)).&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;Training_LnTransformed.dta:&lt;/strong&gt; We transform Training_LnTransformed.xlsx to Stata data set. We use Stat/Transfer 13 software package to transfer the file format.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;StataLog.smcl:&lt;/strong&gt; This file includes the results of the logistic regression analysis. Both estimated intercept and coefficient estimates in this Stata log correspond to the raw weights and standardized weights in Figure 1.&lt;/li&gt;
 &lt;li&gt;&lt;strong&gt;Brier Score_Re-Check.xlsx:&lt;/strong&gt; This Excel file recalculates Brier scores of Relaxed Na&iuml;ve Bayes Classifier in Table 3, showing evidence that results displayed in Table 3 are correct.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;*****Full List*****&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
 &lt;li&gt;NaiveBayes_R.xlsx&lt;/li&gt;
 &lt;li&gt;NaiveBayes_NR.xlsx&lt;/li&gt;
 &lt;li&gt;Training_LnTransformed.xlsx&lt;/li&gt;
 &lt;li&gt;TestData.xlsx&lt;/li&gt;
 &lt;li&gt;Training_LnTransformed.dta&lt;/li&gt;
 &lt;li&gt;StataLog.smcl&lt;/li&gt;
 &lt;li&gt;Brier Score_Re-Check.xlsx&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Data for Weka (Training Set): &lt;strong&gt;Bayes_2022_NoID&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Data for Weka (Test Set): &lt;strong&gt;BayesTest_2022_NoID&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Weka output for machine learning models (Conventional na&iuml;ve Bayes, AdaBoost, Multilayer Perceptron, Logistic Regression, and Random Forest)&lt;/p&gt;