コード例 #1
0
 def advanceIncShks(self):
     '''
     Advance the permanent and transitory income shocks to the next period of
     the shock history objects, after first advancing the preference shocks.
     
     Parameters
     ----------
     none
     
     Returns
     -------
     none
     '''
     self.PrefShkNow = self.PrefShkHist[self.Shk_idx,:]
     IndShockConsumerType.advanceIncShks(self)
コード例 #2
0
ファイル: ConsPrefShockModel.py プロジェクト: albop/HARK
 def advanceIncShks(self):
     '''
     Advance the permanent and transitory income shocks to the next period of
     the shock history objects, after first advancing the preference shocks.
     
     Parameters
     ----------
     none
     
     Returns
     -------
     none
     '''
     self.PrefShkNow = self.PrefShkHist[self.Shk_idx,:]
     IndShockConsumerType.advanceIncShks(self)
コード例 #3
0
ファイル: ConsMarkovModel.py プロジェクト: ganong123/HARK
 def advanceIncShks(self):
     '''
     Advance the permanent and transitory income shocks to the next period of
     the shock history objects.
     
     Parameters
     ----------
     none
     
     Returns
     -------
     none
     '''
     self.MrkvNow = self.MrkvHist[self.Shk_idx,:]
     IndShockConsumerType.advanceIncShks(self)