A researcher can generate data by either conducting an observational study or a randomized experiment. Observational research involves studying a single population. On the other hand, a randomized experiment requires gathering data from multiple subjects.