Question

In: Statistics and Probability

Here is the start of the SAS code to address this question: DATA READING; INPUT GROUP...

Here is the start of the SAS code to address this question:

DATA READING;
INPUT GROUP $ WORDS @@;
DATALINES;
X 700 X 850 X 820 X 640 X 920
Y 480 Y 460 Y 500 Y 570 Y 580
Z 500 Z 550 Z 480 Z 600 Z 610
;

Is there a significant difference between the mean reading score among the groups?

  1. Yes
  2. No

Assuming you answer "yes" in the previous question, between what groups was there a significant difference in means?

  1. X and Z
  2. Y and Z
  3. X and Y
  4. Two of the above are correct
  5. All three of the above are correct

Solutions

Expert Solution

The means of the 3 groups are:

= 786,   = 518,   = 548

And the std deviations are:

sx = 113.93, sy = 54.037, sz = 58.05

The 2-sample t-statistic for samples X and Y =

= [ - ] / sqrt[(sx2/n1) + (sy2/n2)]

4.752 > t0.975, 8 = 2.262 (critical 2-sided t-score for 5% significance and 8 degrees of freedom)

Hence, we can reject the null hypothesis that the means are equal at the 5% significance level. So, there is a significant difference between means of X and Y.

Similarly, for X and Z, t-statistic = 4.162 > t0.975, 8 = 2.262. Hence, there is a significant difference between means of X and Z as well.

Now, for Y and Z, t-statistic = -0.846 > t0.025, 8 = -2.262 (we look at the left tail probability as the t-statistic lies towards the left of the mean 0). Hence, we cannot reject the null hypothesis that there is a significant difference between means of Y and Z at the 5% significance level.

Hence

  • Yes, There is a significant difference among the means reading scores of the 3 groups
  • There is a significant difference in means between groups X and Y, and between X and Z, but not between Y and Z.

Related Solutions

Part A: Here is the start to SAS: DATA CHISQ; INPUT GROUP $ OUTCOME $ COUNT;...
Part A: Here is the start to SAS: DATA CHISQ; INPUT GROUP $ OUTCOME $ COUNT; DATALINES; DRUG ALIVE 90 DRUG DEAD 10 PLACEBO ALIVE 80 PLACEBO DEAD 20 ; Add the necessary code to evaluate the chi-square. What is the continuity-adjusted chi-square a. 0.0477 b. 0.0459 c. 0.0747 d. 0.0482 Part B. For the data in the above question, what is the 95% confidence interval for the odds ratio?​​​​​​​ 0.99-5.09 1.00-1.27 0.97-5.51 1.01-1.25
Using this SAS code for the data. The outcome variable is SBP and should be coded...
Using this SAS code for the data. The outcome variable is SBP and should be coded to appear on the y-axis. Note: you have to write the appropriate program Answer the following questions: Report the correlation coefficient and the p-value. (2pts) Report the parameter estimate for the intercept and heart rate (4pts) Using the regression equation, what is the expected blood pressure for someone with a heart rate of 153? (4pts) data sas_test; input hr sbp; datalines; 35 80 50...
Write code in SAS to do each of the following I have posted the data below...
Write code in SAS to do each of the following I have posted the data below from a pace delimited data set consisting of 66 randomly selected cars Upload the data set to SAS and store it as a SAS data set called cars. Make sure the full values are stored for all character variables. Create a comparative bar chart (with appropriate title and labels) displaying the brands of each car by fuel type (so that fuel type is on...
I need the code in SAS and R and outputs please 2. The data below come...
I need the code in SAS and R and outputs please 2. The data below come from a study investigating a method of measuring body composition, and give the body fat percentage (% fat), age and sex for 18 adults aged between 23 and 61 years. Source: Mazess, R.B., Peppler, W.W., and Gibbons, M. (1984) Total body composition by dual-photon (153GD) absorptiometry. American Journal of Clinical Nutrition, 40, 834-839. age % fat sex 23 9.5 male 23 27.9 female 27...
Part I - Reading input in a loop Before you start doing any coding, brainstorm between...
Part I - Reading input in a loop Before you start doing any coding, brainstorm between the two of you on how to go about starting this program. You need to get your code to repeatedly prompt for a new String until the user enters an empty line, and then end with a goodbye message. What is the algorithm that you need to use? Write your algorithm into comments in the main method of the Palindrome class (as shown in...
THE CODE IN THIS QUESTION IS STORED IN THE MEMORY FROM ADDRESS 0X1FFF000. SO TAKE THIS...
THE CODE IN THIS QUESTION IS STORED IN THE MEMORY FROM ADDRESS 0X1FFF000. SO TAKE THIS INTO CONSIDERATION. 1.     In the following MIPS assembly code, translate all the instructions to their corresponding machine code in hexadecimal format. This code is stored in the memory from address 0x1fff0000. Loop: sw $t1, 4($s0)        addi $t1, $t1, -1    sll $t1, $t1, 2        bne $t1, $s5, Exit    addi $s0, $s0, 4          j Loop Exit: … ********************************THE FOLLOWING...
Bonus Using permutation test SAS code , do the following: Trauma data Metabolic Expenditure Nontrauma patients:...
Bonus Using permutation test SAS code , do the following: Trauma data Metabolic Expenditure Nontrauma patients: 20.1 22.9 18.8 20.9 20.9 22.7 21.4 20 trauma patients: 38.5 25.8 22 23 37.6 30 24.5 Part A Build the permutation distribution (using 5,000 permutations) for the rank sum statistic for the Trauma data used above. Use SAS to fit/overlay a normal curve to the resulting histogram. Compare the mean and standard deviation of this normal curve that was fit to the permutation/randomization...
Question 2: Input price and input efficiency variances The budgeted and actual data for direct materials...
Question 2: Input price and input efficiency variances The budgeted and actual data for direct materials and labor are as follows: Budgeted Actual DM price $1 per pound $0.75 per pound DM quantity per unit 5 pounds per unit 6 pounds per unit DL price $8 per hour $11 per hour DL quantity per unit 0.3 hours per unit 0.4 hours per unit Actual sales volume is 100 units. Budgeted sales volume is 80 units. a) Without computations, characterize the...
How to validate Javascript form data? Here is the code. Can someone modify it so that...
How to validate Javascript form data? Here is the code. Can someone modify it so that all the information is validated? Thanks. <!DOCTYPE html> <html lang="en"> <head>    <title>Music Survey</title>    <meta charset="utf-8"> </head> <style>    legend { font-weight:bold;    }    </style> <body> <h1>Music Survey</h1> <form method="post" action=""> <label for="myname"><b>Name:</b></label>        <input type="text" name="myname" id="myname">        <br><br> <label for="myemail"><b>Email:</b></label>        <input type="email" name="myemail" id="myemail">        <br><br>   <fieldset> <legend>Select Your Favorite Types of Music:</legend> <input type="checkbox"...
this is a python code: QUESTION 1: Input floating point numbers for a, b, c, d...
this is a python code: QUESTION 1: Input floating point numbers for a, b, c, d and e. calculate the following and display the result.  Mathematical expression ab means a * b in programming context. QUESTION 2: You are sleep expert for a baby that is having struggle sleeping every night. You are to ask the mother of the child "How many oz of milk the child drank ?" Based on the amount of milk, you will have to determine...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT