Question

In: Statistics and Probability

Question (4) [6 marks] I am a firm believer in sketching things on tests/assignments. I think...

Question (4) [6 marks]

I am a firm believer in sketching things on tests/assignments. I think that sometimes the sketch can help remind you what you have to do next, or correctly guide your thought process. One of my TA's for a previous Statistics course gathered data from marked tests to determine if sketching had an influence grades. For each student in the class, we recorded whether or not they sketched during a specific question, and also recorded whether or not they obtained the correct p- value. The results were as follows:

At 10% the level of significant, is there any statistical reason to believe that sketching is associated with grades?

Note: You can use the functions qchisq() in R to help you in solving the following. Why we are using qchisq() function in R.

The qchisq() function in R allows us to specify a desired area in a tail and the number of degrees of freedom. From that information, qchisq() computes the required x-value to get the specified area in the specified tail with the specified number of degrees of freedom.

O

sketch

No sketch

Total

correct

50

30

incorrect

60

90

Total

E

sketch

No sketch

Total

correct

incorrect

Total

  1. a) State the two hypothesis of interest.

  2. b) Calculate an appropriate test statistic for (a) by hand.

χ 2   (O  E )2 E

c) Write your conclusion using the rejection region method “critical value method” include both statistical and related to the topic of the question (practical) interpretation use the function qchisq() in R.

Question 5

In this question we’ll use housetasks dataset from STHDA: http://www.sthda.com/sthda/RDoc/data/housetasks.txt. The dataset is a contingency

table containing 13 house tasks and their distribution in the couple: → rows are the different tasks

→ values are the frequencies of the tasks done :

1) by the wife only
2) alternatively
3) by the husband only 4) or jointly

Using R test whether the two variables housetasks and their distribution in the couple are statistically significantly associated (dependent) by answering the following questions.

a)

b)

(1 mark) State the two hypothesis of interest.

(0.5 mark) Import the data into R using the function read.table

Note: show your R codes but not the output (the dataset).

c)

(0.5 mark) Calculate Chi-square statistic using the function chisq.test() in R. Note: show your R codes and output.

d)

(1 mark) Use ? = 0.05 write your conclusion using the p-value (include both statistical and related to the topic of the question interpretation).

DATA for Q5

            Wife        Alternating     Husband Jointly
Laundry   156   14      2       4
Main_meal 124   20      5       4
Dinner    77    11      7       13
Breakfeast      82      36      15      7
Tidying    53   11      1       57
Dishes    32    24      4       53
Shopping        33      23      9       55
Official        12      46      23      15
Driving 10      51      75      3
Finances        13      13      21      66
Insurance       8       1       53      77
Repairs 0       3       160     2
Holidays        0       1       6       153

Solutions

Expert Solution

a) Null hypothesis, H0: sketching and grades are independent

vs. Alternative hypothesis, Ha: sketching has an influence on grades

(b)

O

sketch

No sketch

Total

correct

50

30

80

incorrect

60

90

150

Total

110 120 230

E

sketch

No sketch

Total

correct

80*110/230=38.2609 80*120/230=41.7391

incorrect

150*110/230=71.7391 120*150/230=78.2609

Total

Q5: (a) Null hypothesis, H0: Two variables house tasks and their distribution in the couple are not associated

vs. Alternative hypothesis, Ha: Two variables house tasks and their distribution in the couple are associated

(b) and (c) R code:

library(MASS)       # load the MASS package
t=matrix(c(156,124,77,82,53,32,33,12,10,13,8,3,0,14,20,11,36,11,24,23,46,51,13,1,3,1,
2,5,7,15,1,4,9,23,75,21,53,160,6,4,4,13,7,57,53,55,15,3,66,77,2,153),ncol=4,byrow=TRUE)
colnames(t)=c("Wife","Alternating","Husband","Jointly")
rownames(t)=c("Laundry",
"Mainmeal",
"Dinner",
"Breakfeast",
"Tidying",
"Dishes",
"Shopping",
"Official",
"Driving",
"Finances",
"Insurance",
"Repairs",
"Holidays"
)
table=as.table(t)
chisq.test(table)

Output:

Pearson's Chi-squared test

data: table
X-squared = 809.81, df = 36, p-value < 2.2e-16

Warning message:
In chisq.test(table) : Chi-squared approximation may be incorrect


(d) Since p-value<0.05 so we reject H0 at 5% level of significance and conclude that the two variables housetasks and their distribution in the couple are statistically significantly associated.


Related Solutions

I am a believer in individuality rather than any outside source for my illness. I do...
I am a believer in individuality rather than any outside source for my illness. I do a lot of reading about health and am aware of the different ways in which I can fall sick. Yet I know that science cannot answer all the questions regarding the cause of illness. I believe in the power of God and power of karma but I think illness has many reasons beyond it. Bad eating habits especially the addiction to junk food has...
Question 6 Question 2 Part (i) 6 marks You are working on the audit of Chip...
Question 6 Question 2 Part (i) 6 marks You are working on the audit of Chip Ltd and have completed your review of controls over cash receipts. You have noted the following controls: Control 1: Handling of cash is entirely separate from the accounting department. Control 2: Before the accounting department posts sales invoices to the accounts receivable master file, cash receipts are matched to specific sales invoices. Control 3: The accounting department has a procedure whereby all recorded cash...
I am studying for Investments 10th by Bodie Kane in my University. As doing assignments, I...
I am studying for Investments 10th by Bodie Kane in my University. As doing assignments, I have these questions concerning margin problems. Could any experts help me to solve these questions?:) Rachel opens a margin account and purchases 400 shares of Ross Inc. at $40 per share. The initial margin requirement is 50%. The share price falls to $25 per share by the end of the year. 1) What is the remaining margin in the account? 2) If the maintenance...
6.         Question 6 [Total: 20 marks]                             &
6.         Question 6 [Total: 20 marks]                                                     Please discuss how “variation margin” and “margin call” are related in the context of daily settlement procedure.                                                                                [10 marks] b) What are the most important aspects of the design of a new futures contract?      [10 marks]
I have always been a firm believer in the saying "it's all about who you know."...
I have always been a firm believer in the saying "it's all about who you know." In the business world especially, this statement is proved true more times than not. An argument for why CEOs get paid too much is the inconsistency of compensation. "...it is reasonable to assume that the people who become CEOs because corporations offer $8 million per year, on average, more talented than the people who would become CEOs if corporations offered $1 million per year....
I am doing a separation scheme of 4-chloro-3,4-dimethylnonane-1-amine and 4-hodroxy-3-methoxybenzaldehyde (which I think is vanillin). I...
I am doing a separation scheme of 4-chloro-3,4-dimethylnonane-1-amine and 4-hodroxy-3-methoxybenzaldehyde (which I think is vanillin). I believe both are starting as a solid. The first molecule and vanillin should be soluble in diethyl ether, while vanillin is soluble in water as well (but the first molecule is not). Would I just need to add water and use gravity filtration, then make the vanillin solid again? I've thought about dissolving both in ether then adding HCl to change the solubility of...
So I am suppose to write a short essayon this and I found some things online,...
So I am suppose to write a short essayon this and I found some things online, but I am having trouble putting it into my own words. Can I have help with this please and thank you! Macropoland is currently experiencing a recession--consumption and investment are very sluggish, and unemployment is quite high at 9%. Currently, inflation is very low at 0.4% (the historical average rate of inflation is about 2%). The Macropolish President has just hired you as her...
I am reviewing the International Economics textbook (10th edition), Chapter 14, Question 6. The question asks:...
I am reviewing the International Economics textbook (10th edition), Chapter 14, Question 6. The question asks: Part A: A 10,000 GBP deposit in a London bank in a year has an interest rate in pounds of 10%. The USD/GBP exchange rate moves from $1.50 per pound to $1.38 per pound. What is the dollar rate of return on this asset? This part I understood and I calculated as: Year 0 = 10,000 GBP * 1.50 exchange rate = 15,000 USD...
I am getting confused on finding the ethical challanges to this question. I am understanding but...
I am getting confused on finding the ethical challanges to this question. I am understanding but second guessing my answers when it come to the elements and the Ethical Code Standards. 1. Identify an ethical challenge for each element (a-d) of Dr Lux advertising plan. Which General Principles and Ethical Code Standards best help understand why these elements may create ethical problems? Explain why. Case 5. Web-Based Advertising. Dr. Lux, an applied developmental psycholgoist, has created his own community consulation...
Please, this is the fifth time I am posting this question, all the answers I am...
Please, this is the fifth time I am posting this question, all the answers I am getting are inaccurate because the experts are not putting all value into account like the loan interest rate, tax rate, depreciation, annual cash outflows, salvage value, annual cash inflows, and discount rate. please also support the answer with a full interpretation and the step by step approach in solving the answer. thank you:) In this paper, please discuss the following case study. In doing...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT