To measure reactivity, researchers can compare the behavior of participants who know they are being observed with those who do not. This can be done using control groups or by employing techniques such as randomized controlled trials to assess the impact of awareness on behavior.