SlideShare a Scribd company logo
1 of 9
For any Homework related queries, Call us at : - +1 678 648 4277
You can mail us at : - support@statisticsassignmenthelp.com or
reach us at : - https://www.statisticsassignmenthelp.com/
The following solution for data analysis using r shows how r is used to find the t-test and
other parameters based on two different types of data. It also involves testing hypotheses,
making decisions, and explaining the reason behind every decision.
Data
Before Therapy after Therapy
11 12 32 23
12 9 16 30
15 13 18 19
7 6 26 27
10 11 18 30
8 7 11 35
14 12 17 21
13 9 21 31
13 12 11 30
10 10 14 28
13 14 22 32
10 8 20 26
8 9 13 29
12 14 24 34
8 11 12
10 12 17
For this assignment, you are required to use the statistical program R. Round all numerical
answers to two decimal places and p values to three. The assignment is comprised of two
problems. Each problem requires you to calculate the appropriate t-test with R.
statisticsassignmenthelp.com
Problems and Solutions
A commonly held belief is that it is always beneficial to one's emotional health to vent
one's feelings after a traumatic event. A study attempted to actually test this idea.
Researchers tested the Emotional Well Being scores of subjects who had experienced a
traumatic event, before and after they received psychotherapy. Perform an appropriate
t-test with R to see if there is a difference in the Emotional Well Being scores before and
after the psychotherapy.
Finding the t-test and deciding on the hypotheses
Here, the means, standard deviations, and t-tests for the two different sets of data are
calculated. Conclusions on hypotheses on each are given, and the results are all
explained. The pooled variance is also calculated.
Finding the mean and standard deviation for the first set of participants
1a) what is the Mean for the Before Therapy group?
Answer: 10.875
1b)) what is the Standard Deviation for the Before Therapy group?
Answer: 2.390955
statisticsassignmenthelp.com
1c) what is the Mean for the After Therapy group?
Answer: 10.5625
1d) what is the Standard Deviation for the After Therapy group?
Answer: 2.393568
Deciding on the appropriate test
1e) what type of t-test is required here?
Answer: paired sample t test
Deciding on the hypothesis
1f) based on your findings; can we reject the null hypothesis? Report your findings using
the format below, as demonstrated in lab. Be sure to clearly state the variables. If there is a
significant difference, clarify which direction it is going.
Answer: We cannot reject the null hypothesis. There is not a significant difference in mean
between before therapy and after therapy.
t(15)= 0.628 , p= 0.540
statisticsassignmenthelp.com
Problem 2
Researchers were interested in which of two methods were best for retention. They had
all subjects read a chapter in a textbook. Then, one group of subjects ('Study') was
encouraged to study the material for 60 minutes. The other group of subjects (‘Quiz’)
was not allowed to study, but was actually given a 60 minute quiz on the material. Then,
all subjects were required to complete a final test on the material. Perform an
appropriate t-test on the final test scores with R to see if there is a difference in
performance between the Study and Quiz groups
Finding the mean and standard deviation for the second set of participants
statisticsassignmenthelp.com
2a) what is the Mean for the Study group?
Answer: 18.7857
2b) What is the Standard Deviation for the Study group?
Answer: 5.950806
2c) What is the Mean for the Quiz group?
Answer: 26.5
2d) what is the Standard Deviation for the Quiz group?
Answer: 6.449806
Deciding on the appropriate test
2e) what type of t-test is required here?
Answer: Independent two sample t test
statisticsassignmenthelp.com
Deciding on the hypothesis
2f) based on your findings; can we reject the null hypothesis? Report your findings using
the format below. Be sure to clearly state the variables. If there is a significant difference,
clarify which direction it is going.
Answer:
We can reject the null hypothesis. There is a significant difference in the mean between
before and after.
T ( 28) = -3.3873, p= 0.002
Finding the Pooled Variance
2g) Calculate the Pooled Variance (𝑠𝑝
2) for this same t-test by hand. Hint: To save much
time, use the Standard Deviations from the R output. Round to two decimals places. You
do not have to show your calculations.
Pooled Variance (𝑠𝑝
2) = 6.22
Q3
###############
statisticsassignmenthelp.com
> #Q1
> Assign3 <- read.delim("C:/Users/CSSC/Downloads/Assign3.tx
t")
> ETURN<-data.frame(Assign3)
> mean(ETURN$BeforeTherapy,na.rm=TRUE )
[1] 10.875
> sd(ETURN$BeforeTherapy, na.rm = TRUE)
[1] 2.390955
> mean(ETURN$AfterTherapy, na.rm= TRUE)
[1] 10.5625
> sd(ETURN$AfterTherapy)
[1] 2.393568
> t.test(ETURN$BeforeTherapy,ETURN$AfterTherapy,paired = TR
UE, na.rm= TRUE)
Paired t-test
statisticsassignmenthelp.com
data: ETURN$BeforeTherapy and ETURN$AfterTherapy
t = 0.62795, df = 15, p-value = 0.5395
alternative hypothesis: true difference in means is not equ
al to 0
95 percent confidence interval:
-0.7482174 1.3732174
sample estimates:
mean of the differences
0.3125
> #Q2
> mean(ETURN$Study,na.rm= TRUE)
[1] 18.78571
> sd(ETURN$Study, na.rm=TRUE)
[1] 5.950806
> mean(ETURN$Quiz, na.rm=TRUE)
[1] 26.5
> sd(ETURN$Quiz, na.rm=TRUE)
[1] 6.449806
> t.test(ETURN$Study,ETURN$Quiz, na.rm=TRUE)
Welch Two Sample t-test
statisticsassignmenthelp.com

More Related Content

What's hot

Maryland psyc 355 week 2 spss homework 2 new
Maryland psyc 355 week 2 spss homework 2 newMaryland psyc 355 week 2 spss homework 2 new
Maryland psyc 355 week 2 spss homework 2 newuopassignment
 
On the Measurement of Test Collection Reliability
On the Measurement of Test Collection ReliabilityOn the Measurement of Test Collection Reliability
On the Measurement of Test Collection ReliabilityJulián Urbano
 
The Use Of Decision Trees For Adaptive Item
The Use Of Decision Trees For Adaptive ItemThe Use Of Decision Trees For Adaptive Item
The Use Of Decision Trees For Adaptive Itembarthriley
 
Data Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution ImplementationData Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution ImplementationRupak Roy
 
Confidently Conduct and Write Your Power Analysis
Confidently Conduct and Write Your Power AnalysisConfidently Conduct and Write Your Power Analysis
Confidently Conduct and Write Your Power AnalysisStatistics Solutions
 
Grand canyon hlt362 complete course
Grand canyon hlt362 complete courseGrand canyon hlt362 complete course
Grand canyon hlt362 complete coursehwguiders
 
Repeated measures anova with spss
Repeated measures anova with spssRepeated measures anova with spss
Repeated measures anova with spssJ P Verma
 
Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysisgokulprasath06
 
Edu 8006 8 assignment edu8006
Edu 8006 8 assignment edu8006Edu 8006 8 assignment edu8006
Edu 8006 8 assignment edu8006arnitaetsitty
 
Psyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.comPsyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.comBaileya73
 
Psyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.comPsyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.comrobertleew40
 
Four machine learning methods to predict academic achievement of college stud...
Four machine learning methods to predict academic achievement of college stud...Four machine learning methods to predict academic achievement of college stud...
Four machine learning methods to predict academic achievement of college stud...Venkat Projects
 
Guide to data analytics
Guide to data analyticsGuide to data analytics
Guide to data analyticsDebashish Jana
 
PSYCH 625 MENTOR Redefined Education--psych625mentor.com
PSYCH 625 MENTOR Redefined Education--psych625mentor.comPSYCH 625 MENTOR Redefined Education--psych625mentor.com
PSYCH 625 MENTOR Redefined Education--psych625mentor.comkopiko189
 
PSYCH 625 MENTOR Education Counseling -- psych625mentor.com
PSYCH 625 MENTOR Education Counseling -- psych625mentor.comPSYCH 625 MENTOR Education Counseling -- psych625mentor.com
PSYCH 625 MENTOR Education Counseling -- psych625mentor.comkopiko89
 
Handout11
Handout11Handout11
Handout11butest
 

What's hot (20)

Maryland psyc 355 week 2 spss homework 2 new
Maryland psyc 355 week 2 spss homework 2 newMaryland psyc 355 week 2 spss homework 2 new
Maryland psyc 355 week 2 spss homework 2 new
 
On the Measurement of Test Collection Reliability
On the Measurement of Test Collection ReliabilityOn the Measurement of Test Collection Reliability
On the Measurement of Test Collection Reliability
 
The Use Of Decision Trees For Adaptive Item
The Use Of Decision Trees For Adaptive ItemThe Use Of Decision Trees For Adaptive Item
The Use Of Decision Trees For Adaptive Item
 
Statistical Power
Statistical PowerStatistical Power
Statistical Power
 
Data Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution ImplementationData Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution Implementation
 
Confidently Conduct and Write Your Power Analysis
Confidently Conduct and Write Your Power AnalysisConfidently Conduct and Write Your Power Analysis
Confidently Conduct and Write Your Power Analysis
 
Grand canyon hlt362 complete course
Grand canyon hlt362 complete courseGrand canyon hlt362 complete course
Grand canyon hlt362 complete course
 
Fuzzy soft set theory
Fuzzy soft set theoryFuzzy soft set theory
Fuzzy soft set theory
 
Repeated measures anova with spss
Repeated measures anova with spssRepeated measures anova with spss
Repeated measures anova with spss
 
Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysis
 
Eda sri
Eda sriEda sri
Eda sri
 
Edu 8006 8 assignment edu8006
Edu 8006 8 assignment edu8006Edu 8006 8 assignment edu8006
Edu 8006 8 assignment edu8006
 
Psyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.comPsyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.com
 
Psyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.comPsyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.com
 
Four machine learning methods to predict academic achievement of college stud...
Four machine learning methods to predict academic achievement of college stud...Four machine learning methods to predict academic achievement of college stud...
Four machine learning methods to predict academic achievement of college stud...
 
Guide to data analytics
Guide to data analyticsGuide to data analytics
Guide to data analytics
 
PSYCH 625 MENTOR Redefined Education--psych625mentor.com
PSYCH 625 MENTOR Redefined Education--psych625mentor.comPSYCH 625 MENTOR Redefined Education--psych625mentor.com
PSYCH 625 MENTOR Redefined Education--psych625mentor.com
 
PSYCH 625 MENTOR Education Counseling -- psych625mentor.com
PSYCH 625 MENTOR Education Counseling -- psych625mentor.comPSYCH 625 MENTOR Education Counseling -- psych625mentor.com
PSYCH 625 MENTOR Education Counseling -- psych625mentor.com
 
Classification
ClassificationClassification
Classification
 
Handout11
Handout11Handout11
Handout11
 

Similar to R Homework Help

Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docxAssessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docxcargillfilberto
 
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docxAssignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docxrock73
 
Lab 7 Problem A researcher uses a repeated-measures stu.docx
Lab 7  Problem  A researcher uses a repeated-measures stu.docxLab 7  Problem  A researcher uses a repeated-measures stu.docx
Lab 7 Problem A researcher uses a repeated-measures stu.docxDIPESH30
 
Week 5 Independent t Test ExercisesPart IThe hypothesis bein.docx
Week 5 Independent t Test ExercisesPart IThe hypothesis bein.docxWeek 5 Independent t Test ExercisesPart IThe hypothesis bein.docx
Week 5 Independent t Test ExercisesPart IThe hypothesis bein.docxcockekeshia
 
QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments  QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments student ehelp
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodologysmumbahelp
 
2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - FinalBrian Lin
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleAhmadullah
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsLeanleaders.org
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsLeanleaders.org
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodologysmumbahelp
 
TitleABC123 Version X1Inferential Research and Statis.docx
TitleABC123 Version X1Inferential Research and Statis.docxTitleABC123 Version X1Inferential Research and Statis.docx
TitleABC123 Version X1Inferential Research and Statis.docxherthalearmont
 
14 + 8 Answers and calculations as basic statistics student would ex.docx
14 + 8 Answers and calculations as basic statistics student would ex.docx14 + 8 Answers and calculations as basic statistics student would ex.docx
14 + 8 Answers and calculations as basic statistics student would ex.docxjeanettehully
 
Week 2 Assignment1. A. What is the probability of rolling a four.docx
Week 2 Assignment1. A. What is the probability of rolling a four.docxWeek 2 Assignment1. A. What is the probability of rolling a four.docx
Week 2 Assignment1. A. What is the probability of rolling a four.docxmelbruce90096
 
WEEK 5 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 5 – EXERCISES Enter your answers in the spaces pr.docxWEEK 5 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 5 – EXERCISES Enter your answers in the spaces pr.docxpaynetawnya
 

Similar to R Homework Help (20)

Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docxAssessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
 
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docxAssignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
 
Lab 7 Problem A researcher uses a repeated-measures stu.docx
Lab 7  Problem  A researcher uses a repeated-measures stu.docxLab 7  Problem  A researcher uses a repeated-measures stu.docx
Lab 7 Problem A researcher uses a repeated-measures stu.docx
 
Week 5 Independent t Test ExercisesPart IThe hypothesis bein.docx
Week 5 Independent t Test ExercisesPart IThe hypothesis bein.docxWeek 5 Independent t Test ExercisesPart IThe hypothesis bein.docx
Week 5 Independent t Test ExercisesPart IThe hypothesis bein.docx
 
QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments  QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodology
 
2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
 
Unit-5.-t-test.ppt
Unit-5.-t-test.pptUnit-5.-t-test.ppt
Unit-5.-t-test.ppt
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat Tests
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat Tests
 
T test
T testT test
T test
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodology
 
TitleABC123 Version X1Inferential Research and Statis.docx
TitleABC123 Version X1Inferential Research and Statis.docxTitleABC123 Version X1Inferential Research and Statis.docx
TitleABC123 Version X1Inferential Research and Statis.docx
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
T test
T test T test
T test
 
14 + 8 Answers and calculations as basic statistics student would ex.docx
14 + 8 Answers and calculations as basic statistics student would ex.docx14 + 8 Answers and calculations as basic statistics student would ex.docx
14 + 8 Answers and calculations as basic statistics student would ex.docx
 
Week 2 Assignment1. A. What is the probability of rolling a four.docx
Week 2 Assignment1. A. What is the probability of rolling a four.docxWeek 2 Assignment1. A. What is the probability of rolling a four.docx
Week 2 Assignment1. A. What is the probability of rolling a four.docx
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
WEEK 5 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 5 – EXERCISES Enter your answers in the spaces pr.docxWEEK 5 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 5 – EXERCISES Enter your answers in the spaces pr.docx
 

More from Statistics Assignment Help

Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!Statistics Assignment Help
 
The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...Statistics Assignment Help
 
Linear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.pptLinear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.pptStatistics Assignment Help
 
Probabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment HelpProbabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment HelpStatistics Assignment Help
 

More from Statistics Assignment Help (20)

Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
 
Pay For Statistics Assignment
Pay For Statistics AssignmentPay For Statistics Assignment
Pay For Statistics Assignment
 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
 
Data Analysis Assignment Help
Data Analysis Assignment HelpData Analysis Assignment Help
Data Analysis Assignment Help
 
R Programming Assignment Help
R Programming Assignment HelpR Programming Assignment Help
R Programming Assignment Help
 
Hypothesis Assignment Help
Hypothesis Assignment HelpHypothesis Assignment Help
Hypothesis Assignment Help
 
The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...
 
T- Test and ANOVA using SPSS Assignment Help
T- Test and ANOVA using SPSS Assignment HelpT- Test and ANOVA using SPSS Assignment Help
T- Test and ANOVA using SPSS Assignment Help
 
Linear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.pptLinear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.ppt
 
Stata Assignment Help
Stata Assignment HelpStata Assignment Help
Stata Assignment Help
 
MyStataLab Assignment Help
MyStataLab Assignment HelpMyStataLab Assignment Help
MyStataLab Assignment Help
 
Probability and Statistics Assignment Help
Probability and Statistics Assignment HelpProbability and Statistics Assignment Help
Probability and Statistics Assignment Help
 
Mathematical Statistics Assignment Help
Mathematical Statistics Assignment HelpMathematical Statistics Assignment Help
Mathematical Statistics Assignment Help
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
 
Statistics Coursework Assignment Help
Statistics Coursework Assignment HelpStatistics Coursework Assignment Help
Statistics Coursework Assignment Help
 
Advanced Statistics Assignment help
Advanced Statistics Assignment helpAdvanced Statistics Assignment help
Advanced Statistics Assignment help
 
Statistics Coursework Help
Statistics Coursework HelpStatistics Coursework Help
Statistics Coursework Help
 
Probabilistic systems assignment help
Probabilistic systems assignment helpProbabilistic systems assignment help
Probabilistic systems assignment help
 
Probabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment HelpProbabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment Help
 

Recently uploaded

Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Recently uploaded (20)

Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 

R Homework Help

  • 1. For any Homework related queries, Call us at : - +1 678 648 4277 You can mail us at : - support@statisticsassignmenthelp.com or reach us at : - https://www.statisticsassignmenthelp.com/
  • 2. The following solution for data analysis using r shows how r is used to find the t-test and other parameters based on two different types of data. It also involves testing hypotheses, making decisions, and explaining the reason behind every decision. Data Before Therapy after Therapy 11 12 32 23 12 9 16 30 15 13 18 19 7 6 26 27 10 11 18 30 8 7 11 35 14 12 17 21 13 9 21 31 13 12 11 30 10 10 14 28 13 14 22 32 10 8 20 26 8 9 13 29 12 14 24 34 8 11 12 10 12 17 For this assignment, you are required to use the statistical program R. Round all numerical answers to two decimal places and p values to three. The assignment is comprised of two problems. Each problem requires you to calculate the appropriate t-test with R. statisticsassignmenthelp.com Problems and Solutions
  • 3. A commonly held belief is that it is always beneficial to one's emotional health to vent one's feelings after a traumatic event. A study attempted to actually test this idea. Researchers tested the Emotional Well Being scores of subjects who had experienced a traumatic event, before and after they received psychotherapy. Perform an appropriate t-test with R to see if there is a difference in the Emotional Well Being scores before and after the psychotherapy. Finding the t-test and deciding on the hypotheses Here, the means, standard deviations, and t-tests for the two different sets of data are calculated. Conclusions on hypotheses on each are given, and the results are all explained. The pooled variance is also calculated. Finding the mean and standard deviation for the first set of participants 1a) what is the Mean for the Before Therapy group? Answer: 10.875 1b)) what is the Standard Deviation for the Before Therapy group? Answer: 2.390955 statisticsassignmenthelp.com
  • 4. 1c) what is the Mean for the After Therapy group? Answer: 10.5625 1d) what is the Standard Deviation for the After Therapy group? Answer: 2.393568 Deciding on the appropriate test 1e) what type of t-test is required here? Answer: paired sample t test Deciding on the hypothesis 1f) based on your findings; can we reject the null hypothesis? Report your findings using the format below, as demonstrated in lab. Be sure to clearly state the variables. If there is a significant difference, clarify which direction it is going. Answer: We cannot reject the null hypothesis. There is not a significant difference in mean between before therapy and after therapy. t(15)= 0.628 , p= 0.540 statisticsassignmenthelp.com
  • 5. Problem 2 Researchers were interested in which of two methods were best for retention. They had all subjects read a chapter in a textbook. Then, one group of subjects ('Study') was encouraged to study the material for 60 minutes. The other group of subjects (‘Quiz’) was not allowed to study, but was actually given a 60 minute quiz on the material. Then, all subjects were required to complete a final test on the material. Perform an appropriate t-test on the final test scores with R to see if there is a difference in performance between the Study and Quiz groups Finding the mean and standard deviation for the second set of participants statisticsassignmenthelp.com
  • 6. 2a) what is the Mean for the Study group? Answer: 18.7857 2b) What is the Standard Deviation for the Study group? Answer: 5.950806 2c) What is the Mean for the Quiz group? Answer: 26.5 2d) what is the Standard Deviation for the Quiz group? Answer: 6.449806 Deciding on the appropriate test 2e) what type of t-test is required here? Answer: Independent two sample t test statisticsassignmenthelp.com
  • 7. Deciding on the hypothesis 2f) based on your findings; can we reject the null hypothesis? Report your findings using the format below. Be sure to clearly state the variables. If there is a significant difference, clarify which direction it is going. Answer: We can reject the null hypothesis. There is a significant difference in the mean between before and after. T ( 28) = -3.3873, p= 0.002 Finding the Pooled Variance 2g) Calculate the Pooled Variance (𝑠𝑝 2) for this same t-test by hand. Hint: To save much time, use the Standard Deviations from the R output. Round to two decimals places. You do not have to show your calculations. Pooled Variance (𝑠𝑝 2) = 6.22 Q3 ############### statisticsassignmenthelp.com
  • 8. > #Q1 > Assign3 <- read.delim("C:/Users/CSSC/Downloads/Assign3.tx t") > ETURN<-data.frame(Assign3) > mean(ETURN$BeforeTherapy,na.rm=TRUE ) [1] 10.875 > sd(ETURN$BeforeTherapy, na.rm = TRUE) [1] 2.390955 > mean(ETURN$AfterTherapy, na.rm= TRUE) [1] 10.5625 > sd(ETURN$AfterTherapy) [1] 2.393568 > t.test(ETURN$BeforeTherapy,ETURN$AfterTherapy,paired = TR UE, na.rm= TRUE) Paired t-test statisticsassignmenthelp.com
  • 9. data: ETURN$BeforeTherapy and ETURN$AfterTherapy t = 0.62795, df = 15, p-value = 0.5395 alternative hypothesis: true difference in means is not equ al to 0 95 percent confidence interval: -0.7482174 1.3732174 sample estimates: mean of the differences 0.3125 > #Q2 > mean(ETURN$Study,na.rm= TRUE) [1] 18.78571 > sd(ETURN$Study, na.rm=TRUE) [1] 5.950806 > mean(ETURN$Quiz, na.rm=TRUE) [1] 26.5 > sd(ETURN$Quiz, na.rm=TRUE) [1] 6.449806 > t.test(ETURN$Study,ETURN$Quiz, na.rm=TRUE) Welch Two Sample t-test statisticsassignmenthelp.com