# data[].attributes.body
Does drinking 200mg or more of caffeine a day affect quality of sleep a person gets?

# data[].attributes.body
150 men and women, who work full time, and consume caffeinated beverages regularly.

# data[].attributes.body
I will sit at different local coffee shops and ask the costumers who order large coffees, if they would like to be a part of my study. If they were willing to participate, then they would receive free coffee for the next 6 weeks. I will also ask each person how well rested they feel on a scale of 1-10. 1 being extremely tired, and 10 being very well rested.

# data[].attributes.body
50 people would be randomly selected to drink their normal coffee, while the other 50 people would be given decaffeinated coffee. They would drink their designated coffee for the next 6 weeks. Then, the last 50 will not drink any coffee.

# data[].attributes.body
The Explanatory variable would be based on the type of coffee each participant is drinking.

# data[].attributes.body
The Response will be determined after 6 weeks, based on the sleep habits of each group.

# data[].attributes.body
The control group is the group that is not drinking any coffee. The Placebo group is the group who is unknowingly drinking decaffeinated coffee.

# data[].attributes.body
There is a blind in this study because the people drinking coffee do not know if they are drinking caffeinated or decaffeinated coffee. This is not double-blind because I know which treatment each person is getting.

# data[].attributes.body
This could have been a crossover design but it would have taken too long. No everyone would have been willing to give up their morning coffee for longer than 6 weeks. Also providing free coffee to 150 people for over 6 weeks would have been too costly.

# data[].attributes.body
This study could have had matched pairs based on the type of coffee, or if they had kids, or other factors that could affect sleep habits, but I did not do that. I simply just asked people at coffee shops if they would participant without pairing them.

# data[].attributes.body
In each group there will be an equal amount of people based on the rating they gave for their quality of sleep. There will be a range of 1s to 10s in each group to make sure there will be accurate results.

# data[].attributes.body
With my sample size of 150, the margin of error is 8.1%. I could lower the margin of error by having a larger sample size.

# data[].attributes.body
I could replicate this experiment in another city with new subjects. Doing this experiment more than 1 time can make it more reliable. If the results are close to the same then it is more accurate.

# data[].attributes.body
After 6 weeks, I will ask each participant to rate their quality of sleep again. For the control group, at first they rated their sleep 7 to a 8.2. The decaffeinated group went from 6.7 to 7.1. The caffeinated group went from 2.9 to 3.4.

# data[].attributes.body
Although the final results were clear, this cannot be certain because of the margin of error. To secure these results, the study must be done several more times.

# data[].attributes.body
Based on the results people that unknowingly drank caffeine had a lower quality of sleep because it kept them up at night. People who unknowingly drank decaffeinated coffee had a higher quality of sleep. The people who did not drink any coffee had the highest quality of sleep and also increased the quality during the 6 weeks.