Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
asoroosh committed Jan 25, 2019
1 parent 448e5df commit 9f282a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/MatMan.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def OLSRes(YOrig,RG,T,copy=True):
#demean anyways!
mRG = np.mean(RG,axis=0)
RG = RG-np.tile(mRG,(T,1));

#B = np.linalg.solve(RG,YOrig) # more stable than pinv
invRG = np.linalg.pinv(RG)
B = np.dot(invRG,YOrig)
Expand Down

0 comments on commit 9f282a3

Please sign in to comment.