Example #1
0
    def __init__(self, param, N, xwage, xmarr, xkid, ra, nkids0, married0,
                 hours, cc, age_t0, hours_p, hours_f, wr, cs, ws):
        """
		introduces shock
		"""
        Utility.__init__(self, param, N, xwage, xmarr, xkid, ra, nkids0,
                         married0, hours, cc, age_t0, hours_p, hours_f, wr, cs,
                         ws)
Example #2
0
	def __init__(self,param,N,xwage,xmarr,xkid,ra,
		nkids0,married0,hours,cc,age_t0,hours_p,hours_f,wr,cs,ws):
		"""
		wr, cs, ws control working requirements, child care subsidy,
		and wage subsidy parameters
		"""
		Utility.__init__(self,param,N,xwage,xmarr,xkid,ra,
			nkids0,married0,hours,cc,age_t0,hours_p,hours_f,wr,cs,ws)
Example #3
0
    def __init__(self, param, N, xwage, xmarr, xkid, ra, nkids0, married0,
                 hours, cc, age_t0, hours_p, hours_f, wr, cs, ws):
        """	
		ec, el: E[log()] of consumption and leisure from original (simulated)
		data
		"""

        Utility.__init__(self, param, N, xwage, xmarr, xkid, ra, nkids0,
                         married0, hours, cc, age_t0, hours_p, hours_f, wr, cs,
                         ws)
    def __init__(self, param, N, p1_0, p2_0, years, treatment, typeSchool,
                 HOURS, p1, p2, catPort, catPrueba, TrameI, priotity,
                 rural_rbd, locality):
        """
        Calling baseline m odel

        """

        Utility.__init__(self, param, N, p1_0, p2_0, years, treatment,
                         typeSchool, HOURS, p1, p2, catPort, catPrueba, TrameI,
                         priotity, rural_rbd, locality)
Example #5
0
 def __init__(self, _pilot, _desc):
     """
     Initializer. Parses description.
     :param _pilot: Pilot class instance.
     :param _desc: Description object.
     :return:
     """
     Utility.__init__(self)
     self.log = logging.getLogger('pilot.jobmanager')
     self.pilot = _pilot
     if _pilot.args.no_job_update:
         self.no_update = True
     self.description = _desc
     _pilot.logger.debug(json.dumps(self.description, indent=4, sort_keys=True))
     self.parse_description()