SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Downloaden Sie, um offline zu lesen
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 1
QUANTITATIVE RESEARCH METHODS
SAMPLE OF
REGRESSION ANALYSIS
Prepared by
Michael Ling
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 2
PROBLEM
Create a multiple regression model to predict the level of daily ice-cream sales Mr Whippy can ex
pect to make, given the daily temperature and humidity. Using the base model (50 marks):
• What is the regression model and regression equation?
• What interpretation do you make of the findings?
• Is the regression model valid?
• Is the sample size adequate?
Create an interaction term for temperature and humidity:
• Is there an interaction effect in the model?
• What is the effect size (F
2
) of the interaction?
• What interpretation do you make of the findings?
• Show the interaction effect graphically (e.g., using ModGraph)
SOLUTION
Base Model
The regression model is Sales = a + b*temperature + c*humidity + e where Sales is the
criterion variable, temperature and humidity are predictor; a is intercept crosses the Sales axis;
b and c are regression coefficients; e is an error term. The regression equation is Sales = -24.112
+ 3.513*temperature + 7.589*humidity (Table 1).
Since R2
=.629, 62.9% of the variance in ice-cream sales can be explained by temperature
and humidity (Table 2). Compared to R2
, adjusted R2
provides a less biased estimate (60.9%) of
the extent of the relationship between the variables in the population.
The ANOVA is significant (F=31.397, df(regression)=2, df(residual)=37, Sig < .001 )
which means that the two predictors collectively account for a statistically significant proportion
of the variance in the criterion variable (Table 3).
The B weight for temperature is 3.513, which means that, after controlling for humidity,
a 1-unit increase in temperature will result in a predicted 3.513 unit increase in ice-cream sales.
The B weight for humidity is 7.589, which means that, after controlling for temperature, a 1-unit
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 3
increase in temperature will result in a predicted 7.589 unit increase in ice-cream sales (Table 1).
The standardized coefficient (Beta) for temperature is .712, which means, after controlling for
humidity, a 1 standard deviation (SD) increase in temperature will result in a .712 SD increase in
ice-cream sales. Similarly, a 1 SD increase in humidity will result in a .229 SD increase in ice-
cream sales (Table 1). Temperature can account for a significant proportion of unique variance
in ice-cream sales (t=6.943, Sig < .001) (Table 1). Humidity accounts for a significant
proportion of unique variance in ice-cream sales (t=2.238, Sig < 0.05) (Table 1). The Pearson’s
correlation between temperature and ice-cream sales is r = .761, and that between humidity and
ice-cream sales is r = .382 (Table 1).
The partial correlation between temperature and ice-cream sales is .752 and that between
humidity and ice-cream sales is .345 (Table 1). The part correlation (sr) for temperature is .695,
indicating that approximately 48.3% (.6952
) of the variance in ice-cream sales can be uniquely
attributed to temperature (Table 1). Similarly, approximately 5% (.2242
) of the variance in ice-
cream sales can be uniquely attributed to humidity (Table 1).
The Variance Inflation Factors (VIF) of temperature and humidity are both 1.048. As
they are both close to 1, multicollinearity is not a problem. From the normal P-P plot, the points
are clustered tightly along the diagonal and hence the residuals are normally distributed (Figure
1). The absence of any clear patterns in the spread of points in the scatterplot indicates that the
assumptions of normality, linearity and homoscedasticity of residuals are met (Figure 2).
Using G*Power and setting alpha = .05 (two-tailed), power = 0.8 and 2 predictors, the
results of sample sizes are shown in Table A. As there are 40 samples in this dataset, the effect
size is approximately .25 and hence samples are adequate to detect a medium-to-large effect.
Interaction Model
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 4
The ANOVA is significant (F=40.819, df(regression)=3, df(residual)=36, Sig < .001)
which indicates that the interaction model is statistically significant (Table 4). Since R2
=.773,
77.3% of the variance in ice-cream sales can be explained by the interaction model with the
interaction effect, which is14.4% improvement over the base model (Table 5).
The regression equation is Sales = 257.096 – 6.976*temperature – 76.825*humidity +
3.123*temperature*humidity (Table 6). Temperature can account for a significant proportion
of unique variance in ice-cream sales (t=-3.121, Sig < .005) (Table 6). Humidity accounts for a
significant proportion of unique variance in ice-cream sales (t=-4.292, Sig < .001) (Table 6).
The interaction variable can account for a significant proportion of unique variance in ice-cream
sales (t=4.770, Sig < .001) (Table 6). The partial correlation between temperature and ice-
cream sales is -.461 and that between humidity and ice-cream sales is -.582 (Table 6). The part
correlation (sr) for temperature is reduced to -.248, indicating that approximately 6.2% (.2482
) of
the variance in ice-cream sales can be uniquely attributed to temperature (Table 6).
Approximately 11.6% (.3412
) of the variance in ice-cream sales can be uniquely attributed to
humidity (Table 6), and approximately 14.3% (.3792
) of the variance in ice-cream sales can be
uniquely attributed to the interaction variable (Table 6). The effect size of the interaction (F2) =
(.7732
- .6292
) / (1 - .7732
) = .502. Since it is greater than .35, the result is a large effect.
The use of VIFs to interpret multicollinearity in a regression model that has interaction
effects is erroneous with uncentered variables [1]. As a result, the moderating effect is examined
by applying ModGraph[2] on centered scores. The centered scores of the interaction model are
the zscores (Table 7 and Table 8). Two ModGraphs are plotted where one examines the
moderating relationship when temperature is the main effect (Figure 3) and the other examines
moderating relationship when humidity is the main effect (Figure 4).
Referring to Figure 3, ice-cream sales is directly proportional to temperature only when
humidity is high, ice-cream sales is inversely proportional to temperature when humidity is both
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 5
medium and low. Thus, humidity moderates the relationship between ice-cream sale and
temperature. Referring to Figure 4, ice-cream sales is directly proportional to humidity only
when temperature is high, ice-cream sales is inversely proportional to humidity when
temperature is both medium and low. Thus, temperature moderates the relationship between ice-
cream sale and humidity.
References:
1. Robinson, C. & Schumacker, R. E. (2009). Interaction Effects: Centering, Variance Inflation Factor, and
Interpretation Issues. Multiple Linear Regression Viewpoints, 35 (1), 6-11.
2. http://www.victoria.ac.nz/psyc/paul-jose-files/modgraph/modgraph.php
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 6
Appendix
Table 1: Base Model - Coefficients
Model
Unstandardized
Coefficients
Standardized
Coefficients
t Sig.
95.0% Confidence
Interval for B Correlations
B Std. Error Beta
Lower
Bound
Upper
Bound
Zero-
order Partial Part
1 (Constant) -24.112 15.933 -1.513 .139 -56.394 8.171
temperature 3.513 .506 .712 6.943 .000 2.488 4.538 .761 .752 .695
humidity 7.589 3.392 .229 2.238 .031 .717 14.461 .382 .345 .224
a. Dependent Variable: sales
Model
Collinearity Statistics
Tolerance VIF
1 (Constant)
temperature .954 1.048
humidity .954 1.048
Table 2: Base Model Summaryb
Model R R Square
Adjusted R
Square
Std. Error of the
Estimate
1 .793a
.629 .609 14.977
a. Predictors: (Constant), humidity, temparature
b. Dependent Variable: sales
Table 3: Base Model - ANOVAb
Model Sum of Squares df Mean Square F Sig.
1 Regression 14084.540 2 7042.270 31.397 .000a
Residual 8299.060 37 224.299
Total 22383.600 39
a. Predictors: (Constant), humidity, temparature
b. Dependent Variable: sales
Table A: Results of G*Power
Effect Size .35 .25 .15
Sample Size 28 42 66
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 7
Figure 1: Normal P-P Plot
Figure 2: Scatterplot
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 8
Table 4: ANOVA (Interaction Model)b
Model Sum of Squares df Mean Square F Sig.
1 Regression 17298.244 3 5766.081 40.819 .000a
Residual 5085.356 36 141.260
Total 22383.600 39
a. Predictors: (Constant), temp_humidity, temperature, humidity
b. Dependent Variable: sales
Model
Collinearity Statistics
Tolerance VIF
1 (Constant)
temperature .954 1.048
humidity .954 1.048
Table 5: Model Summary (Interaction Model)b
Model R R Square
Adjusted R
Square
Std. Error of the
Estimate
1 .879a
.773 .754 11.885
a. Predictors: (Constant), temp_humidity, temperature, humidity
b. Dependent Variable: sales
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 9
Table 6: Coefficients (Interaction Model)a
Model
Unstandardized
Coefficients
Standardized
Coefficients
t Sig.
95.0% Confidence
Interval for B Correlations
B
Std.
Error Beta
Lower
Bound
Upper
Bound
Zero-
order Partial Part
1 (Constant) 257.096 60.297 4.264 .000 134.807 379.384
temperature -6.976 2.235 -1.413 -3.121 .004 -11.510 -2.443 .761 -.461 -.248
humidity -76.825 17.901 -2.322 -4.292 .000 -113.130 -40.519 .382 -.582 -.341
temp_humidity 3.123 .655 3.674 4.770 .000 1.795 4.451 .745 .622 .379
a. Dependent Variable: sales
Table 7: Model Summary (Interaction Model)
Model R
R
Square
Adjusted R
Square
Std. Error of
the Estimate
Change Statistics
R Square
Change F Change df1 df2
Sig. F
Change
1 .793a
.629 .609 14.977 .629 31.397 2 37 .000
2 .879b
.773 .754 11.885 .144 22.750 1 36 .000
a. Predictors: (Constant), Zscore(humidity), Zscore(temparature)
b. Predictors: (Constant), Zscore(humidity), Zscore(temperature), Zscore(temp_humidity)
c. Dependent Variable: sales
Table 8: Coefficients (Interaction Model)
Model
Unstandardized
Coefficients
Standardized
Coefficients
t Sig.
95.0% Confidence
Interval for B Correlations
B Std. Error Beta
Lower
Bound
Upper
Bound
Zero-
order Partial Part
1 (Constant) 96.100 2.368 40.583 .000 91.302 100.898
Zscore(temparature) 17.049 2.456 .712 6.943 .000 12.073 22.024 .761 .752 .695
Zscore(humidity) 5.495 2.456 .229 2.238 .031 .519 10.470 .382 .345 .224
2 (Constant) 96.100 1.879 51.138 .000 92.289 99.911
Zscore(temparature) -33.860 10.850 -1.413 -3.121 .004 -55.864 -11.855 .761 -.461 -.248
Zscore(humidity) -55.623 12.961 -2.322 -4.292 .000 -81.909 -29.337 .382 -.582 -.341
Zscore(temp_humidity) 88.020 18.454 3.674 4.770 .000 50.594 125.446 .745 .622 .379
a. Dependent Variable: sales
REGRESSION ANALYSIS July 2014 updated
Prepared by Michael Ling Page 10
Figure 3: ModGraph 1 – zscore(temp) as main effect, zscore(humidity) as
moderator, zscore(temp*humidity) as interaction variable
Figure 4: ModGraph 1 – zscore(humidity) as main effect, zscore(temperature) as
moderator, zscore(temp*humidity) as interaction variable
-50.00
0.00
50.00
100.00
150.00
200.00
250.00
300.00
low med high
SaleofIce-cream
Temperature
Temperature and Humidity
Humidity
high
med
low
Grade
Humidity
Temperature and Humidity
Temperature
high
med
low

Weitere ähnliche Inhalte

Andere mochten auch

Econometrics Project
Econometrics ProjectEconometrics Project
Econometrics ProjectUday Tharar
 
ECN 410 Final Project Paper, James Wiltbank, Nathan Waters
ECN 410 Final Project Paper, James Wiltbank, Nathan  WatersECN 410 Final Project Paper, James Wiltbank, Nathan  Waters
ECN 410 Final Project Paper, James Wiltbank, Nathan WatersNathan Waters
 
ECN410Final_WatersWiltbank
ECN410Final_WatersWiltbankECN410Final_WatersWiltbank
ECN410Final_WatersWiltbankNathan Waters
 
EC4417 Econometrics Project
EC4417 Econometrics ProjectEC4417 Econometrics Project
EC4417 Econometrics ProjectLonan Carroll
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
 
Multiple Regression Sample Paper
Multiple Regression Sample PaperMultiple Regression Sample Paper
Multiple Regression Sample Paper问天 凌
 
Topic17 regression spss
Topic17 regression spssTopic17 regression spss
Topic17 regression spssSizwan Ahammed
 
Solving stepwise regression problems
Solving stepwise regression problemsSolving stepwise regression problems
Solving stepwise regression problemsSoma Sinha Roy
 
econometrics project PG1 2015-16
econometrics project PG1 2015-16econometrics project PG1 2015-16
econometrics project PG1 2015-16Sayantan Baidya
 

