netneurolab / pypyls

A Python implementation of Partial Least Squares (PLS) decomposition
https://pyls.readthedocs.io
GNU General Public License v2.0
60 stars 29 forks source link

Implement x_loadings_ci in pyls.structures.PLSBootResults #58

Open JohannesWiesner opened 2 years ago

JohannesWiesner commented 2 years ago

I would like to use pyls.behavioral_pls for my current project. When inspecting the attributes from pyls.structures.PLSBootResults I noticed that it only offers y_loadings_ci but not a corresponding x_loadings_ci. In fact I discovered that Justine Hansen already created a workaround for this issue by running PLS one more time with flipped X and y to get the 'right' confidence intervals. But maybe it would make sense to implement x_loadings_ci in the first place?

JohannesWiesner commented 2 years ago

Could also be related to #57 ?