Applications of state dependent models in finance