Class Expectations
java.lang.Object
simpaths.model.decisions.Expectations
CLASS TO DEFINE STATE EXPECTATIONS FOR UTILITY MAXIMISATION
-
Constructor Summary
ConstructorsConstructorDescriptionExpectations(Expectations invariantExpectations) CONSTRUCTOR TO COPY AND EXPAND ON invariantExpectationsExpectations(States currentStates) CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE IN OUTER LOOP AND INVARIANT TO AGENT DECISIONSExpectations(States currentStates, Expectations outerExpectations) CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE INVARIANT TO AGENT DECISIONS -
Method Summary
Modifier and TypeMethodDescriptiondoubletaxBenefitFunction(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 FUNCTIONvoidupdateForDiscreteControls(double emp1Pr, double emp2Pr) METHOD TO UPDATE EXPECTATIONS FOR DISCRETE CONTROL VARIABLES
-
Constructor Details
-
Expectations
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
CONSTRUCTOR TO POPULATE EXPECTATIONS THAT ARE INVARIANT TO AGENT DECISIONS- Parameters:
currentStates- States object for storage of current (outer) state combinationouterExpectations- Expectations object for storage of expectations of outer states that are independent of decisions
-
Expectations
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 employmentemp2Pr- 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)
-