Andere mochten auch (11)

Econometrics Project
Econometrics ProjectEconometrics Project
Econometrics Project
 
Econometrics project final edited
Econometrics project final editedEconometrics project final edited
Econometrics project final edited
 
ECN 410 Final Project Paper, James Wiltbank, Nathan Waters
ECN 410 Final Project Paper, James Wiltbank, Nathan  WatersECN 410 Final Project Paper, James Wiltbank, Nathan  Waters
ECN 410 Final Project Paper, James Wiltbank, Nathan Waters
 
ECN410Final_WatersWiltbank
ECN410Final_WatersWiltbankECN410Final_WatersWiltbank
ECN410Final_WatersWiltbank
 
EC4417 Econometrics Project
EC4417 Econometrics ProjectEC4417 Econometrics Project
EC4417 Econometrics Project
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Multiple Regression Sample Paper
Multiple Regression Sample PaperMultiple Regression Sample Paper
Multiple Regression Sample Paper
 
Topic17 regression spss
Topic17 regression spssTopic17 regression spss
Topic17 regression spss
 
Solving stepwise regression problems
Solving stepwise regression problemsSolving stepwise regression problems
Solving stepwise regression problems
 
econometrics project PG1 2015-16
econometrics project PG1 2015-16econometrics project PG1 2015-16
econometrics project PG1 2015-16
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
 

