logo

Assignment On Male And Female On Their Preferred Flavor Of Ice-Cream

   

Added on  2022-10-04

8 Pages2130 Words17 Views
Question 1
1) Is there a relationship between gender and preference for ice cream
flavor? The table below summarizes the preferences of Male and Female on
their preferred flavor of ice-cream
Gender Strawberr
y
Vanilla Chocolat
e
Male 100 120 60
Female 350 200 90
1a) Which type of Chi-square test is appropriate for this analysis? (0.20
points)
Goodness of Fit
1b) Conduct the appropriate Chi-square test in R and report the X2, degrees
of freedom and P-value. You may choose the level of alpha. Be sure to
report the values using APA citation. (0.40 points)
Call:
lm(formula = Gender ~ Strawberry + Vanilla + Chocolate, data = Data)
Residuals:
ALL 2 residuals are 0: no residual degrees of freedom!
Coefficients: (2 not defined because of singularities)
Estimate Std. Error t value Pr(>|t|)
(Intercept) 2.400 NA NA NA
Strawberry -0.004 NA NA NA
Vanilla NA NA NA NA
Chocolate NA NA NA NA
Residual standard error: NA on 0 degrees of freedom
Multiple R-squared: NA, Adjusted R-squared: NA
F-statistic: NA on 1 and 0 DF, p-value: NA
1c) Based on the results above what would you conclude about ice cream
preferences between male and female? (0.40 points)
P>0.05 hence no ice cream preferences between male and female?
Question 2

2) A research firm claims that the distribution of the days of the week that
people are most likely to order food for delivery is different from the
distribution seen in the past. You randomly select 494 people and record
which day of the week each is most likely to order food for delivery. The
table below also shows the results of your count. At alpha, α, = 0.05, test the
research firm’s claim.
Note that history in the table below is expressed as a
percentage.
History (%) Frequency
(f)
Sunday 7 47
Monday 4 15
Tuesday 5 27
Wednesday 12 45
Thursday 11 44
Friday 37 166
Saturday 24 150
2a) Which type of Chi-square test is appropriate for this analysis? State the
null and alternate hypothesis with a word statement. (0.20 points)Hint: the null can either directly state the population information; if not
directly stating it, then it should refer to the population distribution is some
way.
Null: The distribution of the days of the week that people are most likely to
order food for delivery is NOT different from the distribution seen in the past
2b) Perform A chi-square test in Excel. Report the degrees of freedom, X2
critical value, your calculated X2 statistic, and the corresponding p-value.
You may express the p-value as > or < alpha; if you report the exact p-
value, round to no more than 3 decimal places.
You do not need to report
these values using APA. (0.70 points)
SUMMARY OUTPUTRegression
Statistics
Multiple
R
0.9598
27
R Square
0.9212
67
Adjusted
R Square
0.9055
21
Standard
Error
3.7043
17
Observati
ons 7

ANOVA
df SS MS F
Signific
ance F
Regressio
n 1
802.81
88
802.8
188
58.50
611
0.00060
8
Residual 5
68.609
82
13.72
196
Total 6
871.42
86
Coeffici
ents
Standa
rd Error t Stat
P-
value
Lower
95%
Upper
95%
Lower
95.0%
Upper
95.0%
Intercept
0.9008
86
2.2410
75
0.401
988
0.704
3
-
4.85998
6.661
752
-
4.859
98
6.661
752
X
Variable
1
0.1896
64
0.0247
96
7.648
929
0.000
608
0.12592
3
0.253
404
0.125
923
0.253
404
Use the following command in Excel to generate your p-value but replace
Chi-Square with the Chi-Square Value you estimated and df with your
degrees of freedom. You can enter the df number directly into the formula
or click on an Excel cell that contains the df value.
=CHISQ.DIST.RT(Chi-Square,df)
0.988
2c) Based on the results above what would you conclude about the research
firms claim? (0.10 points)
The distribution of the days of the week that people are most likely to order
food for delivery is different from the distribution seen in the past
Question 3
A program of pet therapy has been running for students during the week
before final exams. Are the participants in the program calmer during finals
than non-participants? The results from a random sample of students are
reported below:
Pet therapy participation
Calmness Participants Non-
participants
Totals
High level of
calmness
23 15 38
Low level of
calmness
11 18 29

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
1) Standard error bar are used for analysing the spread of the
|3
|731
|30

ETS2111 Business Data Modelling Assignment 2022
|11
|1543
|26

Statistical Analysis for Desklib
|16
|2216
|188

Analyzing Statistics: Multiple Regression Analysis on Son's Height and Parental Heights
|6
|1397
|479

(PDF) A Study on Multiple Linear Regression Analysis
|15
|2850
|227

Mental Wellbeing Assignment (Doc)
|4
|607
|57