In the above example, the state prices would equate to the present values of $p and $(1−p): i.e. what one would pay today, respectively, for the up- and down-state securities; the state price vector is the vector of state prices for all states. Applied to valuation, the price of the derivative today would simply be [up-state-price × up-state-payoff + down-state-price × down-state-payoff]; see below regarding the absence of any risk premium here. For a continuous random variable indicating a continuum of possible states, the value is found by integrating over the state price density; see Stochastic discount factor.