Tyler Kendle 2 Posted June 19, 2019 Share Posted June 19, 2019 Hi everyone, I'm new to using Logistic Regression models inside of Spotfire so please forgive me if this is pretty easy and I haven't been able to figure it out yet but how can I use categorical variables in my predictor columns without having to create dummy variables I have a few variables that contain upwards of 15 categorical options that I would like to be able to insert as a predictor variables similar to how I would do AS.FACTOR using R. Am I doing something wrong and I don't see how I can get the model to read it or is my only option to do dummy variables. Thank you for your help, Ty Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted June 20, 2019 Share Posted June 20, 2019 I just did a quick test of this and was able to select String columns as Predictors in the Linear Regression dialog. What are the steps you are taking for this Are you getting error messages Details and/or a screen shot will help determine the problem. Link to comment Share on other sites More sharing options...
Tyler Kendle 2 Posted July 16, 2019 Author Share Posted July 16, 2019 Thanks Kirsten for replying. I'm not sure what I was doing wrong the first time but after reading your post I took another shot at it and was able to get categorical variables to indeed calculate in the model. Thanks for your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now