Quantifying Opinions and Behaviors