Variable Group 3: Variable Group 3 Zach Evans
Variables: Variables My variables indicate the number of times that the donor has responded to other types of mail order offers. It is testing to see if their responses to this donation will be influenced by previous responses.
MBCRAFT– Buying crafting supplies: MBCRAFT– Buying crafting supplies Univariate Summary summary(MBCRAFT) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00000 0.00000 0.00000 0.05754 0.00000 4.00000 Use median and boxplot because distribution is skewed Association with Target > t.test ( data_score$MBCRAFT~target_b ) Welch Two Sample t-test data: data_score$MBCRAFT by target_b t = 0.1668, df = 21645, p-value = 0.8675 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.01140064 0.01352146 sample estimates: mean in group 0 mean in group 1 0.1508010 0.1497405 Reject the null hypothesis because p is greater than 0.05
MBGARDEN– Buys gardening equipment: MBGARDEN– Buys gardening equipment Univariate Summary > summary(GARDEN) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00000 0.00000 0.00000 0.05754 0.00000 4.00000 Use median and boxplot because distribution is skewed Association with Target > t.test ( data_score$MBGARDEN~target_b ) Welch Two Sample t-test data: data_score$MBGARDEN by target_b t = 0.2606, df = 21651, p-value = 0.7944 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.006006573 0.007848674 sample estimates: mean in group 0 mean in group 1 0.05800037 0.05707932 Reject null hypothesis because p is greater than 0.05.
MBBOOKS– Buys books : MBBOOKS– Buys books Univariate Summary > summary(BOOKS) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00 0.00 1.00 1.14 2.00 9.00 Use median and boxplot because distribution is skewed Association with Target > t.test ( data_score$MBBOOKS~target_b ) Welch Two Sample t-test data: data_score$MBBOOKS by target_b t = -0.031384, df = 21649, p-value = 0.975 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.04568489 0.04424496 sample estimates: mean in group 0 mean in group 1 1.139569 1.140289 Reject null hypothesis because p is greater than 0.05.
MBCOLECT– Buy collectables : MBCOLECT– Buy collectables Univariate Summary > summary(COLECT) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00000 0.00000 0.00000 0.06399 0.00000 5.00000 Use median and boxplot because distribution is skewed. Association with Target > t.test ( data_score$MBCOLECT~target_b ) Welch Two Sample t-test data: data_score$MBCOLECT by target_b t = 0.84649, df = 21624, p-value = 0.3973 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.004572425 0.011523882 sample estimates: mean in group 0 mean in group 1 0.06572640 0.06225067 Reject null hypothesis because p is greater than 0.05.
MAGFAML- Buy General Family Magazines: MAGFAML- Buy General Family Magazines Univariate Summaries > summary(FEM) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.0000 0.0000 0.0000 0.1269 0.0000 4.0000 Use median and boxplot because distribution is skewed. Association with Target > t.test ( data_score$MAGFAML~target_b ) Welch Two Sample t-test data: data_score$MAGFAML by target_b t = 0.26495, df = 21651, p-value = 0.7911 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.01909909 0.02506940 sample estimates: mean in group 0 mean in group 1 0.4540600 0.4510749 Reject null hypothesis because p is greater than 0.05.
MAGFEM– Buys Female Magazines: MAGFEM– Buys Female Magazines Univariate Summary > summary(FEM) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.0000 0.0000 0.0000 0.1269 0.0000 4.0000 Use median and boxplot because distribution is skewed . Association with Target > t.test ( data_score$MAGFEM~target_b ) Welch Two Sample t-test data: data_score$MAGFEM by target_b t = 0.89759, df = 21634, p-value = 0.3694 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.005479666 0.014738077 sample estimates: mean in group 0 mean in group 1 0.1291659 0.1245367 Reject null hypothesis because p is greater than 0.05.
MAGMALE– Buys Male Magazines: MAGMALE– Buys Male Magazines Univariate Summary > summary(MALE) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00000 0.00000 0.00000 0.06387 0.00000 4.00000 Use median and boxplot because distribution is skewed. Association with Target > t.test ( data_score$MAGMALE~target_b ) Welch Two Sample t-test data: data_score$MAGMALE by target_b t = -0.085835, df = 21637, p-value = 0.9316 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.007640875 0.006999736 sample estimates: mean in group 0 mean in group 1 0.06370834 0.06402891 Reject null hypothesis because p is greater than 0.05.
Issues: Issues I think I may have run the t.test wrong and possibly interpreted it incorrectly as well. I also omitted NAs for my univariate summaries because there were a lot of people that didn’t even respond or didn’t receive the mail offer.