Documentos de Académico
Documentos de Profesional
Documentos de Cultura
1. Histograms in Exel
Exercise 1:
Given below are the heigts, in centimetres of 50 students: 164 160 160 171 160 155 158 170 164 162 160 162 172 171 162 160 162 166 172 158 163 165 164 161 168 157 168 166 160 162 163 167 158 159 160 163 167 168 170 168 164 160 168 165 165 159 158 167 159 160
Excercise 1 (continued)
1. Place the data in ordered array. 2. Set up a stem-and-leaf display for these data. 3. Construct the frequency distribution and the percentage distribution for these data. 4. Construct a grouped frequency distribution table with the width of classe interval of 5cm. 5. From this frequency distribution table, construct the bar graphs and the pie charts.
2. Descriptive statistics
Use menu choice: tools / data analysis / descriptive statistics Enter details in dialog box
2. Descriptive statistics(continued)
Enter di l details
box
3.
11
ANOVA
df Regression Residual Total 1 8 9 SS 18934.9348 13665.5652 32600.5000 MS 18934.9348 1708.1957 F 11.0848
Significance F 0.01039
lope = 0.10977
: Estimate
Predi t the pri e for a house with 2000 square feet
15
ANOVA
df Regression Residual Total 1 8 9 SS 18934.9348 13665.5652 32600.5000 MS 18934.9348 1708.1957 F 11.0848
3. Simple LinearRegression: t Test for the Slope, b1 t test for a population slope
Is there a linear relationship between x and y?
Hypotheses
H 0: H 1: =0 1{0
1
Test statistic
b1 t! sb1
= ypothesized slope
d.f. ! n 2
Output
Regression Statistics Multiple R R Square Adjusted R Square Standard Error Observations 0.76211 0.58082 0.52842 41.33032 10
s ! 41.33032
sb1 ! 0.03297
Significance F 0.01039
ANOVA
df Regression Residual Total 1 8 9 SS 18934.9348 13665.5652 32600.5000 MS 18934.9348 1708.1957 F 11.0848
=0 1{0
b1
Standard Error 58.03348 0.03297
sb1
t Stat 1.69296 3.32938
t
P-value 0.12892 0.01039
d.f. = 10-2 = 8
E/2=.025 E/2=.025
Reject
-t /2 -2.3060
Do not reject
0 t /2 2.3060 3.329
Reject
Decision: Reject 0 Conclusion: There is sufficient evidence that square footage affects 19 house price
20
df 2 12 14
MS 14730.013 2252.776
F 6.53861
Significance F 0.01201
130.70888
b1 = -24.975: sales will decrease, on average, by 24.975 pies per week for each $1 increase in selling price, net of the effects of changes due to advertising
b2 = 74.131: sales will increase, on average, by 74.131 pies per week for each $100 increase in advertising, net of the effects of changes due to price
22
R2 !
df 2 12 14
MS 14730.013 2252.776
F 6.53861
Significance F 0.01201
Upper 95%
24 555.46404
-1.37392
t-value for Price is t = -2.306, with p-value .0398 t-value for Advertising is t = 2.855, with p-value .0145
SS MS 14730.013 2252.776 F 6.53861 Significance F 0.01201
df 2 12 14
=0 i {0
i
d.f. = 15-2-1 = 12
tE/2 = 2.1788
The test statistic for each variable falls in the rejection region (p-values < .05)
Decision:
E/2=.025 E/2=.025
Reject
0 for
each variable
Conclusion:
Reject
-t -2.1788
Do not reject /2 0
t /2 2.1788
0
Reject
There is evidence that both Price and Advertising affect pie sales at E = .05 28
4. Multiple Regression :
Standard Deviation of the Regression Model
Regression Statistics Multiple R R Square Adjusted R Standard Error Observations 0.72213 0.52148 0.44172 47.46341 15
df 2 12 14
MS 14730.013 2252.776
F 6.53861
Significance F 0.01201
4. Multiple Regression:
F-Test for Overall Significance of(continued) the Model
Regression Statistics Multiple R R Square Adjusted R Square Standard Error Observations 0.72213 0.52148 0.44172 47.46341 15
F!
df 2 12 14
MS 14730.013 2252.776
F 6.53861
Significance F 0.01201
Upper 95%
30 555.46404
-1.37392
4. Multiple Regression:
(continued) F-Test for Overall Significance of the Model
H0:
=0
2 not both zero
Test Statistic:
F! SR ! 6.5386 S
df2 = 12
FE = 3.885
E = .05
Do not reject
Reject
0
F
0
F.05 = 3.885
5. ANOVA
** Tools Data Analysis single factor Anova:
32
Anova:
33