logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Adetayo OjeniranStatistics
(/5)

519 Answers

Hire Me
expert
Santosh SaxenaComputer science
(5/5)

532 Answers

Hire Me
expert
Mark MohammadPhilosophy
(5/5)

894 Answers

Hire Me
expert
Sohail AliScience
(5/5)

575 Answers

Hire Me
R Programming
(5/5)

study by Caldwell and colleagues investigated whether Biofeedback paired psychotherapy decreased depression symptoms

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

UCT Psychology Honours Statistics

Tutorial 6

Create an R project, copy the data file into the folder, create the .Rmd Notebook file yourself, set it up, do the analysis, knit to an html report, zip the entire folder, upload it to VULA when finished. THE MAXIMUM LENGTH of the report is 4 pages (you can determine the length of your document by simulating a print to pdf from RStudio). Questions 1 and 2 are each worth 50 marks. If you submit Question 3, too, we will award you the two highest marks among the three. You may use an extra 2 pages if you complete Question 3.

Remember that it is very important to convey your results in a very clear fashion to readers. Well-constructed tables and figures, and an accompanying narrative, are crucial.

Question 1

A study by Caldwell and colleagues (2018) investigated whether Biofeedback paired psychotherapy decreased depression symptoms and increased heart rate variability - a good thing! - over and above psychotherapy alone. Data is contained in the Biofeedback.csv file, with variable descriptions contained in the README_Biofeedback_Treatment word doc.

Run a simple linear model that regresses the change between pre- and post- heart rate variability on treatment type. Start, as always, by looking at suitable descriptive statistics and graphics. Are there any differences? Do the results of the linear model support this interpretation? Are there any issues with respect to residuals, and other diagnostic tests, that we should be concerned about?

Question 2

Feng and colleagues (2018) sought to investigate whether neuroticism mediates the relationship between mobile phone dependence and loneliness. Data is stored in the Personality_mobile_dependence_loneliness.sav file, variable names and descriptions are provided under “Free-form tutorial 2”. Is there a case for mediation? Consider using the mediate command in the psych package. For more details follow the link:

http://personality-project.org/r/psych/HowTo/mediation.pdf

Optional advanced section

Question 3

Simulate a sample of 500 draws of heart rate variability (more specifically the change score from pre- to post- treatment) for each treatment group, based on data provided in the Biofeedback.csv file, and use this simulated data to replicate analyses under Question 1. Consider using either the sample() or rnorm() command.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme