Skip to content

Add weights as attribute to factor_analyzer #55

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

Closed

Conversation

Xylambda
Copy link

@Xylambda Xylambda commented Mar 4, 2020

Some applications require to access the score coefficient component matrix B . These coefficients are used to transform the standardized data into factors by computing F = Z · B, where Z are the standardized data and F the hidden factors.

An example of such use case can be found in the paper Constructing an alternative dollar index to gauge the movements in currency markets.

In this paper, B is used to compute weights for the different indexes.

This pull request attempts to add an attribute to the class factor_analyzer to allow access to B (weights_).

@Xylambda Xylambda mentioned this pull request Mar 4, 2020
@desilinguist desilinguist requested a review from jbiggsets March 10, 2020 14:28
@desilinguist
Copy link
Member

@jbiggsets do you have time to review this?

@desilinguist
Copy link
Member

desilinguist commented Jun 1, 2020

Thank you for this @Xylambda ! Do you happen to have the time to add a test for this change too? If so, that'd be much appreciated!

@desilinguist
Copy link
Member

Moved to #59.

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

Successfully merging this pull request may close these issues.

2 participants