This tutorial employs Gretl to forecast the probability of a binary dependent variable being equal to 1 after running a logistic regression model. We then use the predicted probabilities to construct a confusion matrix.
TABLE OF CONTENTS:
00:00 Introduction
00:13 What we do in this video
01:37 Confusion Matrix
03:23 Load Data and Run Model
04:33 Run Forecast
05:21 Store Forecast (p_hat)
06:04 Creating Predicted Dependent Variable (y_hat)
08:32 Cross Tabulation
10:08 Changing the Decision Threshold
11:56 Forecast a New Observation
Download
0 formats
No download links available.
Gretl Tutorial 5: Forecasting and Confusion Matrix | NatokHD