Sunteți pe pagina 1din 3

Practice Linear Regression

PRACTICE
Objetive:
Use excel to do a practice of Linear Regression
Metodology
1. Answer exercises
Technique

Multimedia Resources and Chapter 14

Tools to use

Multimedia Resources
Software: Excel

Deliverable

Excel File.

1. What is the relationship between the amount spent per week on recreation and the
size of the family? Do larger families spend more on recreation? A sample of 10
families in the Chicago area revealed the following figures for family size and the
amount spent on recreation per week.

FAMILY
SIZE
3
6
5
6
6
3
4
4
5
3

AMOUNT
SPENT ON
RECREATION
99
104
151
129
142
111
74
91
119
91

a) Find the linear equation and interpret its coefficients


b) Determine the standard error of estimate
c) Can we conclude that there is a positive association between the amount
spent on recreation and family size? Use the .05 significance level. (use both t
test and anova)?
d) Test for goodness of fit.
e) Determine the coefficient of correlation and discuss what its value tells you
about the two variables.
f) Do a confidence interval to test for significance
.

2. In television's early years, most commercials were 60 seconds long. Now, however,
commercials can be any length. The objective of commercials remains the sameto have as many viewers as possible remember the product in a favorable way
and eventually buy it. In an experiment to determine how the length of a
commercial affects people's memory of it, 60 randomly selected people were
asked to watch a 1 hour television program. In the middle of the show, a
commercial advertising a brand of toothpaste appeared. Some viewers watched
a commercial that lasted for 20 seconds, others watched one that lasted for 24
seconds, 28 seconds, , 60 seconds. The essential content of the commercials was
the same. After the show, each person was given a test to measure how much he
or she remembered about the product.
Lenght
52
40
36
28
44
16
48
52
60
44
36
44
60
24
32
52
36

Test
24
20
16
11
10
4
24
18
16
15
14
15
24
10
1
8
9

a) Does the scatter diagram of the data to determine whether a linear model appears
to be appropriate.
b) Determine the least squares line. Interpret
c) Determine the standard error of estimate R= 5.89
d) Determine the coefficient of determination. What does this statistic tell you about how
well the linear regression model fits? R= .2829
e) Can we infer at the 5% significance level that the length of commercial and memory
test score are linearly related? Reject the null hypothesis

S-ar putea să vă placă și