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 3: One-Way Randomized ANOVA (7 pts) The following are data from a hypothetical study...
Problem Set 3: One-Way Randomized ANOVA (7 pts) The following are data from a hypothetical study of eating patterns among people in different occupations. Bus drivers, school teachers, and administrators completed an eating pattern survey. The following data is each participant’s mean Junk Food score, with higher numbers indicating more consumption of junk food (interval scale of measurement). Select the appropriate statistical analysis to answer whether there is a difference among these three groups in terms of eating patterns. BUS...
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 2: Pearson’s correlation (7 pts) Research Scenario: Is there a positive relationship between grit...
Problem Set 2: Pearson’s correlation (7 pts) Research Scenario: Is there a positive relationship between grit and GPA in high school seniors? A researcher examined this issue by having students beginning their senior year of high school complete a grit inventory using a Likert-based scale (range 1 – 7), where higher numbers indicate more “grit”. GPA was self-reported (scale 0 – 4.0). Enter the data shown here into SPSS to assess whether there is a positive relationship between grit and...
A:  8   6   5   8   9   5   3   7   9   3   5   7   9   3   6   4  ...
A:  8   6   5   8   9   5   3   7   9   3   5   7   9   3   6   4   5   8   5   3   9 B:  3   7   9   3   5   7   9   6   8   3   5   9   6   7   8   3   7   9   5   2   8 C:  5   9   6   7   8   3   7   9   5   2   8   8   6   5   8   9   5   4   7   8   5 Using the data from the Production Run Population table what type of graph is not appropriate to...
Problem Set 2: Linear Regression Analysis Research Scenario: A social psychologist is interested in whether the...
Problem Set 2: Linear Regression Analysis Research Scenario: A social psychologist is interested in whether the number of days spent in a refugee camp predicts trauma levels in recently resettled refugees. He interviews 17 refugees to determine how many days they spent in a refugee camp before being resettled, then administers the Harvard Trauma Questionnaire Part IV (HTQ Part 4), where a higher score indicates higher levels of trauma (Mollica et al., 1992). He compiles the information in the table...
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...
Research Scenario: Is there a positive relationship between grit and GPA in high school seniors? A...
Research Scenario: Is there a positive relationship between grit and GPA in high school seniors? A researcher examined this issue by having students beginning their senior year of high school complete a grit inventory using a Likert-based scale (range 1 – 7), where higher numbers indicate more “grit”. GPA was self-reported (scale 0 – 4.0). Enter the data shown here into SPSS to assess whether there is a positive relationship between grit and GPA. Grit GPA 6.5 4.0 4.0 3.1...
Research Scenario: an organizational psychologist is studying whether 10 minutes of guided mediation lowers axiety before...
Research Scenario: an organizational psychologist is studying whether 10 minutes of guided mediation lowers axiety before weekly board meeting. She randomly assigns participants to either come 10 minutes early and participant in the guided mediation, or arrive on time. Using this table enter the data into a new SPSS data file and run an independent samples t test to test whether mediation lessend anxiety. Remember to name and define your variables under the "variable view," then return to the "data...
Please note that for all problems in this course, the standard cut-off (alpha) for a test...
Please note that for all problems in this course, the standard cut-off (alpha) for a test of significance will be .05, and you always report the exact power unless SPSS output states p=.000 (you’d report p<.001). Also, remember when hand-calculating, always use TWO decimal places so that deductions in grading won’t be due to rounding differences. Problem Set 1: (22 pts) A teacher wanted to see if a new pedagogical approach was beneficial to students, and if the effects vary...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT