Dear Statalist members,
I want to include a polynomial term in my logistic regression as the lowess graph for one of the variables looks like shown on the graph.
However, when I try to use the fp command to find the best-fitting polynomial term, Stata returns “< invalid name” all the time. I tried with different spacing and everything but nothing seems to work. Does anyone have an idea, what could be the problem?
What would be another way to add the best-fitting polynomial term to my model?
Thank you very much for your help!
I want to include a polynomial term in my logistic regression as the lowess graph for one of the variables looks like shown on the graph.
However, when I try to use the fp command to find the best-fitting polynomial term, Stata returns “< invalid name” all the time. I tried with different spacing and everything but nothing seems to work. Does anyone have an idea, what could be the problem?
What would be another way to add the best-fitting polynomial term to my model?
Thank you very much for your help!
Comment