Science feels like reinventing the wheel each time. There are great statistics tools in Matlab but one needs the toolbox, even for a PCA… Of course this is free in python but since several pipelines are made in Matlab, I really wanted to have my tools available there.
So I coded what has probably been coded thousands of times before, a multidimensional linear regression tool, and a multidimensional orthogonal regression tool, and the bootstrap codes for these tools.
At least I know how they work now…
This includes :
Multidimensional linear regression
Multidimensional orthogonal regression
Bootstrap for both
N-dimensional “cross product”
A matlab PCA implementation