Question

In: Statistics and Probability

Please explain how to solve using RStudio, if possible. In a experiment on relaxation techniques, subject's...

Please explain how to solve using RStudio, if possible.

In a experiment on relaxation techniques, subject's brain signals were measured before and after the relaxation exercises with the following results:

Person 1 2 3 4 5
Before 41.4 41.5 37.3 41.5 41.5
After 37.3 42.5 35.0 36.4 37.0

Is there sufficient evidence to suggest that the relaxation exercise slowed the brain waves? Assume the population is normally distributed. Select the test statistic, p­-value, Decision to Reject (RH0) or Failure to Reject (FRH0)].

Solutions

Expert Solution

We have to perform paired t test.

The following table is obtained:

Sample 1 Sample 2 Difference = Sample 1 - Sample 2
41.4 37.3 4.1
41.5 42.5 -1
37.3 35 2.3
41.5 36.4 5.1
41.5 37 4.5
Average 40.64 37.64 3
St. Dev. 1.868 2.857 2.468
n 5 5 5

For the score differences we have

(1) Null and Alternative Hypotheses

The following null and alternative hypotheses need to be tested:

Ho: μD​ = 0

Ha: μD​ > 0

This corresponds to a right-tailed test, for which a t-test for two paired samples be used.

(2) Rejection Region

Based on the information provided, the significance level is α=0.05, and the degrees of freedom are df=4.

Hence, it is found that the critical value for this right-tailed test is tc​=2.132, for α=0.05 and df=4.

The rejection region for this right-tailed test is R=t:t>2.132.

(3) Test Statistics

The t-statistic is computed as shown in the following formula:

(4) Decision about the null hypothesis

Since it is observed that t=2.718>tc​=2.132, it is then concluded that the null hypothesis is rejected.

Using the P-value approach: The p-value is p=0.0265, and since p=0.0265<0.05, it is concluded that the null hypothesis is rejected.

(5) Conclusion

It is concluded that the null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that population mean μ1​ is greater than μ2​, at the 0.05 significance level.

Graphically

Please let me know in comments in case anything is unclear. Will reply ASAP. Do upvote if satisfied!


Related Solutions

In a experiment on relaxation techniques, subject's brain signals were measured before and after the relaxation...
In a experiment on relaxation techniques, subject's brain signals were measured before and after the relaxation exercises with the following results: Person 1 2 3 4 5 Before 42.2 42.4 38.8 41.6 38.6 After 44.2 40.9 40.8 35.3 33.5 Is there sufficient evidence to suggest that the relaxation exercise slowed the brain waves? Assume the population is normally distributed. Select the test statistic, p-value, Decision to Reject (RH0) or Failure to Reject (FRH0)]. Explain how to do using RStudio, please
In a experiment on relaxation techniques, subject's brain signals were measured before and after the relaxation...
In a experiment on relaxation techniques, subject's brain signals were measured before and after the relaxation exercises with the following results: Person 1 2 3 4 5 Before 38.6 41.2 37.9 38.6 42.6 After 37.0 37.0 34.3 36.9 43.6 Is there sufficient evidence to suggest that the relaxation exercise slowed the brain waves? Assume the population is normally distributed. Select the test statistic, p-value, Decision to Reject (RH0) or Failure to Reject (FRH0)]. a) [t = 2.214, p-value = 0.023,...
PLEASE SOLVE USING RSTUDIO 1. Eighteen freshwater clams were randomly assigned to 3 groups of 6...
PLEASE SOLVE USING RSTUDIO 1. Eighteen freshwater clams were randomly assigned to 3 groups of 6 each. One group was placed in the pond water from which the clams were collected, one group was placed in deionized water, and one group was placed in a solution of 0.5 mM sodium sulfate. At the end of the specified time period, blood potassium levels were determined. i. Consider and comment on the technical assumptions of ANOVA. Conduct statistical tests where possible and...
***** PLEASE solve using MATHCAD, I am unsure on how to solve properly with this application....
***** PLEASE solve using MATHCAD, I am unsure on how to solve properly with this application. Thank you so much! Problem 7: Design a Silicon diode that has a breakdown voltage =20V and has a junction capacitance of 1 pF at no biasing.
Please explain how these figures are generated as simple as possible
Source    SS    df    MS    F    p-value A    5.0139    1    5.0139    100.28    0 B    2.1811    2    1.0906    21.81    .0001 AB    0.1344    2    0.0672    1.34    .298 Error    0.6000    12    0.0500        Please explain how these figures are generated as simple as possible
Please give a detailed explanation how to solve this with excel 1)This problem demonstrates a possible...
Please give a detailed explanation how to solve this with excel 1)This problem demonstrates a possible (though rare) situation that can occur with group comparisons. The groups are sections and the dependent variable is an exams score. Section 1 Section 2 Section 3 84.9 58.5 74.1 70.6 57.6 81.5 76.4 65.8 74.9 62.5 84.1 79 81.2 80.5 72.3 67.5 44.4 65.8 75.5 68.6 71 68.6 41.8 67.8 79.2 64.8 75.5 Run a one-way ANOVA (fixed effect) with α=0.05α=0.05. Round the...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between the number of stories a building has and its height? Some statisticians compiled data on a set of n = 60 buildings reported in the World Almanac. You will use the data set to decide whether height (in feet) can be predicted from the number of stories. data from buildings.txt. (Note that this is a text file, so use the appropriate instruction. If you...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between the number of stories a building has and its height? Some statisticians compiled data on a set of n = 60 buildings reported in the World Almanac. You will use the data set to decide whether height (in feet) can be predicted from the number of stories. data from buildings.txt. (Note that this is a text file, so use the appropriate instruction. If you...
Please answer this using Rstudio For the oyster data, calculate regression fits (simple regression) for the...
Please answer this using Rstudio For the oyster data, calculate regression fits (simple regression) for the 2D and 3D data a.1) Give null and alternative hypotheses a.2) Fit the regression model a.3) Summarize the fit and evaluation of the regression model (is the linear relationship significant). a.4 )Calculate residuals and make a qqplot. Is the normal assumption reasonable? Actual   2D   3D 13.04   47.907   5.136699 11.71   41.458   4.795151 17.42   60.891   6.453115 7.23   29.949   2.895239 10.03   41.616   3.672746 15.59   48.070   5.728880 9.94  ...
Describe the possible sources of error in the experiment. How could you improve the experiment?
Describe the possible sources of error in the experiment. How could you improve the experiment?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT