Question

Pain before treatment Pain after treatment 9 8 5 6 6 4 4 3 3 3...

Pain before treatment Pain after treatment
9 8
5 6
6 4
4 3
3 3
10 8
9 6
9 7
7 8
5 4
2 4
5 4
8 5
3 5
6 3
7 8

⦁ Paste SPSS output. (6 pts)

⦁ Write an APA-style Results section based on your analysis. Include your graph as an APA-style figure as demonstrated in the APA writing presentations. (Results = 6 pts; Graph = 4 pts)

Homework Answers

Answer #1

Please note that we can answwer questions using the open source statistical package only , please see the answers below

before <- c(9,5,6,4,3,10,9,9,7,5,2,5,8,3,6,7)
after <- c(8,6,4,3,3,8,6,7,8,4,4,4,5,5,3,8)


## t test

t.test(before,after,conf.level = 0.95,paired = TRUE)

library(reshape2)

df <- data.frame(before,after)
df <- melt(df)

# Plot
library("ggpubr")
ggboxplot(df, x = "variable", y = "value",
color = "variable", palette = c("#00AFBB", "#E7B800"),
order = c("before", "after"),
ylab = "Weight", xlab = "Groups")

The results ar e

> t.test(before,after,conf.level = 0.95,paired = TRUE)

Paired t-test

data: before and after

t = 1.7321, df = 15, p-value = 0.1038 ## as the p value is not less than 0.,05 , hence we fail to reject the null hypothesis and conclude that the results are significant

alternative hypothesis: true difference in means is not equal to 0

95 percent confidence interval:

-0.1729447 1.6729447

sample estimates:

mean of the differences

0.75

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
CONTINUED ON NEXT PAGE Problem Set 2: Chi Square Test for Independence Research Scenario: A psychology...
CONTINUED ON NEXT PAGE Problem Set 2: Chi Square Test for Independence Research Scenario: A psychology student at a university is curious whether students in different majors (IV) have different class time preferences (DV), or whether class time preference is independent of major. After doing some preliminary research, she chooses three different majors and recruits 10 volunteers from each major. She then asks them to choose their preferred class time—either morning or afternoon. The results are listed in the table...
Problem Set 1: (10 pts) Research Scenario: As part of their study on the relation between...
Problem Set 1: (10 pts) Research Scenario: As part of their study on the relation between rejection and depression in adolescents (Nolan, Flynn, & Garber, 2003), researchers collected data on externalizing behaviors (e.g., acting out in negative ways, such as causing fights), anxiety, gender, and age. Some of the data are presented below (you would need a larger sample size but this is for practice only). Select and conduct the most appropriate statistical test to determine whether there is a...
Problem Set 1: Linear Regression Research Scenario:A human resources specialist wanted to know if conscientiousness is...
Problem Set 1: Linear Regression Research Scenario:A human resources specialist wanted to know if conscientiousness is a good predictor of job performance. Conscientiousness was evaluated using likert based questions from the open access International Personality Item Pool (IPIP) based on Goldberg’s Big Five (1992). Questions were summed (range 0 – 20), with higher values indicating more conscientiousness. Job performance was an average of several factors, ranging from 0 – 20, with higher scores indicating better job performance. He compiles the...
Physicians are investigating the treatment of a particular virus.  They have three analgesics available; Aspirin, Acetaminophen, and...
Physicians are investigating the treatment of a particular virus.  They have three analgesics available; Aspirin, Acetaminophen, and Ibuprofen.  Furthermore, they wish to know whether to recommend Eatingor Fastingduring the course of this illness.  They prepare a 10-point rating scale to measure distress, with 10 being high distress and 0 being no distress.  They assign 30 patients randomly to these conditions. The distress ratings are shown in the table below.  Do the treatments have any differential effect ? (1 pt) State the null and alternative hypotheses...
For the following set of scores: 7 5 6 4 4 3 8 9 4 7...
For the following set of scores: 7 5 6 4 4 3 8 9 4 7 5 5 6 9 4 7 5 10 6 8 5 6 3 4 8 5 a. Construct a frequency distribution table. b. Sketch a histogram showing the distribution. c. Describe the distribution using the following characteristics: (1) What is the shape of the distribution? (2) What score best identifies the center (average) for the distribution? (3) Are the scores clustered together, or are...
let the universal set be U = {1, 2, 3, 4, 5, 6, 7, 8, 9}...
let the universal set be U = {1, 2, 3, 4, 5, 6, 7, 8, 9} with A = {1, 2, 3, 5, 7} and B = {3, 4, 6, 7, 8, 9} a.)Find (A ∩ B) C ∪ B b.) Find Ac ∪ B.
A researcher measured the time that a sample of students selected from Caldwell University spent studying...
A researcher measured the time that a sample of students selected from Caldwell University spent studying on a given week during a semester. Here are the data in hours: 4, 6, 5, 4, 5, 7, 8, 6, 5, 7, 8, 9, 9,1, 0, 2, 3, 5, 6, 4, 3, 7, 8, 4, 5, 6, 7, 8, 7, 6, 21, 7, 8, 9,2, 3, 2 ANSWER the following questions based on the information given in question #9 Name the population:_____________________________________________________________ Name...
Pair 1 2 3 4 5 6 7 8 9 10 Medication 7 8 9 5...
Pair 1 2 3 4 5 6 7 8 9 10 Medication 7 8 9 5 6 7 7 8 8 7 Placebo 5 5 7 6 8 7 5 9 3 7 (Note: If you’re going to subtract, choose the order medication - placebo.) A sample of patients with similar weight and age characteristics were put in pairs. One patient in the pair was given medication while the other patient was given a placebo. After a month patients were...
Subject # Honesty Satisfaction 1 5 9 2 3 2 3 7 10 4 2 6...
Subject # Honesty Satisfaction 1 5 9 2 3 2 3 7 10 4 2 6 5 4 4 6 6 7 1)Given the data illustrated in the table above, compute the equation for the linear regression line (i.e. y = mx+b) (7--pts) 2)Based on the regression line you computed, what is the likely level of satisfaction if a person were to have an honesty level a.2.5 b.8? c.3.5?
A researcher is interested in studying the effect that the amount of fat in the diet...
A researcher is interested in studying the effect that the amount of fat in the diet and amount of exercise has on the mental acuity of middle-aged women. The researcher used three different treatment levels for the diet and two levels for the exercise. The results of the acuity test for the subjects in the different treatment levels are shown below. Diet Exercise <30% fat 30% - 60% fat >60% fat <60 minutes 4 3 2 4 1 2 2...