The self-sampling assumption (SSA), one of the two major schools of anthropic probability (the other being the Self-Indication Assumption (SIA)), states that:
For instance, if there is a coin flip that on heads will create one observer, while on tails it will create two, then we have two possible worlds, the first with one observer, the second with two. These worlds are equally probable, hence the SSA probability of being the first (and only) observer in the heads world is 1/2, that of being the first observer in the tails world is 1/2 × 1/2 = 1/4, and the probability of being the second observer in the tails world is also 1/4.
This is why SSA gives an answer of 1/2 probability of heads in the Sleeping Beauty problem.
Unlike SIA, SSA is dependent on the choice of reference class. If the agents in the above example were in the same reference class as a trillion other observers, then the probability of being in the heads world, upon the agent being told they are in the sleeping beauty problem, is 1/3, similar to SIA.
SSA may imply the doomsday argument depending on the choice of reference class. It is often used in anthropic reasoning.
Bostrom, in his book Anthropic Bias: Observation Selection Effects in Science and Philosophy, has suggested refining SSA to what he calls the Strong Self-Sampling Assumption (SSSA), which replaces "observers" in the SSA definition by "observer-moments". This coincides with the intuition that an observer who lives longer has more opportunities to experience herself existing, and it provides flexibility to refine reference classes in certain thought experiments in order to avoid paradoxical conclusions.