Ähnlich wie Multiple Regression worked example (July 2014 updated)

Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionKhalid Aziz
 
Crop productivity schleussner_2018_environ_res_lett
Crop productivity schleussner_2018_environ_res_lettCrop productivity schleussner_2018_environ_res_lett
Crop productivity schleussner_2018_environ_res_lettPatrickTanz
 
Climate Change Model
Climate Change ModelClimate Change Model
Climate Change ModelGaetan Lion
 
MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...
MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...
MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...ijics
 
Lobell burke erl_2008-1
Lobell burke erl_2008-1Lobell burke erl_2008-1
Lobell burke erl_2008-1cenafrica
 
Degree exam 2019 q &amp; a (1) (1)
Degree exam 2019 q &amp; a (1) (1)Degree exam 2019 q &amp; a (1) (1)
Degree exam 2019 q &amp; a (1) (1)OsamaKhan404075
 
Optimization of parameters affecting the performance of passive solar distill...
Optimization of parameters affecting the performance of passive solar distill...Optimization of parameters affecting the performance of passive solar distill...
Optimization of parameters affecting the performance of passive solar distill...IOSR Journals
 
Climate change and agriculture in nile basin of ethiopia
Climate change and agriculture in nile basin of ethiopiaClimate change and agriculture in nile basin of ethiopia
Climate change and agriculture in nile basin of ethiopiaessp2
 
Spss in soil science
Spss in soil scienceSpss in soil science
Spss in soil scienceEmeni Joshua
 
Climate change and its effect on field crops
Climate change and its effect on field cropsClimate change and its effect on field crops
Climate change and its effect on field cropsNagarjun009
 
0610 w13 qp_63
0610 w13 qp_630610 w13 qp_63
0610 w13 qp_63King Ali
 
The Application of Statistical Design of Experiments for Mathematical Modelin...
The Application of Statistical Design of Experiments for Mathematical Modelin...The Application of Statistical Design of Experiments for Mathematical Modelin...
The Application of Statistical Design of Experiments for Mathematical Modelin...realjimcarey
 
Temperature and rainfall trend analysis in eastern bhutan
Temperature and rainfall trend analysis in eastern bhutanTemperature and rainfall trend analysis in eastern bhutan
Temperature and rainfall trend analysis in eastern bhutanLoday Phuntsho
 

Ähnlich wie Multiple Regression worked example (July 2014 updated) (20)

Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Crop productivity schleussner_2018_environ_res_lett
Crop productivity schleussner_2018_environ_res_lettCrop productivity schleussner_2018_environ_res_lett
Crop productivity schleussner_2018_environ_res_lett
 
Climate Change Model
Climate Change ModelClimate Change Model
Climate Change Model
 
MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...
MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...
MULTIPLE LINEAR REGRESSION ANALYSIS FOR PREDICTION OF BOILER LOSSES AND BOILE...
 
Econometics - lecture 22 and 23
Econometics - lecture 22 and 23Econometics - lecture 22 and 23
Econometics - lecture 22 and 23
 
OPTIMIZATION OF CONVECTIVE HEAT TRANSFER MODEL OF COLD STORAGE USING TAGUCHI ...
OPTIMIZATION OF CONVECTIVE HEAT TRANSFER MODEL OF COLD STORAGE USING TAGUCHI ...OPTIMIZATION OF CONVECTIVE HEAT TRANSFER MODEL OF COLD STORAGE USING TAGUCHI ...
OPTIMIZATION OF CONVECTIVE HEAT TRANSFER MODEL OF COLD STORAGE USING TAGUCHI ...
 
Lobell burke erl_2008-1
Lobell burke erl_2008-1Lobell burke erl_2008-1
Lobell burke erl_2008-1
 
Degree exam 2019 q &amp; a (1) (1)
Degree exam 2019 q &amp; a (1) (1)Degree exam 2019 q &amp; a (1) (1)
Degree exam 2019 q &amp; a (1) (1)
 
Wang Xiufen — Climate induced changes in maize potential productivity in heil...
Wang Xiufen — Climate induced changes in maize potential productivity in heil...Wang Xiufen — Climate induced changes in maize potential productivity in heil...
Wang Xiufen — Climate induced changes in maize potential productivity in heil...
 
Optimization of parameters affecting the performance of passive solar distill...
Optimization of parameters affecting the performance of passive solar distill...Optimization of parameters affecting the performance of passive solar distill...
Optimization of parameters affecting the performance of passive solar distill...
 
