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

Same factor data, but different Information Analysis results for information_tear and summary_tear #381

Open
baitsnyc opened this issue May 31, 2020 · 0 comments

Comments

@baitsnyc
Copy link

baitsnyc commented May 31, 2020

Problem Description

Hi,

I used extactly the same factor data as input for information_tear and summary_tear with "group_neutral" set to True:

alphalens.tears.create_information_tear_sheet(factor_data_2, group_neutral = True) alphalens.tears.create_summary_tear_sheet(factor_data_2, group_neutral = True)

The result for Information Analysis is quite different. It seems like for summary_tear, no matter what you set "group_neutral" to be, the result without group_neutral will show up.

I would recommend change this line:

ic = perf.factor_information_coefficient(factor_data)

to
ic = perf.factor_information_coefficient(factor_data, group_neutral)

Versions

  • Alphalens version: 0.3.6
  • Python version: 0.25.3
  • Pandas version: 1.16.5
  • Matplotlib version: 3.0.3
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

1 participant