Question

In: Statistics and Probability

In the following data set, the columns indicate young adults’ smoking habit, while the rows indicate...

In the following data set, the columns indicate young adults’ smoking habit, while the rows indicate their exercise status. Please conduct a hypothesis to determine whether smoking habit and exercise status are associated. Choose α = 0.05. (Please make sure to check assumptions, if assumptions are not met, you may stop).

this q is for a biostatistical subject.

Smoking Habit

Exercise Status

Frequent

Some

None

Total

Never

98

86

35

219

Occasion

29

47

23

99

Regular

17

9

17

43

Heavy

9

7

19

35

Total

153

149

94

396

Solutions

Expert Solution

To check whether there smoking habit and exercise status are associated, we will use two way ANOVA process. Since there are two factors of variation due to rows and columns, the hypothesis are as follows ;

NULL HYPOTHESIS:

H0R : there is no significant difference between the exercise statuses.

H0C : there is no significant difference between the smoking habits.

ALTERNATIVE HYPOTHESIS :

H1R : at least two of the exercise statuses differs significantly.

H1C : at least two of the smoking habits differs significantly.

Smoking habit
Exercise status frequent some none Total ti.^2
never 98 86 35 219 47961
Occasion 29 47 23 99 9801
Regular 17 9 17 43 1849
Heavy 9 7 19 35 1225
Total 153 149 94 grand total =396 total = 60836
t.j^2 23409 22201 8836 total= 54446
N = 4*3 = 12
Raw sum of squares = 22954
Correction Factor = G^2 / N = 13068
Total sum of Squares = RSS - CF = 9886
Row sum of Squares = (sum of ti.^2/ 3) - CF = 7210.667
Column Sum of Squares = (sum of t.j^2/ 4) - CF = 543.5
Error sum of squares = TSS - RSS - CSS = 2131.833
ANOVA TABLE
Sources of Variation S.S.(1) d.f.(2) M.S.S.    (3) = (1)/(2) Variance Ratio (4)    
Between Columns 543.5 3-1 =2 271.75 0.764834769
Between rows 7210.667 4-1= 3 2403.555667 6.76475784
Error 2131.83 2*3 = 6 355.3055
Total 9886

Given alpha level of significance is 0.05

now, tabulated F0.05(2,6) is 5.14 and the calculated value is 0.765 ,which is much less than the tabulated value, it is not significant and we fail to reject H0R at 5% level of significance. Hence there is no significant difference between the smoking habits.

Again,the tabulated F0.05 (3,6) is 4.76 and the calculated value is 6.765 ,which is greater than the tabulated value , so we will reject the null hypothesis at 5% level of significance, and conclude that there is significant difference between the exercise statuses.


Related Solutions

How to create a compacted data set by combining the columns Old, Older, Young, Younger and...
How to create a compacted data set by combining the columns Old, Older, Young, Younger and place them in into one single new column called age using python pandas. id Test1 Old Older Young Younger 0.1 1 False False False False 0.2 2 False True True False 0.3 3 True False False False 0.4 4 False False False False
I need a copy of organized data in a spreadsheet with rows and columns labeled, can...
I need a copy of organized data in a spreadsheet with rows and columns labeled, can anyone help me with this please? I am doing a made up experiment where I see if eating vegetarian diets makes someone healthier. I am ‘supposed’ to find a group of people at school willing to participate and change their diet, pull their names from a jar, and randomly assign who will try the vegetarian diet and who’s diet will remain the same that...
/*Question 3: The following data contains five columns (variables) and five rows (observations). First, read the...
/*Question 3: The following data contains five columns (variables) and five rows (observations). First, read the data into SAS to create a data set. Notice that the first, third, and the fifth variable have missing values. Please replace the missing values of the first, third, and fifth variable with 30, 40, and 50, respectively. Next, for all the variables, if a value is at least 100, make an adjustment to the value such that its new value is equal to...
Write a script to display the following patterns on the screen. Number of rows and columns...
Write a script to display the following patterns on the screen. Number of rows and columns are taken from the command arguments; if they are missing, set default to 3 (rows) and 4 (columns). Hint: you will use a nested loop. **** **** **** a) Display the source code in an editor (#4-11) b) Execute your script in the terminal, and display the command and the result (#4-12)
A researcher is wondering whether the smoking habits of young adults (18-25 years of age) in...
A researcher is wondering whether the smoking habits of young adults (18-25 years of age) in a certain city in the U.S. are the same as the proportion of the general population of young adults in the U.S. A recent study stated that the proportion of young adults who reported smoking at least twice a week or more in the last month was 0.16. The researcher collected data from a random sample of 75 adults in the city of interest,...
The following data shows the age at diagnosis of type ii diabetes in young adults. Is...
The following data shows the age at diagnosis of type ii diabetes in young adults. Is the age at diagnosis different for males and females ? Mann-Whitney. MALES 19 22 16 29 24 FEMALES 20 11 17 12
Results of the Youth Risk Behavior Surveillance Survey indicate that 15% of young adults are heavy...
Results of the Youth Risk Behavior Surveillance Survey indicate that 15% of young adults are heavy drinkers, 65% are moderate drinkers, and 20% are non-drinkers. The University of South Dakota conducts its own survey, and finds the following:       Heavy Drinkers Moderate Drinkers Non-Drinkers Number of Students 83 91 46 Is the distribution of alcohol consumers on the University of South Dakota campus approximately normal? Use α = .05 as your level of significance.
The two rows of data below come from recorded weights of young mice raised on two...
The two rows of data below come from recorded weights of young mice raised on two different diets, labeled S1 and S2. Use these two datasets to address the following questions. S1 5.85 6.85 7.16 5.43 5.03 6.48 3.89 5.44 6.88 5.37 S2 4.52 5.29 5.74 5.48 3.74 4.61 4.00 4.67 4.87 5.12 a) Imagine you want to conduct a conventional parametric test of H0: μ1 = μ2 versus H1: μ1 not equal to μ2. What test would you use,...
Use Random number generator (under Data Analysis) to simulate the following data set. Create 10 columns,...
Use Random number generator (under Data Analysis) to simulate the following data set. Create 10 columns, each 20 points long and use the following parameters: Number of variables (10), number of data point (20), Distribution (Normal), Mean (40), Standard Deviation (10), Random seed (1234). The data should be in columns: A,B,C,….,I,J. Randomly pick two columns (say Column B and Column H) and perform 2-sided t-test on these two data columns. Record the P-value and repeat this procedure several times (at...
For each of the following cases, indicate (a) to what rate columns, and (b) to what...
For each of the following cases, indicate (a) to what rate columns, and (b) to what number of periods you would refer in looking up the interest factor. 1. In a future value of 1 table: Annual Rate Number of Years Invested Compounded (a) Rate of Interest (b) Number of Periods a. 11% 10 Annually % b. 12% 6 Quarterly % c. 10% 18 Semiannually % 2. In a present value of an annuity of 1 table: Annual Rate Number...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT