State probabilities and expectations