Error: file_put_contents(/home/sdp/web/themes-production.sdp-platform.com/storage/framework/views/204f7da21afc76436aefdab4a1c27a68.php): Failed to open stream: Permission denied

Whether a new sleeping pill has an affect that varies with dosage

To determine whether a new sleeping pill has an affect that varies with dosage, a researcher randomly assigns adult insomniacs, in equal numbers, to receive either 4 or 8 grams of the sleeping pill. The amount of sleeping time is measured for each subject during an 8-hour period after the administration of the dosage. What type of design is this, and what type of statistic is needed to analyze the data (consider ABAB studies)?