Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this question, you will need to analyse data found in the data file df.csv (Dua, D. & Graff, C., 2019). Download the data set
For this question, you will need to analyse data found in the data file df.csv (Dua, D. & Graff, C., 2019). Download the data set by clicking on df.csv and then save it in a relevant location on your PC. You will then need to import your data into jamovi (Sci/Health students) or R (Data Science students). The two columns (variables) in df.csv contain the following information for 36 patients: * Cholesterol: Cholesterol in mg/dl BloodSugar: Fasting blood sugar > 120 mg/dl (TRUE or FALSE) However, in this question, we will only need the Cholesterol variable. Suppose we wish to use a One-sample t-test to determine whether the true average cholesterol for the population associated with this sample of patients is different from 230. What follows is a series of questions related to testing this hypothesis. Assume a level of significance of o = (.05. Carry out the necessary analysis using either jamovi (Sci/Health students) or R (Data Science students) and answer the following questions. Where relevant, round your answers to THREE decimal places. For p-values that are less than 0.00] please round to O. 1. What is the sample mean cholesterol, T? 2. What is the sample standard deviation, s? |:| 3. What is the standard error, se? I:I ScifHealth Students: To visualise the data, create a histogram of Cholesterol with a density curve overlaid. Important note: Save your plot, in the next question you will have a chance to upload your plot. You do not have to answer any questions about 2 your histogram until the next question. @ Data Science Students: To visualise the data, create a histogram of Cholesterol with a normal curve overlaid. Important note: Save your R code used to create the plot, and save your plot. In the next question you will have a chance to upload your plot ar you will also need to input your code. You do not have to answer any questions about your histogram until the next question. &1 To help determine whether or not the Normality assumption has been met, carry out a Shapiro-Wilk test and complete the following statement (remember to round to THREE decimal places, and for p-values less than 0.00], please round to O): 4. Based on the Shapiro-Wilk test alone, we assume normality since we have p = \\ In addition, since we have n = I:' the Central Limit Theorem |:| be applied. Therefore in conclusion, based on consideration of the Shapiro-Wilk test and Central Limit Theorem, we assume normality. NOTE: Regardless of your answer above, for the remaining questions assume that the Normality assumption has been met. Using the information provided in this question, we wish to test the following hypotheses: Hy : u = 230 versus H; : p # 230. Carry out the hypothesis test and answer the following questions: 5. What is the degrees of freedom? 6. What is the test statistic? |:| 7. What is the p-value
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started