tut1
pdf
keyboard_arrow_up
School
The University of Hong Kong *
*We aren’t endorsed by this school
Course
3613
Subject
Statistics
Date
Nov 24, 2024
Type
Pages
4
Uploaded by KidNeutron12719
1
STAT3613
Tutorial 1
Review
Response models
•
Output variable
𝑦𝑦
•
Input variables
𝑥𝑥
1
,
𝑥𝑥
2
, … ,
𝑥𝑥
𝑝𝑝
•
Model
𝑦𝑦
=
𝑓𝑓�𝑥𝑥
1
,
𝑥𝑥
2
, … ,
𝑥𝑥
𝑝𝑝
�
•
Predicted value
𝑦𝑦
�
𝑖𝑖
=
𝑓𝑓�𝑥𝑥
𝑖𝑖1
,
𝑥𝑥
𝑖𝑖2
, … ,
𝑥𝑥
𝑖𝑖𝑝𝑝
�
•
Residual
𝑒𝑒
𝑖𝑖
=
𝑦𝑦
𝑖𝑖
− 𝑦𝑦
�
𝑖𝑖
•
SSE
� 𝑒𝑒
𝑖𝑖
2
𝑛𝑛
𝑖𝑖=1
•
SST
�
(
𝑦𝑦
𝑖𝑖
− 𝑦𝑦
�
)
2
𝑛𝑛
𝑖𝑖=1
•
Coefficient of determination
𝑅𝑅
2
= 1
−
𝑆𝑆𝑆𝑆𝑆𝑆
𝑆𝑆𝑆𝑆𝑆𝑆
Simple response models
Model
Formula
Linear
Y
=
a
+
b
X
Power series
Y =
a
0
+
a
1
X +
a
2
X
2
+ … +
a
p
X
p
Fractional root
Y =
a
+
b
X
c
Semilog
Y
=
a
+
b
ln(
X
)
Exponential
Y
=
a
e
bX
Modified exponential
Y
=
a
(1 – e
-
bX
) +
c
Logistic
(
)
d
e
a
Y
cX
b
+
+
=
+
−
1
Gompertz
d
ab
Y
X
c
+
=
ADBUG
d
X
X
b
a
Y
c
c
+
+
=
2
Phenomena
•
Linear: Linear, power series and fractional root models
•
Concave (decreasing returns): Power series, fractional root, semilog, modified
exponential and ADBUDG models
•
Saturation: Fractional root, modified exponential, logistic, Gompertz and
ADBUDG models
•
Convex (increasing returns): Power series, fractional root, semilog and
exponential model
•
S-shape: Power series, logistic, Gompertz and ADBUDG models
•
Threshold: Fractional root, semilog, modified exponential
•
Super saturation: Power series
Diffusion models
•
Logistic model, ADBUG model and Gompertz model
•
Bass model
𝑛𝑛
𝑡𝑡
=
𝑎𝑎𝑎𝑎
+ (
𝑏𝑏 − 𝑎𝑎
)
𝑋𝑋
𝑡𝑡
−
𝑏𝑏
𝑎𝑎
𝑋𝑋
𝑡𝑡
2
𝑋𝑋
𝑡𝑡
=
𝑎𝑎𝑎𝑎
exp
�
(
𝑎𝑎
+
𝑏𝑏
)
𝑡𝑡� −
1
𝑏𝑏
+
𝑎𝑎
exp
�
(
𝑎𝑎
+
𝑏𝑏
)
𝑡𝑡�
Forecast models
Simple exponential smoothing
𝐿𝐿
𝑡𝑡
=
𝛼𝛼𝑌𝑌
𝑡𝑡
+ (1
− 𝛼𝛼
)
𝐿𝐿
𝑡𝑡−1
𝑌𝑌
�
𝑡𝑡
(
𝑘𝑘
) =
𝐿𝐿
𝑡𝑡
Linear exponential smoothing
𝐿𝐿
𝑡𝑡
=
𝛼𝛼𝑌𝑌
𝑡𝑡
+ (1
− 𝛼𝛼
)(
𝐿𝐿
𝑡𝑡−1
+
𝑆𝑆
𝑡𝑡−1
)
𝑆𝑆
𝑡𝑡
=
𝛽𝛽
(
𝐿𝐿
𝑡𝑡
− 𝐿𝐿
𝑡𝑡−1
) + (1
− 𝛽𝛽
)
𝑆𝑆
𝑡𝑡−1
𝑌𝑌
�
𝑡𝑡
(
𝑘𝑘
) =
𝐿𝐿
𝑡𝑡
+
𝑘𝑘𝑆𝑆
𝑡𝑡
HW additive seasonal model
𝐿𝐿
𝑡𝑡
=
𝛼𝛼
(
𝑌𝑌
𝑡𝑡
− 𝑆𝑆
𝑡𝑡−𝑐𝑐
) + (1
− 𝛼𝛼
)(
𝐿𝐿
𝑡𝑡−1
+
𝑆𝑆
𝑡𝑡−1
)
𝑆𝑆
𝑡𝑡
=
𝛽𝛽
(
𝐿𝐿
𝑡𝑡
− 𝐿𝐿
𝑡𝑡−1
) + (1
− 𝛽𝛽
)
𝑆𝑆
𝑡𝑡−1
𝑆𝑆
𝑡𝑡
=
𝛾𝛾
(
𝑌𝑌
𝑡𝑡
− 𝐿𝐿
𝑡𝑡
) + (1
− 𝛾𝛾
)
𝑆𝑆
𝑡𝑡−𝑐𝑐
𝑌𝑌
�
𝑡𝑡
(
𝑘𝑘
) =
𝐿𝐿
𝑡𝑡
+
𝑘𝑘𝑆𝑆
𝑡𝑡
+
𝑆𝑆
𝑡𝑡−𝑐𝑐+𝑘𝑘
∗
HW multiplicative seasonal model
𝐿𝐿
𝑡𝑡
=
𝛼𝛼
𝑌𝑌
𝑡𝑡
𝑆𝑆
𝑡𝑡−𝑐𝑐
+ (1
− 𝛼𝛼
)(
𝐿𝐿
𝑡𝑡−1
+
𝑆𝑆
𝑡𝑡−1
)
𝑆𝑆
𝑡𝑡
=
𝛽𝛽
(
𝐿𝐿
𝑡𝑡
− 𝐿𝐿
𝑡𝑡−1
) + (1
− 𝛽𝛽
)
𝑆𝑆
𝑡𝑡−1
𝑆𝑆
𝑡𝑡
=
𝛾𝛾
𝑌𝑌
𝑡𝑡
𝐿𝐿
𝑡𝑡
+ (1
− 𝛾𝛾
)
𝑆𝑆
𝑡𝑡−𝑐𝑐
𝑌𝑌
�
𝑡𝑡
(
𝑘𝑘
) = (
𝐿𝐿
𝑡𝑡
+
𝑘𝑘𝑆𝑆
𝑡𝑡
)
𝑆𝑆
𝑡𝑡−𝑐𝑐+𝑘𝑘
∗
3
Exercises
1.
Consider an ADBUDG model given as
d
X
X
b
a
Y
c
c
+
+
=
Given that
b
,
c, d
> 0 and
X
≥ 0 , show that
(a)
a
= minimum value of
Y
(b)
b
= maximum value of
Y
– minimum value of
Y
Suppose
Y
= 1 when
X
= 1 and
y
’ = (slope of Y when
X
= 1). Show that
(c)
1
1
−
−
=
a
b
d
(d)
(
)
d
b
d
y
c
×
+
=
2
1
'
2.
A company develops promotional response model tools to help it decide the level and
allocation of promotional spending using response modeling and optimization. The
managers constructed a response model, relating promotional spending with sales. They
explored the promotional spending response analysis using the following information:
Promotional Spending X
($’000,000)
Sales Y
(’000,000 units)
0.00
6.3
0.44
6.7
0.87
8.0
1.31
9.3
2.50
10.9
5.00
11.8
a.
Plot the sales Y against the promotional spending X. Describe the relationship
between Y and X. Which response models seem appropriate?
b.
Find the starting values for each model.
c.
Estimate the parameters of the response models and choose the best model with
largest R
2
.
3.
Mobile phone user diffusion rates in China are given in
mobile
.
mobile
is the
diffusion rate and
m1
is the monthly change of the diffusion rate. Forecast the diffusion
rate in 2015 to 2019.
a.
Plot the diffusion rate and change of the diffusion rate.
b.
Apply an ADBUG model. Evaluate the fitness. Plot the predicted values. Predict the
diffusion rate in 2015 to 2019.
c.
Apply a Bass model. Evaluate the fitness. Plot the predicted values. Predict the
diffusion rate in 2015 to 2019.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
4.
The palm oil monthly price and the price change are given in
palmoil
.
t
is time index,
Month
is the month of the year,
Price
is the spot price of palm oil and
Change
is
the rate of change of the price. Forecast the change in the next 6 months.
a.
Plot the series plot of the price change.
b.
Forecast by a simple exponential smoothing.
c.
Forecast by a linear exponential smoothing.
d.
Forecast by an Additive Holt-Winter’s seasonal model.
5.
For electronic company B, salesforce is to be allocated to 3 different products, the digital
camera (DC), the mobile phone (MP) and the laptop (LP). The current sales for DC, MP
and laptop are 5000, 10000 and 4000 respectively. The current salespeople allocated to
DC are 25 and that for MP are 35, while that for laptop are 20. The average cost for each
salesperson is $40. The margin of DC is $0.8 and that of MP and laptop are $0.7 and
$0.9. Historical data of the sales (in %) for various numbers of salespeople (in %) are
shown in the table.
% current sales
% current salesforce
DC
MP
LP
0.0
0.5
0.18
0.15
0.5
0.62
0.44
0.4
1.0
1
1
1
1.5
1.25
1.22
1.18
2.0
1.35
1.28
1.22
2.5
1.4
1.29
1.24
3.0
1.48
1.36
1.25
a.
Calibrate ADBUDG models to predict the sales for DC, MP and laptop respectively.
b.
Set up functions to calculate the total net profit.
c.
Find the optimal salespeople allocation to maximize the total net profit.
d.
If the total number of salespeople is restricted by 110, find the optimal allocation.
Related Questions
The best depiction of a population characteristic is a(an):
Dependent variable
Statistic
Independent variable
Parameter
arrow_forward
Which of the following is not a
criterion for evaluating
secondary data? *
Timeliness of the data
Accuracy of the date
Costs of the data
Depth of the data
arrow_forward
The following data represent measures a random sample of 25 individuals with high cholesterol levels. The variables are as follows:
Dependent variable Y: Systolic Blood Pressure (SBP)
Independent variable X_1: Body Size, measured by Quetelet (QUET) Index 100(weight/height2)
Independent variable X_2: Age
ID
SBP
Size
Age
1
135
2.876
45
2
122
3.251
41
3
130
3.1
49
4
148
3.768
52
5
146
2.979
54
6
129
2.79
47
7
162
3.668
60
8
160
3.612
48
9
144
2.368
44
10
180
4.637
64
11
166
3.877
59
12
138
4.032
51
13
152
4.116
64
14
138
3.673
56
15
140
3.562
54
16
134
2.998
50
17
145
3.36
49
18
142
3.024
46
19
135
3.171
57
20
142
3.401
56
21
150
3.628
56
22
144
3.751
58
23
137
3.296
53
24
132
3.21
50
25
149
3.301
54
Using software, carry out MLR analyses to obtain raw regression coefficients. Mean center age and QUET.
Write the regression equation
Interpret the intercept
Interpret the slope for QUET
Interpret the slope for age
Interpret the…
arrow_forward
identify the independent variable, the dependant variable and the unit of analysis of the following statement
Lin, W. and Zhou, W. (2020). Factors associated with the physical and mental health of drug users participating in community-based drug rehabilitation programs in China. Health and Social Care, 28(2): 584-509.
arrow_forward
cation.wiley.com/was/ui/v2/assessment-player/index.html?launchld%3Deef1e3c4-0de6-4778-8346-dec63c264926#/question/10
rk updated
Question 11 of 16
- / 1 E
View Policies
Current Attempt in Progress
Transgender Adults A study of transgender adults examines the age at which they began to transition and the age of their earliest
memories of gender dysphoria. (In this exercise, we examine the age beginning transition and in Exercise 6.107 we examine the age
of their earliest memories.) In the study of 210 transgender adults, the mean age at which they began transitioning was 32.6 with a
standard deviation of 18.2. Find a 95% confidence interval for the mean age at which transgender adults begin transitioning.
Zaliznyak M, Bresee C, and Garcia MM, "Age at First Experienceof Gender Dysphoria Among Transgender Adults Seeking Gender-
Affirming Surgery," JAMA Network Open, March 16,2020. Some of the data has been approximated from informationin the paper.
to
Confidence interval (round to three…
arrow_forward
True or false. Explain why: Because the IV estimator uses only a subset of the variation in an explanatory variable, precision always increases when compared to OLS.
True or false. Explain why: When including fixed effect for entities (cross section units), we cannot estimate the coefficient of any regressor that does not vary over time within a cross-sectional unit.
arrow_forward
Question 16
Indicate whether the race of a person is a quantitative
variable or a categorical variable?
Edit View Insert Format Tools Table
12pt v
Paragraph v
BIYA 2 TV
53
arrow_forward
ANOVA or Regression based on the project data (provided in the module 4) and research question in the project file.
Your answer need to include 1. Output, 2. Ho and Ha, 3. P value, 4, statistical decision and 5. Interpretation.
arrow_forward
What variable of this study could have been controlled?
arrow_forward
After these steps, your data sheet should look like below (only part of my data sheet):
A
B
C
D
E
F
G
H
I
Mixture Mostly_Building Mostly_Open Mostly_Sky Mostly_Trees Most_Water Other Roads_Cars
1
2 Stress_level
3 Stress_level
4 Stress_level
5 Stress_level
6 Stress_level
7
Stress_level
8 Stress_level
9 Stress_level
10 Stress_level
11 Stress_level
12 Stress_level
13 Stress_level
14 Stress_level
15 Stress_level
16 Stress_level
17 Stress_level
18 Stress_level
19 Stress_level
20 Stress_level
21 Stress_level
22 Stress_level
23 Stress_level
24 Stress_level
25 Stress_level
26 Stress_level
27 Stress_level
2
4
2
2
1
2
2
1
2
1
3
1
1
2
2
1
1
3
3
2
2
3
2
2
1
2
1
4
2
2
3
4
1
5
3
3
3
1
2
1
1
4
3
1
3
4
6
5
1
4
1
2
3
2
1
2
3
2
2
3
3
1
3
2
1
2
1
3
2
1
1
1
4
1
1
3
1
3
1
1
2
3
2
2
2
1
3
2
1
2
1
2
5
1
1
2
1
1
3
3
1
4
2
2
2
2
1
2 1
1
1
2
1
1
1
3
1
1
1
1
1
3
1
3
1
1
5
1
3
2
1
2
3
3
5
4
5
3
4
4
5
4
5
5
5
2
4
4
6
3
6
3
7
2
3
2
is in
b. Conduct Single Factor ANOVA analysis as we did in Unit 10. Note: your data…
arrow_forward
An ANOVA would help establish a cause-effect relationship
true or false?
arrow_forward
Critical value of rSS =. _.
This relationship _ significant.
Do the data suggest that increased learning ability caused starlings to have greater social status?
a. Yes. Only greater social status could have caused an increase in both learning ability and social status.
b. No. Greater social could not have caused an increase in both learning ability and social status. Some other third variable could have caused an increase in both learning ability and social status.
c. Not necessarily. Greater social status could have caused
arrow_forward
Estimate sensitivity, specificity, positive predictive value, negative predictive value and prevalence from data in the 2 x 2 table for an infectious disease and its diagnostic test.
arrow_forward
Question 15
Indicate whether the weight of an airplane is a quantitative
variable or a categorical variable?
Edit View Insert Format Tools Table
12pt v Paragraph v
BIYA
arrow_forward
How do I make a hypothesis(es) to predict the effect of a manipulation of an independent variable on a quantitative dependent variable when flying an airplane?
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt
Related Questions
- The best depiction of a population characteristic is a(an): Dependent variable Statistic Independent variable Parameterarrow_forwardWhich of the following is not a criterion for evaluating secondary data? * Timeliness of the data Accuracy of the date Costs of the data Depth of the dataarrow_forwardThe following data represent measures a random sample of 25 individuals with high cholesterol levels. The variables are as follows: Dependent variable Y: Systolic Blood Pressure (SBP) Independent variable X_1: Body Size, measured by Quetelet (QUET) Index 100(weight/height2) Independent variable X_2: Age ID SBP Size Age 1 135 2.876 45 2 122 3.251 41 3 130 3.1 49 4 148 3.768 52 5 146 2.979 54 6 129 2.79 47 7 162 3.668 60 8 160 3.612 48 9 144 2.368 44 10 180 4.637 64 11 166 3.877 59 12 138 4.032 51 13 152 4.116 64 14 138 3.673 56 15 140 3.562 54 16 134 2.998 50 17 145 3.36 49 18 142 3.024 46 19 135 3.171 57 20 142 3.401 56 21 150 3.628 56 22 144 3.751 58 23 137 3.296 53 24 132 3.21 50 25 149 3.301 54 Using software, carry out MLR analyses to obtain raw regression coefficients. Mean center age and QUET. Write the regression equation Interpret the intercept Interpret the slope for QUET Interpret the slope for age Interpret the…arrow_forward
- identify the independent variable, the dependant variable and the unit of analysis of the following statement Lin, W. and Zhou, W. (2020). Factors associated with the physical and mental health of drug users participating in community-based drug rehabilitation programs in China. Health and Social Care, 28(2): 584-509.arrow_forwardcation.wiley.com/was/ui/v2/assessment-player/index.html?launchld%3Deef1e3c4-0de6-4778-8346-dec63c264926#/question/10 rk updated Question 11 of 16 - / 1 E View Policies Current Attempt in Progress Transgender Adults A study of transgender adults examines the age at which they began to transition and the age of their earliest memories of gender dysphoria. (In this exercise, we examine the age beginning transition and in Exercise 6.107 we examine the age of their earliest memories.) In the study of 210 transgender adults, the mean age at which they began transitioning was 32.6 with a standard deviation of 18.2. Find a 95% confidence interval for the mean age at which transgender adults begin transitioning. Zaliznyak M, Bresee C, and Garcia MM, "Age at First Experienceof Gender Dysphoria Among Transgender Adults Seeking Gender- Affirming Surgery," JAMA Network Open, March 16,2020. Some of the data has been approximated from informationin the paper. to Confidence interval (round to three…arrow_forwardTrue or false. Explain why: Because the IV estimator uses only a subset of the variation in an explanatory variable, precision always increases when compared to OLS. True or false. Explain why: When including fixed effect for entities (cross section units), we cannot estimate the coefficient of any regressor that does not vary over time within a cross-sectional unit.arrow_forward
- Question 16 Indicate whether the race of a person is a quantitative variable or a categorical variable? Edit View Insert Format Tools Table 12pt v Paragraph v BIYA 2 TV 53arrow_forwardANOVA or Regression based on the project data (provided in the module 4) and research question in the project file. Your answer need to include 1. Output, 2. Ho and Ha, 3. P value, 4, statistical decision and 5. Interpretation.arrow_forwardWhat variable of this study could have been controlled?arrow_forward
- After these steps, your data sheet should look like below (only part of my data sheet): A B C D E F G H I Mixture Mostly_Building Mostly_Open Mostly_Sky Mostly_Trees Most_Water Other Roads_Cars 1 2 Stress_level 3 Stress_level 4 Stress_level 5 Stress_level 6 Stress_level 7 Stress_level 8 Stress_level 9 Stress_level 10 Stress_level 11 Stress_level 12 Stress_level 13 Stress_level 14 Stress_level 15 Stress_level 16 Stress_level 17 Stress_level 18 Stress_level 19 Stress_level 20 Stress_level 21 Stress_level 22 Stress_level 23 Stress_level 24 Stress_level 25 Stress_level 26 Stress_level 27 Stress_level 2 4 2 2 1 2 2 1 2 1 3 1 1 2 2 1 1 3 3 2 2 3 2 2 1 2 1 4 2 2 3 4 1 5 3 3 3 1 2 1 1 4 3 1 3 4 6 5 1 4 1 2 3 2 1 2 3 2 2 3 3 1 3 2 1 2 1 3 2 1 1 1 4 1 1 3 1 3 1 1 2 3 2 2 2 1 3 2 1 2 1 2 5 1 1 2 1 1 3 3 1 4 2 2 2 2 1 2 1 1 1 2 1 1 1 3 1 1 1 1 1 3 1 3 1 1 5 1 3 2 1 2 3 3 5 4 5 3 4 4 5 4 5 5 5 2 4 4 6 3 6 3 7 2 3 2 is in b. Conduct Single Factor ANOVA analysis as we did in Unit 10. Note: your data…arrow_forwardAn ANOVA would help establish a cause-effect relationship true or false?arrow_forwardCritical value of rSS =. _. This relationship _ significant. Do the data suggest that increased learning ability caused starlings to have greater social status? a. Yes. Only greater social status could have caused an increase in both learning ability and social status. b. No. Greater social could not have caused an increase in both learning ability and social status. Some other third variable could have caused an increase in both learning ability and social status. c. Not necessarily. Greater social status could have causedarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Big Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin Harcourt

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt