Class Expectations

java.lang.Object
simpaths.model.decisions.Expectations

public class Expectations extends Object
CLASS TO DEFINE STATE EXPECTATIONS FOR UTILITY MAXIMISATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Expectations(Expectations invariantExpectations)
    CONSTRUCTOR TO COPY AND EXPAND ON invariantExpectations
    Expectations(States currentStates)
    CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE IN OUTER LOOP AND INVARIANT TO AGENT DECISIONS
    Expectations(States currentStates, Expectations outerExpectations)
    CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE INVARIANT TO AGENT DECISIONS
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    taxBenefitFunction(Integer labourHours1Weekly, Integer disability1, double labourIncome1Weekly, double investmentIncome1Annual, double pensionIncome1Annual, Integer labourHours2Weekly, Integer disability2, Integer careProvision, double labourIncome2Weekly, double investmentIncome2Annual, double pensionIncome2Annual, double childcareCostAnnual, double socialCareCostAnnual, double wealthLiqValue)
    METHOD TO CALL TO TAX AND BENEFIT FUNCTION
    void
    updateForDiscreteControls(double emp1Pr, double emp2Pr)
    METHOD TO UPDATE EXPECTATIONS FOR DISCRETE CONTROL VARIABLES

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Expectations

      public Expectations(States currentStates)
      CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE IN OUTER LOOP AND INVARIANT TO AGENT DECISIONS
      Parameters:
      currentStates - States object for storage of current (outer) state combination
    • Expectations

      public Expectations(States currentStates, Expectations outerExpectations)
      CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE INVARIANT TO AGENT DECISIONS
      Parameters:
      currentStates - States object for storage of current (outer) state combination
      outerExpectations - Expectations object for storage of expectations of outer states that are independent of decisions
    • Expectations

      public Expectations(Expectations invariantExpectations)
      CONSTRUCTOR TO COPY AND EXPAND ON invariantExpectations
      Parameters:
      invariantExpectations - set of expectations that are invariant to control variables
  • Method Details

    • updateForDiscreteControls

      public void updateForDiscreteControls(double emp1Pr, double emp2Pr)
      METHOD TO UPDATE EXPECTATIONS FOR DISCRETE CONTROL VARIABLES
      Parameters:
      emp1Pr - proportion of time reference adult spends in employment
      emp2Pr - proportion of time spouse spends in employment
    • taxBenefitFunction

      public double taxBenefitFunction(Integer labourHours1Weekly, Integer disability1, double labourIncome1Weekly, double investmentIncome1Annual, double pensionIncome1Annual, Integer labourHours2Weekly, Integer disability2, Integer careProvision, double labourIncome2Weekly, double investmentIncome2Annual, double pensionIncome2Annual, double childcareCostAnnual, double socialCareCostAnnual, double wealthLiqValue)
      METHOD TO CALL TO TAX AND BENEFIT FUNCTION
      Returns:
      disposable income per annum of benefitUnit NOTE: ALL FINANCIALS ARE DEFINED HERE IN PRICES OF ASSUMED BASE YEAR (Parameters.BASE_PRICE_YEAR)