The Wayback Machine - http://web.archive.org/web/20200704231846/https://github.com/quantopian/alphalens/issues/376
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

Should factor_alpha_beta return a tstat? #376

Open
jsmidt opened this issue May 2, 2020 · 0 comments
Open

Should factor_alpha_beta return a tstat? #376

jsmidt opened this issue May 2, 2020 · 0 comments

Comments

@jsmidt
Copy link

@jsmidt jsmidt commented May 2, 2020

Problem Description

The function description documentation for alphalens.performance.factor_alpha_beta says "Compute the alpha (excess returns), alpha t-stat (alpha significance), and beta (market exposure) of a factor. "

The return documentation says "A list containing the alpha, beta, a t-stat(alpha) for the given factor and forward returns."

I am assuming "a t-stat" means "and t-stat" given the documentation for the function description?

In at least 0.4.0 and the head version if I run:

alpha = al.performance.factor_alpha_beta(factor_data, group_adjust=True)
print (alphas)

I get "Ann. alpha" and "beta" but no t-stat. The code in the head version, assuming I understand it, is not showing a t-stat entry to be returned. It would be very helpful if this function did return t-stat(alpha).

Thanks!

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.