A researcher tested the effect of caffeine on sleep. forty pilots volunteered to participate in the study and signed up for one of two nights. pilots on tuesday night drank a cup of regular coffee and those on wednesday night received a cup of decaffeinated coffee. they then took a nap and length of time to fall asleep was recorded with the aid of an eeg. pilots in the caffeine group took significantly longer to fall asleep. the researcher concludes that caffeine interferes with the ability to fall asleep.
a. What type of investigation is this?
b. What are the variables?