I've been trying to find a way of specifying pre-defined coefficients in a OLS/GLS regression in Python. I can do this in R using offset, but there doesn't seem to be anything similar in Python.
R equivalent:
model=lm(y~x+offset(0.2*z))
So in this example x and z are our independent variables, and x is predicted by the model but we have specified the impact of z is 0.2