Skip To Content

My Y-variable is recorded as True or False, can I still use it as a traditional binary variable?

If you are using a variable with values of True/False, but instead want it to be populated as 1/0, you can create a new variable through the transform option on the top right of the Predict interface.

Choose the true/false variable and enter the formula to equal ‘True.’ Set the result type to binary and Predict will identify every instance of “true” as 1, and every non-instance of ‘True’ to 0.


Back to Knowledge Base