My research question is “Does thinking of memories with happy or sad emotions affect one’s outlook on their life?”. My population parameter is the difference in the proportion of subjects with a positive outlook on life who thought of happy memories and the proportion of subjects with a positive outlook on life who thought of sad memories. My study is inspired by this article that I stumbled upon, “Happy experiences can help to disrupt negative thought patterns”. This article was interesting to me because negative thought patterns are deeply ingrained in so many people who try much more drastic measures like medication or therapy with little to no attain. It would be shocking to me if merely thinking of happy memories can actually disrupt negative thought patterns more effectively than those expensive options I listed before.
Based on my reading of the article above as well as the logic that positive leads to more positive, I theorized that the people who had happy memories before the question would have a better outlook on life than those who thought of sad memories before the question. This led my conjecture, my conclusion before observing the data, to be that the proportion of participants with a positive outlook would be higher among those who thought of happy memories compared to those who thought of sad memories. I obtained my data through a simple random sample. My observational units are the islanders in Nidoma. I decided to choose islanders from the same location to limit variability. The response variables were measured through my questioning. I would ask the islanders “Are you happy?” in order to evaluate their outlook on life. While my study went smoothly for the most part, there were some issues. First, multiple islanders declined to participate in the study. Second, it took quite a bit of time to collect my sample and this limited my sample size. If my study were being executed outside of the islanders, there could also be some issues with the wording of the question. The question “Are you happy?” could elicit some complicated responses while also being interpreted differently by each participant. Luckily, the islanders take this variability out. All responses from the islanders that give a positive response are identical. The same goes for negative responses.
My data collection procedure was to set up a Google sheet with two columns: one labeled “Happy Memories” and one labeled “Sad Memories”. You will need two rows one labeled “Positive Response” and one labeled “Negative Response”. Look up the random number generator at https://www.bing.com/search?pglt=41&q=random+number+generator&cvid=3a6e8f3b894349d79e0cef13f5106490&gs_lcrp=EgZjaHJvbWUqBAgAEAAyBAgAEAAyBAgBEAAyBAgCEAAyBAgDEAAyBAgEEAAyBAgFEAAyBAgGEAAyBAgHEAAyBAgIEADSAQg0NzAwajBqMagCALACAA&FORM=ANNTA1&PC=DCTS . Open The Islands under the “Access to the Islands” tab on the Canvas site for Math 247-AB. Click on the town of Nidoma. Set the random number generator to the range of 1 to 445. Get a random number from the generator. Enter this numbered location in Nidoma. If there are multiple people in the house above 18 set the range on another random number generator from 1 to that number. Select the person indicated by the random number generator. Obtain consent for the study. If they consent task them to “Sad Memories 1 min”. After they are done with that task, ask them, “Are you happy?”. Record their response in the Google sheet. After running the random number generator again to find a different location, obtain consent for the study. If they consent, task them to “Happy Memories 1 min”. After they are done with that task, ask them, “Are you happy?”. Record their response in the Google sheet. If the random number generator directs you towards a location that you have already been to, just get a new number and continue. Do not ask the same participant the question twice. Repeat this process in order until you have obtained 66 responses.
I chose a mosaic plot and a stacked bar graph. These two do a good job of comparing two different proportions. A side-by-side box plot would also do a good job of this. There is a large gap in both visual representations between the “Happy” and “Sad” sides. This gap represents the large difference in proportion of participants with a positive outlook on life after thinking of happy memories and the proportion of participants with a positive outlook on life after thinking of sad memories.
IslanderData <- rbind(
do(32) * data.frame(memories = "Happy", response = "Positive"),
do(1) * data.frame(memories = "Happy", response = "Negative"),
do(7) * data.frame(memories = "Sad", response = "Positive"),
do(26) * data.frame(memories = "Sad", response = "Negative")
)
bargraph(~memories, groups = response, data = IslanderData, auto.key = TRUE, stack = TRUE)
mosaicplot(memories~response, data = IslanderData)
I used two categorical variables. My explanatory variable was the memories that the participant thought of before being asked “Are you happy?”. The categories for my explanatory variable were happy memories or sad memories. My response variable was the participant’s outlook on life after being asked “Are you happy?”. The two categories for this were a positive response and a negative response.
| Happy Memories | Sad Memories | Total | |
|---|---|---|---|
| Positive Response | 32 | 7 | 39 |
| Negative Response | 1 | 26 | 27 |
| Total | 33 | 33 | 66 |
When asked the question “Are you happy?” after thinking of happy memories, the proportion of positive responses was 32/33 or .97. This differed heavily from the the proportion of positive responses after thinking of sad memories. That proportion was 7/33 or .21. Based on the difference between these two proportions, .76, there does appear to be an association between the memories that are thought of and the participants outlook on life.
The population that I can apply my results to are islanders in Nidoma. This is because I only took participants from Nidoma. The population parameter that I am looking for is the difference in proportions between participants who have a positive outlook on life after thinking of happy memories and the proportion of participants who have a positive outlook on life after thinking of sad memories.
My null hypothesis is that there will be no association between the memories thought of before the interview question and if the participant has a positive outlook on life.
\[H_0: \pi_{Posotive \ outlook \ after \ happy \ memories}-\pi_{Posotive \ outlook \ after \ sad \ memories}= 0\]
My alternative hypothesis is that there will be an association between the memories thought of before the interview question and if the participant has a positive outlook on life.
\[H_0: \pi_{Posotive \ outlook \ after \ happy \ memories}-\pi_{Posotive \ outlook \ after \ sad \ memories} \neq 0\]
Regarding possible errors, if there were to be a type I error present, it would appear as a rejection of the null hypothesis, there will be no association between the memories thought of before the interview question and if the participant has a positive outlook on life, even though the null hypothesis is true for this population, the islanders in Nidoma. If there were to be a type II error present, it would appear as a failure to reject the null hypothesis, even though the null hypothesis is not true for the islanders in Nidoma. The conclusion based on the null hypothesis can be trusted. This is because my measurements can reasonably be considered a representative sample for the Islanders of Nidoma. The conditions for my two-sample z-test are met but the sample size is only 66. This is a decent sample size, but a larger sample size would lead to a stronger conclusion. The conditions for my two-sample z-test are met because the standard deviation for the null distribution is known. This can be confirmed using the ‘favstats’ function. Normality is confirmed to be present by looking at the null distribution for the Islander data. Since I obtained my data through a simple random sample, independence is achieved as well. My standardized statistic value obtained through the two-sample z-test is 6.3.
diffprop=0.76
z<-diffprop/0.121
z
## [1] 6.280992
# creating a 5000 repetitions of shuffles
set.seed(4786)
Island.null <-do(5000) * diffprop(shuffle(response) ~ memories, success = "Positive",
data = IslanderData)
#Calculating the p-value
p.value<-prop(~(diffprop <= -0.76 | diffprop >= 0.76), data = Island.null)
p.value
## prop_TRUE
## 0
The theory based p-value is 0.00. This means that the probability of observing a difference in the proportion of subjects with a positive outlook on life that thought of happy memories and the proportion of subjects with a positive outlook on life that thought of sad memories of .76 is 0, given that the null hypothesis, there will be no association between the memories thought of before the interview question and if the participant has a positive outlook on life, is true. This p-value of 0 strongly indicates that I should reject the null hypothesis. Based on my very large z-score, 6.3, and my very small p-value, 0, there is a large amount of evidence against the null hypothesis’ claim that there will be no association between the memories thought of before the interview question and if the participant has a positive outlook on life.
confint(binom.test(32,33, level=0.95))
My confidence interval states that I am 95% confident that the difference in population proportions of those who have a positive outlook on life of participants who think of happy memories before being asked and those who think of sad memories is between .842 and .999. Since 0 is not a value in my confidence interval, it is extremely unlikely that the null hypothesis is true. Therefore my confidence interval indicates that I should reject the null hypothesis. This is the same conclusion that is indicated by my p-value and z-score.
After observing the difference in proportions, standardized statistic, p-value, and confidence interval, I conclude to reject the null hypothesis. This difference in proportions being .76 is very large and indicates that memories do have an effect on one’s outlook on life. The standardized statistic value of 6.3 and p-value of 0 both provide extremely strong evidence against the null hypothesis. Finally, the confidence interval. The range for my 95% confidence interval is .842 to .999. This interval does not contain 0, in fact, my lower bound is very far from 0. This also provides extremely strong evidence against the null hypothesis because if the null hypothesis were true, then the true difference in population proportions between participants who have a positive outlook on life after thinking of happy memories and the proportion of participants who have a positive outlook on life after thinking of sad memories would be 0. Since all statistics I obtained provided extremely strong evidence against the null hypothesis, I have decided to reject the null hypothesis. This conclusion is the same as my conjecture. This makes sense as, from a logical standpoint, we would expect happy memories to lead to a more positive outlook on life. If I were to do anything differently, I would obtain data from multiple islands. While this would be more time-consuming, it would increase the sample size as well as the scope of application for the results of this study. Instead of just being able to apply the results of this study to Islanders in Nidoma above 18, they could be applied to all of the Islanders. Another researcher could add on to this study by investigating the difference in proportions that I studied, except between different ages. A research question for this could be “Are elderly people more affected by nostalgia?”. This investigation would lead to a conclusion about the effect of memories on the youth compared to the elderly. This study could follow all the steps that I did for my study, except the study would have to be done twice. For the first study do everything the same except only draw data from islanders ages 18-24 and for the second study only draw from islanders 65 and up.
Vild, Gina, “The Benefits of Reliving Your Happy Memories.” Psychology Today, Sussex Publishers” (www.psychologytoday.com/intl/blog/a-buoyant-life/202303/the-benefits-of-reliving-your-happy-memories.)