preferences <- read.csv("preferance file.csv")
preferences
## preference primed
## 1 1.8 0
## 2 0.1 0
## 3 4.0 0
## 4 2.1 0
## 5 2.4 0
## 6 3.4 0
## 7 1.7 0
## 8 2.2 0
## 9 1.9 0
## 10 1.9 0
## 11 0.1 0
## 12 3.3 0
## 13 2.1 0
## 14 2.0 0
## 15 1.4 0
## 16 1.6 0
## 17 2.3 0
## 18 1.8 0
## 19 3.2 0
## 20 0.8 0
## 21 1.7 1
## 22 1.7 1
## 23 4.2 1
## 24 3.0 1
## 25 2.9 1
## 26 3.0 1
## 27 4.0 1
## 28 4.1 1
## 29 2.9 1
## 30 2.9 1
## 31 1.2 1
## 32 4.0 1
## 33 3.0 1
## 34 3.9 1
## 35 3.1 1
## 36 2.5 1
## 37 3.2 1
## 38 4.1 1
## 39 3.9 1
## 40 1.1 1
## 41 1.9 1
## 42 3.1 1
Describe the data
The “primed” coloumn represents the participants who have previously thought of the data/image before in an unrelated context. The next column is “un-primed” data.The participants labeled their attitude towards a project from 0 (dislike very much) to 6 (like very much). One can see after analyzing the data that the primed group reported more “dislike” answers then the preferance (or un-primed) group - who reports higher responses of “like” answers.
Purpose of the Study
The purpose of this study is to determine whether priming (introducing a concept or product to a participant in another context) will increase the liklihood of the participant liking the product.
Visulize the data
library(ggplot2)
ggplot(data=preferences, mapping=aes (x=primed, y=preference)) + geom_point()
interpret the plot
The plot shows that once a participant was primed they were more likely to have lower feeling of satisfaction with the product than if they were in the preference (un-primed) group.
Formulate the null hypothesis
Priming has no effect on the satsifaction of a product.
Alternative hypothesis
population means are unequal - Priming consumers on a product will cause a decreased satisfaction in the product.
type of test
T test - because there are quanitative and group variables
One sampple or two?
Two sample
ggplot(data=preferences) + geom_qq(mapping=aes(sample=preference, group=primed))
level of significance of the test
level of significance .05
perform the test
t.test(formula=preference~primed, data=preferences)
##
## Welch Two Sample t-test
##
## data: preference by primed
## t = -3.2072, df = 39.282, p-value = 0.002666
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -1.577912 -0.357543
## sample estimates:
## mean in group 0 mean in group 1
## 2.005000 2.972727
interpret p value
the p value is less then the level of significance, therefore, we reject the null hypothesis that the means are equal.
interpret the confidence interval
the means are not equal because the interval does not contain 0. Zero is not a plausible value for the parameter – the difference in means.Therefore, its not plausible that the means are equal.
interpret the sample estimates
group 1 improved more then group 0
state your conclusion
There is evidence stating that costumers who are primed will have a greater sense of dislike towards the specific product then those who were not primed.