Climate change and agriculture in nile basin of ethiopia
Climate change and agriculture in nile basin of ethiopiaClimate change and agriculture in nile basin of ethiopia
Climate change and agriculture in nile basin of ethiopia
 
Bn34404407
Bn34404407Bn34404407
Bn34404407
 
Spss in soil science
Spss in soil scienceSpss in soil science
Spss in soil science
 
Climate change and its effect on field crops
Climate change and its effect on field cropsClimate change and its effect on field crops
Climate change and its effect on field crops
 
0610 w13 qp_63
0610 w13 qp_630610 w13 qp_63
0610 w13 qp_63
 
ch01apxlecture.ppt
ch01apxlecture.pptch01apxlecture.ppt
ch01apxlecture.ppt
 
Chapter 14
Chapter 14 Chapter 14
Chapter 14
 
Chemistry Lab Report 1
Chemistry Lab Report 1Chemistry Lab Report 1
Chemistry Lab Report 1
 
The Application of Statistical Design of Experiments for Mathematical Modelin...
The Application of Statistical Design of Experiments for Mathematical Modelin...The Application of Statistical Design of Experiments for Mathematical Modelin...
The Application of Statistical Design of Experiments for Mathematical Modelin...
 
Temperature and rainfall trend analysis in eastern bhutan
Temperature and rainfall trend analysis in eastern bhutanTemperature and rainfall trend analysis in eastern bhutan
Temperature and rainfall trend analysis in eastern bhutan
 

Mehr von Michael Ling

FCPA compliance notes
FCPA compliance notesFCPA compliance notes
FCPA compliance notesMichael Ling
 
Suning's 苏宁 omnichannel business practices
Suning's  苏宁 omnichannel business practicesSuning's  苏宁 omnichannel business practices
Suning's 苏宁 omnichannel business practicesMichael Ling
 
Article on omnichannel (china focus)
Article on omnichannel (china focus)Article on omnichannel (china focus)
Article on omnichannel (china focus)Michael Ling
 
Brand communities - functional and social benefits
Brand communities - functional and social benefitsBrand communities - functional and social benefits
Brand communities - functional and social benefitsMichael Ling
 
Customer-to-customer interaction in brand communities
Customer-to-customer interaction in brand communitiesCustomer-to-customer interaction in brand communities
Customer-to-customer interaction in brand communitiesMichael Ling
 
Social media governance and business
Social media governance and businessSocial media governance and business
Social media governance and businessMichael Ling
 
Increasing value of brand communities through employee participation
Increasing value of brand communities through employee participationIncreasing value of brand communities through employee participation
Increasing value of brand communities through employee participationMichael Ling
 
Social media governance
Social media governanceSocial media governance
Social media governanceMichael Ling
 
SERVQUAL Service Quality (July 2014 updated)
SERVQUAL Service Quality (July 2014 updated)SERVQUAL Service Quality (July 2014 updated)
SERVQUAL Service Quality (July 2014 updated)Michael Ling
 
Information Systems Continuance
Information Systems ContinuanceInformation Systems Continuance
Information Systems ContinuanceMichael Ling
 
MANOVA/ANOVA (July 2014 updated)
MANOVA/ANOVA (July 2014 updated)MANOVA/ANOVA (July 2014 updated)
MANOVA/ANOVA (July 2014 updated)Michael Ling
 
FACTOR analysis (July 2014 updated)
FACTOR analysis (July 2014 updated)FACTOR analysis (July 2014 updated)
FACTOR analysis (July 2014 updated)Michael Ling
 
CONJOINT Analysis (July 2014 updated)
CONJOINT Analysis (July 2014 updated)CONJOINT Analysis (July 2014 updated)
CONJOINT Analysis (July 2014 updated)Michael Ling
 
MANOVA (July 2014 updated)
MANOVA (July 2014 updated)MANOVA (July 2014 updated)
MANOVA (July 2014 updated)Michael Ling
 
A Graduate Guide to Work Culture
A Graduate Guide to Work CultureA Graduate Guide to Work Culture
A Graduate Guide to Work CultureMichael Ling
 
Discontinuous Innovations (July 2014 updated)
Discontinuous Innovations (July 2014 updated)Discontinuous Innovations (July 2014 updated)
Discontinuous Innovations (July 2014 updated)Michael Ling
 
Disruptive Technologies (July 2014 updated)
Disruptive Technologies (July 2014 updated)Disruptive Technologies (July 2014 updated)
Disruptive Technologies (July 2014 updated)Michael Ling
 
Social Media - online communities
Social Media - online communitiesSocial Media - online communities
Social Media - online communitiesMichael Ling
 

Mehr von Michael Ling (20)

FCPA compliance notes
FCPA compliance notesFCPA compliance notes
FCPA compliance notes
 
FCPA basics
FCPA basicsFCPA basics
FCPA basics
 
Suning's 苏宁 omnichannel business practices
Suning's  苏宁 omnichannel business practicesSuning's  苏宁 omnichannel business practices
Suning's 苏宁 omnichannel business practices
 
Article on omnichannel (china focus)
Article on omnichannel (china focus)Article on omnichannel (china focus)
Article on omnichannel (china focus)
 
Brand communities - functional and social benefits
Brand communities - functional and social benefitsBrand communities - functional and social benefits
Brand communities - functional and social benefits
 
Customer-to-customer interaction in brand communities
Customer-to-customer interaction in brand communitiesCustomer-to-customer interaction in brand communities
Customer-to-customer interaction in brand communities
 
Social media governance and business
Social media governance and businessSocial media governance and business
Social media governance and business
 
Increasing value of brand communities through employee participation
Increasing value of brand communities through employee participationIncreasing value of brand communities through employee participation
Increasing value of brand communities through employee participation
 
Social media governance
Social media governanceSocial media governance
Social media governance
 
SERVQUAL Service Quality (July 2014 updated)
SERVQUAL Service Quality (July 2014 updated)SERVQUAL Service Quality (July 2014 updated)
SERVQUAL Service Quality (July 2014 updated)
 
Information Systems Continuance
Information Systems ContinuanceInformation Systems Continuance
Information Systems Continuance
 
MANOVA/ANOVA (July 2014 updated)
MANOVA/ANOVA (July 2014 updated)MANOVA/ANOVA (July 2014 updated)
MANOVA/ANOVA (July 2014 updated)
 
FACTOR analysis (July 2014 updated)
FACTOR analysis (July 2014 updated)FACTOR analysis (July 2014 updated)
FACTOR analysis (July 2014 updated)
 
CONJOINT Analysis (July 2014 updated)
CONJOINT Analysis (July 2014 updated)CONJOINT Analysis (July 2014 updated)
CONJOINT Analysis (July 2014 updated)
 
MANOVA (July 2014 updated)
MANOVA (July 2014 updated)MANOVA (July 2014 updated)
MANOVA (July 2014 updated)
 
A Graduate Guide to Work Culture
A Graduate Guide to Work CultureA Graduate Guide to Work Culture
A Graduate Guide to Work Culture
 
Free Choice
Free ChoiceFree Choice
Free Choice
 
Discontinuous Innovations (July 2014 updated)
Discontinuous Innovations (July 2014 updated)Discontinuous Innovations (July 2014 updated)
Discontinuous Innovations (July 2014 updated)
 
Disruptive Technologies (July 2014 updated)
Disruptive Technologies (July 2014 updated)Disruptive Technologies (July 2014 updated)
Disruptive Technologies (July 2014 updated)
 
Social Media - online communities
Social Media - online communitiesSocial Media - online communities
Social Media - online communities
 

Kürzlich hochgeladen

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 

Kürzlich hochgeladen (20)

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 

Multiple Regression worked example (July 2014 updated)

  • 1. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 1 QUANTITATIVE RESEARCH METHODS SAMPLE OF REGRESSION ANALYSIS Prepared by Michael Ling
  • 2. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 2 PROBLEM Create a multiple regression model to predict the level of daily ice-cream sales Mr Whippy can ex pect to make, given the daily temperature and humidity. Using the base model (50 marks): • What is the regression model and regression equation? • What interpretation do you make of the findings? • Is the regression model valid? • Is the sample size adequate? Create an interaction term for temperature and humidity: • Is there an interaction effect in the model? • What is the effect size (F 2 ) of the interaction? • What interpretation do you make of the findings? • Show the interaction effect graphically (e.g., using ModGraph) SOLUTION Base Model The regression model is Sales = a + b*temperature + c*humidity + e where Sales is the criterion variable, temperature and humidity are predictor; a is intercept crosses the Sales axis; b and c are regression coefficients; e is an error term. The regression equation is Sales = -24.112 + 3.513*temperature + 7.589*humidity (Table 1). Since R2 =.629, 62.9% of the variance in ice-cream sales can be explained by temperature and humidity (Table 2). Compared to R2 , adjusted R2 provides a less biased estimate (60.9%) of the extent of the relationship between the variables in the population. The ANOVA is significant (F=31.397, df(regression)=2, df(residual)=37, Sig < .001 ) which means that the two predictors collectively account for a statistically significant proportion of the variance in the criterion variable (Table 3). The B weight for temperature is 3.513, which means that, after controlling for humidity, a 1-unit increase in temperature will result in a predicted 3.513 unit increase in ice-cream sales. The B weight for humidity is 7.589, which means that, after controlling for temperature, a 1-unit
  • 3. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 3 increase in temperature will result in a predicted 7.589 unit increase in ice-cream sales (Table 1). The standardized coefficient (Beta) for temperature is .712, which means, after controlling for humidity, a 1 standard deviation (SD) increase in temperature will result in a .712 SD increase in ice-cream sales. Similarly, a 1 SD increase in humidity will result in a .229 SD increase in ice- cream sales (Table 1). Temperature can account for a significant proportion of unique variance in ice-cream sales (t=6.943, Sig < .001) (Table 1). Humidity accounts for a significant proportion of unique variance in ice-cream sales (t=2.238, Sig < 0.05) (Table 1). The Pearson’s correlation between temperature and ice-cream sales is r = .761, and that between humidity and ice-cream sales is r = .382 (Table 1). The partial correlation between temperature and ice-cream sales is .752 and that between humidity and ice-cream sales is .345 (Table 1). The part correlation (sr) for temperature is .695, indicating that approximately 48.3% (.6952 ) of the variance in ice-cream sales can be uniquely attributed to temperature (Table 1). Similarly, approximately 5% (.2242 ) of the variance in ice- cream sales can be uniquely attributed to humidity (Table 1). The Variance Inflation Factors (VIF) of temperature and humidity are both 1.048. As they are both close to 1, multicollinearity is not a problem. From the normal P-P plot, the points are clustered tightly along the diagonal and hence the residuals are normally distributed (Figure 1). The absence of any clear patterns in the spread of points in the scatterplot indicates that the assumptions of normality, linearity and homoscedasticity of residuals are met (Figure 2). Using G*Power and setting alpha = .05 (two-tailed), power = 0.8 and 2 predictors, the results of sample sizes are shown in Table A. As there are 40 samples in this dataset, the effect size is approximately .25 and hence samples are adequate to detect a medium-to-large effect. Interaction Model
  • 4. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 4 The ANOVA is significant (F=40.819, df(regression)=3, df(residual)=36, Sig < .001) which indicates that the interaction model is statistically significant (Table 4). Since R2 =.773, 77.3% of the variance in ice-cream sales can be explained by the interaction model with the interaction effect, which is14.4% improvement over the base model (Table 5). The regression equation is Sales = 257.096 – 6.976*temperature – 76.825*humidity + 3.123*temperature*humidity (Table 6). Temperature can account for a significant proportion of unique variance in ice-cream sales (t=-3.121, Sig < .005) (Table 6). Humidity accounts for a significant proportion of unique variance in ice-cream sales (t=-4.292, Sig < .001) (Table 6). The interaction variable can account for a significant proportion of unique variance in ice-cream sales (t=4.770, Sig < .001) (Table 6). The partial correlation between temperature and ice- cream sales is -.461 and that between humidity and ice-cream sales is -.582 (Table 6). The part correlation (sr) for temperature is reduced to -.248, indicating that approximately 6.2% (.2482 ) of the variance in ice-cream sales can be uniquely attributed to temperature (Table 6). Approximately 11.6% (.3412 ) of the variance in ice-cream sales can be uniquely attributed to humidity (Table 6), and approximately 14.3% (.3792 ) of the variance in ice-cream sales can be uniquely attributed to the interaction variable (Table 6). The effect size of the interaction (F2) = (.7732 - .6292 ) / (1 - .7732 ) = .502. Since it is greater than .35, the result is a large effect. The use of VIFs to interpret multicollinearity in a regression model that has interaction effects is erroneous with uncentered variables [1]. As a result, the moderating effect is examined by applying ModGraph[2] on centered scores. The centered scores of the interaction model are the zscores (Table 7 and Table 8). Two ModGraphs are plotted where one examines the moderating relationship when temperature is the main effect (Figure 3) and the other examines moderating relationship when humidity is the main effect (Figure 4). Referring to Figure 3, ice-cream sales is directly proportional to temperature only when humidity is high, ice-cream sales is inversely proportional to temperature when humidity is both
  • 5. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 5 medium and low. Thus, humidity moderates the relationship between ice-cream sale and temperature. Referring to Figure 4, ice-cream sales is directly proportional to humidity only when temperature is high, ice-cream sales is inversely proportional to humidity when temperature is both medium and low. Thus, temperature moderates the relationship between ice- cream sale and humidity. References: 1. Robinson, C. & Schumacker, R. E. (2009). Interaction Effects: Centering, Variance Inflation Factor, and Interpretation Issues. Multiple Linear Regression Viewpoints, 35 (1), 6-11. 2. http://www.victoria.ac.nz/psyc/paul-jose-files/modgraph/modgraph.php
  • 6. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 6 Appendix Table 1: Base Model - Coefficients Model Unstandardized Coefficients Standardized Coefficients t Sig. 95.0% Confidence Interval for B Correlations B Std. Error Beta Lower Bound Upper Bound Zero- order Partial Part 1 (Constant) -24.112 15.933 -1.513 .139 -56.394 8.171 temperature 3.513 .506 .712 6.943 .000 2.488 4.538 .761 .752 .695 humidity 7.589 3.392 .229 2.238 .031 .717 14.461 .382 .345 .224 a. Dependent Variable: sales Model Collinearity Statistics Tolerance VIF 1 (Constant) temperature .954 1.048 humidity .954 1.048 Table 2: Base Model Summaryb Model R R Square Adjusted R Square Std. Error of the Estimate 1 .793a .629 .609 14.977 a. Predictors: (Constant), humidity, temparature b. Dependent Variable: sales Table 3: Base Model - ANOVAb Model Sum of Squares df Mean Square F Sig. 1 Regression 14084.540 2 7042.270 31.397 .000a Residual 8299.060 37 224.299 Total 22383.600 39 a. Predictors: (Constant), humidity, temparature b. Dependent Variable: sales Table A: Results of G*Power Effect Size .35 .25 .15 Sample Size 28 42 66
  • 7. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 7 Figure 1: Normal P-P Plot Figure 2: Scatterplot
  • 8. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 8 Table 4: ANOVA (Interaction Model)b Model Sum of Squares df Mean Square F Sig. 1 Regression 17298.244 3 5766.081 40.819 .000a Residual 5085.356 36 141.260 Total 22383.600 39 a. Predictors: (Constant), temp_humidity, temperature, humidity b. Dependent Variable: sales Model Collinearity Statistics Tolerance VIF 1 (Constant) temperature .954 1.048 humidity .954 1.048 Table 5: Model Summary (Interaction Model)b Model R R Square Adjusted R Square Std. Error of the Estimate 1 .879a .773 .754 11.885 a. Predictors: (Constant), temp_humidity, temperature, humidity b. Dependent Variable: sales
  • 9. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 9 Table 6: Coefficients (Interaction Model)a Model Unstandardized Coefficients Standardized Coefficients t Sig. 95.0% Confidence Interval for B Correlations B Std. Error Beta Lower Bound Upper Bound Zero- order Partial Part 1 (Constant) 257.096 60.297 4.264 .000 134.807 379.384 temperature -6.976 2.235 -1.413 -3.121 .004 -11.510 -2.443 .761 -.461 -.248 humidity -76.825 17.901 -2.322 -4.292 .000 -113.130 -40.519 .382 -.582 -.341 temp_humidity 3.123 .655 3.674 4.770 .000 1.795 4.451 .745 .622 .379 a. Dependent Variable: sales Table 7: Model Summary (Interaction Model) Model R R Square Adjusted R Square Std. Error of the Estimate Change Statistics R Square Change F Change df1 df2 Sig. F Change 1 .793a .629 .609 14.977 .629 31.397 2 37 .000 2 .879b .773 .754 11.885 .144 22.750 1 36 .000 a. Predictors: (Constant), Zscore(humidity), Zscore(temparature) b. Predictors: (Constant), Zscore(humidity), Zscore(temperature), Zscore(temp_humidity) c. Dependent Variable: sales Table 8: Coefficients (Interaction Model) Model Unstandardized Coefficients Standardized Coefficients t Sig. 95.0% Confidence Interval for B Correlations B Std. Error Beta Lower Bound Upper Bound Zero- order Partial Part 1 (Constant) 96.100 2.368 40.583 .000 91.302 100.898 Zscore(temparature) 17.049 2.456 .712 6.943 .000 12.073 22.024 .761 .752 .695 Zscore(humidity) 5.495 2.456 .229 2.238 .031 .519 10.470 .382 .345 .224 2 (Constant) 96.100 1.879 51.138 .000 92.289 99.911 Zscore(temparature) -33.860 10.850 -1.413 -3.121 .004 -55.864 -11.855 .761 -.461 -.248 Zscore(humidity) -55.623 12.961 -2.322 -4.292 .000 -81.909 -29.337 .382 -.582 -.341 Zscore(temp_humidity) 88.020 18.454 3.674 4.770 .000 50.594 125.446 .745 .622 .379 a. Dependent Variable: sales
  • 10. REGRESSION ANALYSIS July 2014 updated Prepared by Michael Ling Page 10 Figure 3: ModGraph 1 – zscore(temp) as main effect, zscore(humidity) as moderator, zscore(temp*humidity) as interaction variable Figure 4: ModGraph 1 – zscore(humidity) as main effect, zscore(temperature) as moderator, zscore(temp*humidity) as interaction variable -50.00 0.00 50.00 100.00 150.00 200.00 250.00 300.00 low med high SaleofIce-cream Temperature Temperature and Humidity Humidity high med low Grade Humidity Temperature and Humidity Temperature high med low