A cost valuation model based on a stochastic representation of the IPAT equation