Question

In: Statistics and Probability

We are now going to use Excel to test a hypothesis based on one given sample....

We are now going to use Excel to test a hypothesis based on one given sample. We would like to know if the average cholesterol level of patients in intensive care is equal to 200 and for that reason we collect cholesterol level of 20 random people from various intensive care units.

Cholesterol level 154,168,134,201,208,220,225,228,201,207,168,211,203,254,268,198,298,135,154,189 We put our data in column A. In Cells A3-A22 we type our data and in cell A1 we type Cholesterol. First let’s input the sample size n, that is how many elements in data do we have. In cell B24 we type N and in cell A24 we type 20. Second, we find degrees of freedom df=N-1. In cell B25 we type df and in cell A25 we type =A24-1. Next we evaluate the mean. We learned that already. In cell B26 we type Mean and in cell A26 we type =average(A3:A22). Now let’s do standard deviation. In cell B27 we type SD and in cell A27 we type =stdev(A3:A22). Next let’s do standard error of the mean. In cell B28 we type SEM and in cell A28 we type =A27/sqrt(A24). We will do a one sample t test and for that we need a t value. . In cell B29 we type t and in cell A29 we type =(A26-200)/A28. Now we evaluate the p value using Excel. In cell B31 we type TEST value and in cell A31 we type 200 In cell B32 we type Mean Difference. In cell A32 we type =A26-A31 . In cell B33 we type Sig.(2-tailed). In cell A33 type =T.DIST.2T(A29,A25). Here T.DIST.2T means we are doing 2 tailed one sample TTEST. The first parameter A29 means we are computing the p value based on our calculated t value and we are comparing it to our threshold significance level of 0.05. The second variable represents degrees of freedom.

Exercises Exercise 1. State the null hypothesis from this example in cell A35.

Exercise 2. What does the value in cell A33 tell you about the hypothesis. Do we reject the null hypothesis? Why? Put your explanation in cell A36.

Exercise 3. Instead of using Excel, we can look at the t chart. Find the critical value for the t distribution from that table. Put that value in cell A37.

Exercise 4. Compare the t value in cell A29 to the table t value in cell A37. What is this comparison telling you about rejecting or not rejecting the null hypothesis. Put your explanation in cell A38.

Solutions

Expert Solution

Cholesterol
154
168
134
201
208
220
225
228
201
207
168
211
203
254
268
198
298
135
154
189
sample mean 201.2 N (sample size) 20
sample std. deviation 42.39861 Degree of freedom , df = N-1 19
Std. error of mean 9.480617
Exer. 1 Null Hypothesis ; H0 : mu = 200
Hypothesized mean 200
Exer.2 Test statistic (t = (sample mean - hypothesized mean)/(Std. error of mean) 0.126574036
P- value is given as 0.900607429
Since P - value is > 0.05, we fail to reject Null hypothesis

I have solved in detail as below for clear understanding :


Related Solutions

Chi Square Test We will now use Excel to run an example of a chi square...
Chi Square Test We will now use Excel to run an example of a chi square test. Chi square test is checking the independence of two variables. Our example will test if taking hormonal pills and being overweight are related. We will test the independence on 200 random patients. Thus, N=200. They will be divided first into two groups, those who take hormonal pills and those who do not. Second, they will be divided into three groups based on weight,...
Use MS Excel to answer this. From the data given below test a hypothesis for variances...
Use MS Excel to answer this. From the data given below test a hypothesis for variances being equal. Use α = 0.05. Section A Section B 15 16 26 52 52 55 53 57.5 54 58 56.5 60 61 61 61.5 70 63 70 66 71 66 72 66.5 73 69 74.5 71 75 77 75.5 77 76 78 77 79 81 81 85 86 85.5 87 86 90 88 90 88.5 91 91 91 93 94 95 96 98...
Use the 95% level of confidence. - Given the following sample information, test the hypothesis that...
Use the 95% level of confidence. - Given the following sample information, test the hypothesis that the treatment means are equal at the 0.05 significance level. Treatment 1 - 8, 11 and 10. Treatment 2 - 3, 2, 1, 3, and 2. Treatment 3 - 3, 4, 5 and 4. a) What is the decision rule? (Round your answer to 2 decimal places.) - Reject Ho if F > b) Compute SST, SSE, and SS total. (Round your answers to...
PLEASE DO NO USE EXCEL, as we are not able to use excel on our test...
PLEASE DO NO USE EXCEL, as we are not able to use excel on our test XYZ company is considering a new machine that costs $300,000 and would reduce pre-tax manufacturing costs by $108,000 annually. XYZ would use the 3-year MACRS method to depreciate the machine, and management thinks the machine would have a value of $23,000 at the end of its 5-year operating life. The applicable depreciation rates are 33%, 45%, 15%, and 7%. The net operating working capital...
Excel Homework: We are going to start working on sample statistics—that is, on measures we can...
Excel Homework: We are going to start working on sample statistics—that is, on measures we can sue to describe a sample. The two that we will learn about today are histograms, and 5 number summaries (which can be represented using box-plots). 1. You are designing a game, and considering having players roll a six-sided die and a 20-sided die, and add the values of each die. To get a picture of what happens when someone rolls dice like that, you...
Hypothesis Testing (One Sample- proportion) using the 5 step process: Use hypothesis testing to test the...
Hypothesis Testing (One Sample- proportion) using the 5 step process: Use hypothesis testing to test the claim that the percentage of women who use Cannabis on a regular basis is more than 26%. A random sample of 200 women found that 64 of them used Cannabis on a regular basis. Use a level of significance of 0.10.
Recall in the one sample hypothesis testing scenario that we investigated the following presumptions based on...
Recall in the one sample hypothesis testing scenario that we investigated the following presumptions based on previous research, "no evidence currently exists supporting or refuting the use of electric fans during heat waves" in terms of mortality and illness, as well as Public Health guidelines suggesting not using fans during hot weather, with some research reporting the potential of fans accelerating body heating. You decide to further your research project by hypothesizing that the true proportion of core body temperature...
Recall in the one sample hypothesis testing scenario that we investigated the following presumptions based on...
Recall in the one sample hypothesis testing scenario that we investigated the following presumptions based on previous research, "no evidence currently exists supporting or refuting the use of electric fans during heat waves" in terms of mortality and illness, as well as Public Health guidelines suggesting not using fans during hot weather, with some research reporting the potential of fans accelerating body heating. You decide to further your research project by hypothesizing that the true average core body temperature amidst...
Which hypothesis test you believe you should use and why. One Sample Proportion Z-test Two Sample...
Which hypothesis test you believe you should use and why. One Sample Proportion Z-test Two Sample Proportion Z-test One Mean t-test Pooled t-test Non-Pooled t-test Paired t-test ANOVA F-test Bootstrapping is also an option Questions: The NOAA National Climatic Data Center of the United States provides data on the average annual temperature for every state in the United States. The average annual temperatures are based on data collected by weather stations throughout each state during the years 1971 to 2000....
1. Use the given sample data to find the P-value for the hypothesis test. Round your...
1. Use the given sample data to find the P-value for the hypothesis test. Round your answer to four decimal places. x 1 = 38, n 1 = 100, x 2 = 40, n 2 = 100; H 0: p 1 = p 2, H 1: p 1 ≠ p 2 , α = 0.05 2. A random sampling of 60 pitchers from the National League and 74 pitchers from the American League showed that 38 National and 36 American...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT