I have the following 2 samples data 1 : 59.09 59.17 59.27 59.13 59.10 59.14 59.54 59.

Flakqfqbq 2022-05-08 Answered
I have the following 2 samples
data 1 : 59.09 59.17 59.27 59.13 59.10 59.14 59.54 59.90
data 2: 59.06 59.40 59.00 59.12 59.01 59.25 59.23 59.564
And I need to check whether there is differentiation regarding the mean and the variance between the 2 data samples at significance level a=0.05
I think that the first thing I need to do is to check whether the samples come from a normal distribution in order to infer whether i should proceed using parametric or non marametric tests...
However using lillietest in matlab returned that both samples do not follow the normal distribution...
Any ideas on how should I proceed with checking the differentiation tests ? Should I perform ttest ? Or should I proceed by using something like Wilcoxon ? (p.s please confirm that that both data samples do not follow normal distribution...)
You can still ask an expert for help

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question

Answers (1)

Raiden Williamson
Answered 2022-05-09 Author has 15 answers
For a t-test, you need the samples to follow a normal distribution, so you're right to check this assumption first. I did a Shapiro-Wilk to test the normality, and it is rejected for the first sample, but it is not for the second sample. Thus you can't use a t-test.
The alternative is to use the Wilcoxon test, which is non-parametric.
Here is the code I have used with R :
data1 <- c(59.09, 59.17, 59.27, 59.13, 59.1, 59.14, 59.54, 59.9)
data2 <- c(59.06, 59.4, 59, 59.12, 59.01, 59.25, 59.23, 59.564)
shapiro.test(data1)
# P-value = 0.007987. Normality is rejected.
shapiro.test(data2)
# P-value = 0.3873. Normality is not rejected.
wilcox.test(data1, data2)
# P-value = 0.5054. No significative difference.
Not exactly what you’re looking for?
Ask My Question

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Relevant Questions

asked 2022-03-04
A college professor randomly selects 25 freshmen to study the mathematical background of the incoming freshman class. The average SAT score of these 25 students is 565 and the standard deviation is estimated to be 40. Using this information, can this professor fully believe that the average test score of all incoming students is larger than 550 at a 5% level of significance?
asked 2022-04-29
Let K be the number of heads in 200 flips of a coin. The null hypothesis H is that the coin is fair. Devise significance tests with the folowng properties.
Note: Your answers below must be integers
a) The signficance level is α =0.08 and the rejection set R has the form {|KE[K]|>c}.
Use the Central Limit theorem to find the accsptane ce set A.
A={,,}
b) Now tho significance level is α = 0.016 and the rejection set R has the form {K>c1}
Again, use tho Central Limit Theorem to find tho accaptance set A.
A={,,}
asked 2021-05-28
Find the margin of error for the given values of c,s, and n. c=0.95, s=2.2, n=64
asked 2022-03-16
Based on a small sample, a significance test may not yield a statisticallysignificant outcome even if the true value is considerably different fromthe null value. This outcome is also known as?
- significance level
- type I error
- type ll error
- power of the test
asked 2021-12-17
For a test of Ho:p=0.5, the z test statistic equals 1.52. Find the p-value for Ha:p>0.5.
asked 2020-11-27
(a)Find the F-statistic from ANOVA table.
Find the p-value.
(b)Explain about three p-values for the three tests in parts(a),(b),and(c).
asked 2021-03-05
If a report states that certain data were used to reject a given hypothesis, would it be a good idea to know what type of test (one-tailed or two-tailed) was used? Explain.