Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

系数正负问题 #112

Open
lionking19063 opened this issue Feb 7, 2024 · 1 comment
Open

系数正负问题 #112

lionking19063 opened this issue Feb 7, 2024 · 1 comment

Comments

@lionking19063
Copy link

老师您好. 我用scorecardpy产生出来的 woe变量建造logistic regression(event='1')模型,得出来的系数全为正,但用同样的数据另外一个woe api得出来系数全为负数。请问从scorcardpy出来的系数应该为正还是为负?谢谢。

@ShichenXie
Copy link
Owner

正。因为这里的woe是按照坏比好定义的。你说的另外一个woe api可能是好比坏。你可以对比一下两个woe的计算方法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants