Question

In: Statistics and Probability

5. Eight students were given a placement test and after a week of classes were given...

5. Eight students were given a placement test and after a week of classes were given again a placement test at the same level. Here are their scores.

Before 71 78 80 90 55 65 76 77

After 75 71 89 92 61 68 80 81

(a) Test whether the scores improved after 1 week by performing a student test.

(b) Test whether the scores improved after 1 week by performing a sign test.

Solutions

Expert Solution

Here we have to test,

H0: There is no improvement in score after 1 weak.

H1: There is improvement in score after 1 weak.

For given problem I write R-code as:

x=c(71,78,80,90,55,65,76,77)

y=c(75,71,89,92,61,68,80,81)

t.test(x,y,paired=TRUE)

sign.test<-function(x=0,y=NULL,alternative="two.sided"){

n<-sum((x-y)!=0)

T<-sum(x<y)

if (alternative=="less") {

p.value<-pbinom(T,n,0.5)}

if (alternative=="greater"){

p.value<- 1-pbinom(T-1,n,0.5)}

if (alternative=="two.sided"){

p.value<-2*min(1-pbinom(T-1,n,0.5),pbinom(T,n,0.5))}

list(n=n,alternative=alternative,T=T,p.value=p.value)}

sign.test(x,y)  

Amd the output is:

Rscript main.r

        Paired t-test

data:  x and y
t = -1.9166, df = 7, p-value = 0.09681
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -6.980485  0.730485
sample estimates:
mean of the differences 
                 -3.125 

$n
[1] 8

$alternative
[1] "two.sided"

$T
[1] 7

$p.value
[1] 0.0703125

Here both p-values are greater than 0.05. Thus there is no

sufficient evidence to claim that there is improvement in score

after 1 weak.


Related Solutions

Eight students were given a quiz before & after they took review classes had the following...
Eight students were given a quiz before & after they took review classes had the following ratings: Before After 5 6 6 6 4 9 4 6 4 5 5 6 8 9 7 10 What is the critical value at the .05 level of significance? What is the test statistic? At an .05 level of significance, can we conclude that the review classes were helpful? Using the data above, assume that these were scores of two groups of 8...
Students were given a pre-test. Then after they listened to a certain type of music they...
Students were given a pre-test. Then after they listened to a certain type of music they were given a similar post test. If we define the difference as the post test score minus the pre test score and we find a 95% confidence interval for the mean of the differences to be [-1.34, 4.56]. Which of the following is true? It seems like music has affected the scores and the post test scores are significantly higher. It seems like music...
Students took a math placement test and were placed in one of three levels of a...
Students took a math placement test and were placed in one of three levels of a math course: A, B, or C. The probability of placements are illustrated in the table below. Verify the 2 requirements for a probability distribution are met. What is the probability a student is not placed into course B? What is the probability a student is placed into course C or B? Math Course A B C Probability 0.35 0.22 0.43
3. On the first week of classes, thirty-four students sat for a Math Diagnostic Test. Their...
3. On the first week of classes, thirty-four students sat for a Math Diagnostic Test. Their scores (out of a maximum score of 30) arranged in ascending order were: 10, 12, 13, 13,15, 15, 16, 17, 18, 19, 21, 23, 23, 23, 23, 25, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 29, 29,29,30,30 (a) [2 marks] Find the 5-number summary for these data. (b) [2 marks] Are there any outliers? Show your work on...
Five university students were given an English achievement test before and after receiving instruction in basic...
Five university students were given an English achievement test before and after receiving instruction in basic grammar. Their scores are shown below: Student Before After A 20 18 B 18 22 C 17 15 D 16 17 E 12 9 Should we conclude that future students would show higher scores after instruction? Use the .05 significance level. Use hypothesis testing.
A business school placement director wants to estimate the mean annual salaries 5 years after students...
A business school placement director wants to estimate the mean annual salaries 5 years after students graduate. A random sample of such graduates found a sample mean of $427,400. A confidence interval for the population mean annual salaries 5 years after students graduate is then estimated to be from $419,020 to $435,780. If the placement director considers that this confidence interval is too wide and would like to have an interval of half width only, what should he do? Select...
A test of abstract reasoning is given to a sample of students before and after they...
A test of abstract reasoning is given to a sample of students before and after they completed a formal logic course. Assume that two dependent samples have been randomly selected from normally distributed populations. The results are given below. At the 0.05 significance level, use critical value method to test the claim that the mean score is not affected by the course. Does the course improve the students’ skill on abstract reasoning?      Before 74 83 75 88 84 63 93...
A group of students with no knowledge of the endocrine system were given a test on...
A group of students with no knowledge of the endocrine system were given a test on insulin function before (pre-test) and after (post-test) an explanation; the data is presented in Table D. Table D. The effect of an explanation of the endocrine system on pre- and post-test scores (%). Student Pre-test Post-test 1 25 59 2 33 45 3 37 44 4 39 51 5 31 41 6 31 42 7 27 58 a. Do you use a paired or...
One group of 5 sophomores were given and English achievement test before and after receiving instruction...
One group of 5 sophomores were given and English achievement test before and after receiving instruction in basic grammar. Is it reasonable to conclude that future students would show higher scores after instruction? Test with α = .05, one tail. Copy the following data to a sheet of paper and calculate the SS and other quantities needed. 1.Calculate the variance of the difference column 2. calculate the standard error 3. enter the degrees of freedom 4. Enter the tabled critical...
A test of abstract reasoning is given to a random sample of students before and after...
A test of abstract reasoning is given to a random sample of students before and after they completed a formal logic course. The results are given below. Construct a 95% confidence interval for the mean difference in tests scores. Research has shown that the distribution of such differences is approximately normal. Interpret your result. Before 74 83 75 82 80 63 93 84 91 77 After 73 77 70 77 74 67 95 83 84 75
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT