dswah / pyGAM

[HELP REQUESTED] Generalized Additive Models in Python

Home Page:https://pygam.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default coefficient for a linear term

GuyNYAMSI opened this issue · comments

Hello, and thank you for this package.
I wanted to add an offset to my model, but I realize that it's not possible. An offset can be seen as a linear predictor with a variable having a fixed coefficient of 1 (g(mu) = f(x1) +x2 ) : x2 is an offset. Please, is it possible to fix the value of the coefficient in a linear term? For example, l(1, coef_estimate=1)? In this case, variable 1 (x2) will behave like an offset.