We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 448e5df commit 9f282a3Copy full SHA for 9f282a3
Python/MatMan.py
@@ -42,7 +42,6 @@ def OLSRes(YOrig,RG,T,copy=True):
42
#demean anyways!
43
mRG = np.mean(RG,axis=0)
44
RG = RG-np.tile(mRG,(T,1));
45
-
46
#B = np.linalg.solve(RG,YOrig) # more stable than pinv
47
invRG = np.linalg.pinv(RG)
48
B = np.dot(invRG,YOrig)
0 commit comments