Skip to content

Commit

Permalink
Merge pull request #1212 from sbenthall/i596
Browse files Browse the repository at this point in the history
removing unused old Mtp1 code, fixes #596
  • Loading branch information
sbenthall authored Jan 13, 2023
2 parents 8313ec5 + 26a172b commit 2fbfbc6
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions HARK/ConsumptionSaving/ConsIndShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3302,21 +3302,6 @@ def check_conditions(self, verbose=None):
_log.warning("DiscFacGPFNrmMax = %2.6f " % (self.DiscFacGPFNrmMax))
_log.warning("DiscFacGPFAggLivPrbMax = %2.6f " % (self.DiscFacGPFAggLivPrbMax))

def Ex_Mtp1_over_Ex_Ptp1(self, mNrm):
cNrm = self.solution[-1].cFunc(mNrm)
aNrm = mNrm - cNrm
Ex_Ptp1 = PermGroFac[0]
Ex_bLev_tp1 = aNrm * self.Rfree
Ex_Mtp1 = Ex_bLev_tp1
return Ex_Mtp1 / Ex_Ptp1

def Ex_mtp1(self, mNrm):
cNrm = self.solution[-1].cFunc(mNrm)
aNrm = mNrm - cNrm
Ex_bNrm_tp1 = aNrm * self.Rfree * self.Ex_PermShkInv / self.PermGroFac[0]
Ex_Mtp1 = (Ex_bNrm_tp1 + 1) * Ex_Ptp1 # mean TranShk and PermShk are 1
return Ex_Mtp1 / Ex_Ptp1

def calc_stable_points(self):
"""
If the problem is one that satisfies the conditions required for target ratios of different
Expand Down

0 comments on commit 2fbfbc6

Please sign in to comment.