I'm going the test the impact of a predictor variable in my data analysis report. To test this I want to create two models, in which there will be 3 predictor variables in the first one and the additional predictor variable in the second one. To achieve this, I was told to fix the first three predictors in the second model. How can I do this in python?
2.1m questions
2.1m answers
60 comments
57.0k users