<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Predictive sales analysis according to the effect of weather</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alessandro Massaro,</string-name>
          <email>alessandro.massaro@dyrecta.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Melisa Aruci</string-name>
          <email>melisa.aruci@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giuseppe Pirlo</string-name>
          <email>giuseppe.pirlo@uniba.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Departmenti i Informatikës, Fakulteti i Shkencave të Natyrës</institution>
          ,
          <addr-line>Tiranë</addr-line>
          ,
          <country country="AL">Albania</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Dept. of Informatics, Bari University</institution>
          ,
          <addr-line>70125 Bari</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Donato Barbuzzi, Valeria Vitti, Angelo Galiano, Dyrecta Lab srl, ResearchInstitute</institution>
          ,
          <addr-line>70014 Conversano (BA)</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This work presents an empirical simulation to estimate the extent to which weather affects consumer spending. For the spending prediction purpose, the regression technique has been applied on the historical daily data of the following meteorological parameters: temperature, snow, sun, rain and humidity. The experimental results demonstrate the effectives of the model for predicting sales trends and for applying optimal business intelligence rules.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Weather has strong effects on human behavior and a lot
of scientific research was devoted to the investigation
on the direct link between weather and social activities.
For instance, [Coh90a] and [Coh90b] reported that
higher temperatures are correlated with increases in
violent assaults and homicides. Also [Bar94] and
[Sto99] studied the number of suicides related to the
barometric pressure and demonstrated their decrease
related to the wind.</p>
      <p>Weather also influences human behavior in the sales.
For instance, we buy warm clothing in winter and cool
clothing in summer. Moreover, in the finance field,
weather variables can affect human behavior and his
mood [Goe05], [Hir03], [Sau93], [Tro97]. Coca-Cola
company proposed a dynamic pricing strategy based on
changes in the environment temperature, so the vending
machines increase the price of a soda as the weather
gets hotter [Kin00]. Nevertheless, the effect of weather
on consumer spending has received only limited
attention in the marketing literature [Par00] [Par01]
[Ste51].</p>
      <p>Our approach is consistent with the aforementioned
studies, which analyzes the direct link between the
weather variables and the customers’ behavior in order
to predict the sales of a particular product in the next
future. This is important to establish optimal business
intelligence rules, i.e. for warehouse management. The
work begins with an analysis of daily sales in one shoe
store, which have an effect onweather forecasts. The
paper is organized as follows: Section 2 reports an
overview on the effects that weather can have on
consumer behavior. Section 3 describes the technique
for sales prediction based on Regression; Section 4
presents the experimental results. The conclusion of the
paper and some of the most interesting future
perspectives are reported in Section 5.</p>
    </sec>
    <sec id="sec-2">
      <title>2 Weather effects: An overview</title>
      <p>In literature, the weather effects have been investigated
for the consumer behavior analysis. Three different
consumer categories, affected by: (1) bad weather; (2)
seasons and (3) his moods, were considered.</p>
      <p>In the first category (1), the rain, the snow and extreme
temperature keep people at home. In this case,the
weather negatively affects both sales and store
traffic[Par01].An intelligent marketing solution would
be to focus on online sales. The second set of
consumers (2) influences both sales volume and store
traffic in particular product categories [Mau95]. For
example, when temperatures fall, ice cream sales
decrease, while sales of oatmeal increase. Similarity,
people tend to purchase more clothing and footwear in
the winter and more food and drinks in the summer
[Ros00].Finally, it has been suggested that weather can
influence sales by affecting consumers’ internal states
(3). Although there is very little research forthis third
category of effects, few studies have
providedpreliminarysupport for this idea. In [Par00],
the authors present a global climate-based model of the
effect of weather on consumer behavior, which predicts
variation in consumption patterns in response to
different temperatures and exposure to sunlight. They
argue that consumers do adapt to changes in the
environment by modifying their purchasing behavior to
both maintain physiological homeostasis and to achieve
optimal stimulation levels. In [Mur10], the authors
report an empirical evidence of how weather can
impact consumer spending. In particular, they claimed
that:



</p>
      <p>Weather variables and, sunlight in particular,
affect consumer spending;</p>
      <sec id="sec-2-1">
        <title>Exposure to sunlight reduces negative affect;</title>
        <p>As negative affect decreases, consumer
spending increases;
Negative affect mediates the effect of sunlight
on consumer spending.</p>
        <p>Their research demonstrates a cause-and-effect
relationship between exposure to sunlight and an
increased willingness to pay for common product.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3Sales Predictive Analysis by Regression</title>
      <p>In this section, we will provide some aspects
concerning the approach used for sales prediction based
on weather effect.</p>
      <p>For the purpose, we consider the empirical model for
the iterative calculation of the regression coefficients:
Salesij=aij+b1Tempij+b2Snowij+b3Sunij+b4Rainij+
+b5Humidij+b6SunijTempij+b7Temp2ij+eij(1)
Table 1 shows the averagemeteorological values,in
February 2010, related to:
 Temperature;
 Snow;
 Sun;
 Rain;
 Humidity.</p>
      <sec id="sec-3-1">
        <title>Itreports thesimulated sales data in that day.</title>
      </sec>
      <sec id="sec-3-2">
        <title>The formula (1) becomes:</title>
        <p>Salesij=-13,28-1,68x1+0x2+0.44x3-0.11x4+0.17x5-0.03x6+0.16x7+1.67(2)</p>
        <p>Table 4 describes the ANOVA parameters. An
ANOVA test is a way to find out if survey or
experiment results are significant. More specifically,
these parameters are used to accept or to reject the null
hypothesis for the alternate hypothesis. In particular:
 df. This measure explains degrees of freedom.
 SS. This measure explains the sum of squares.
 Regression MS. This measure is computed
dividing Regression SS with Regression
degrees of freedom.
 Residual MS. This measure is computed
dividing Residual SS with Residual degrees of
freedom and it explains the mean squared
error.
 F. This measure explains overall F test for the
null hypothesis.
 Significance F. This measure explains the
significance associated P-Value.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4 Prediction Results</title>
      <p>Data of Figure 1 andFigure 4 have been calculated
respect to the Equation (2). More specifically, the
weather forecasts in Conversano (BA) and Milano have
been used to draw the trend line, respectively.</p>
    </sec>
    <sec id="sec-5">
      <title>5 Conclusion</title>
      <p>A predicted model based on weather variables has been
introduced in order to optimize business intelligence
rules. The empirical simulation shows the direct link
between the temperature, the snow, the sun, the rain
and the humidity and the customers’ behavior in order
to predict the sales of a particular fashion product in the
next future. Finally, the sales prediction for two weeks
has been calculated respect to the historical data in the
month. In the future other models such as the “Decision
Tree” in the Data Mining field will be compared with
the regression approach.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>The work has been developed within the framework of
the project titled: Sistema di Business Intelligence di
tipo “embedded” basatosu prediction real time in
sistemi Big Data orientate al settore di calzature e
accessorimoda “Predishoes”(Business Intelligence
Embedded Systembased on real time prediction in
BigData systems oriented on fashion”Predishoes”).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [Goe05]
          <string-name>
            <surname>Goetzmann</surname>
            ,
            <given-names>W.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhu</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <year>2005</year>
          .
          <article-title>Rain or shine: where is the weather effect?</article-title>
          <source>European Financial Management</source>
          <volume>11</volume>
          (
          <issue>November</issue>
          )
          <fpage>559</fpage>
          -
          <lpage>578</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [Hir03]
          <string-name>
            <surname>Hirshleifer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shumway</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <year>2003</year>
          .
          <article-title>Good day sunshine: stock returns and the weather</article-title>
          .
          <source>Journal of Finance</source>
          <volume>58</volume>
          (June),
          <fpage>1009</fpage>
          -
          <lpage>1032</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [Sau93]
          <string-name>
            <surname>Saunders</surname>
            ,
            <given-names>E.M.</given-names>
          </string-name>
          ,
          <year>1993</year>
          .
          <article-title>Stock prices and wall street weather</article-title>
          .
          <source>The American Economic Review</source>
          <volume>83</volume>
          (
          <issue>December</issue>
          ),
          <fpage>1337</fpage>
          -
          <lpage>1345</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [Tro97]
          <string-name>
            <surname>Trombley</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <year>1997</year>
          .
          <article-title>Stock price and wall street weather: additional evidence</article-title>
          .
          <source>Quarterly Journal of Business and Economics</source>
          <volume>36</volume>
          (
          <issue>Summer</issue>
          ),
          <fpage>11</fpage>
          -
          <lpage>21</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [Coh90a]
          <string-name>
            <surname>Cohn</surname>
            ,
            <given-names>E.G.</given-names>
          </string-name>
          ,
          <article-title>1990a.Weather and crime</article-title>
          .
          <source>British Journal of Criminology</source>
          <volume>30</volume>
          (
          <issue>1</issue>
          ),
          <fpage>51</fpage>
          -
          <lpage>64</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [Coh90b]
          <string-name>
            <surname>Cohn</surname>
            ,
            <given-names>E.G.</given-names>
          </string-name>
          ,
          <article-title>1990b.Weather and violent crime</article-title>
          .
          <source>Environment and Behavior</source>
          <volume>22</volume>
          (
          <issue>March</issue>
          ),
          <fpage>28</fpage>
          -
          <lpage>94</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [Bar94]
          <string-name>
            <surname>Barker</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hawton</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fagg</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jennison</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <year>1994</year>
          .
          <article-title>Seasonal and weather factors in parasuicide</article-title>
          .
          <source>British Journal of Psychiatry</source>
          <volume>165</volume>
          (
          <issue>3</issue>
          ),
          <fpage>375</fpage>
          -
          <lpage>380</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [Sto99]
          <string-name>
            <surname>Stoupel</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abramson</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sulkes</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <year>1999</year>
          .
          <article-title>The effect of environmental physical influences on suicide. How long is the delay?</article-title>
          <source>Archives of Suicide Research</source>
          <volume>5</volume>
          (
          <issue>September</issue>
          )
          <fpage>241</fpage>
          -
          <lpage>244</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [Kin00]
          <string-name>
            <surname>King</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Narayandas</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <year>2000</year>
          .
          <article-title>Coca-cola's new vending machine (A): pricing to capture value</article-title>
          ,
          <source>or not? Harvard Business School Case # 9-500-068.</source>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [Par00]
          <string-name>
            <surname>Parker</surname>
            ,
            <given-names>P.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tavassoli</surname>
            ,
            <given-names>N.T.</given-names>
          </string-name>
          ,
          <year>2000</year>
          .
          <article-title>Homeostasis and consumer behavior across cultures</article-title>
          .
          <source>International Journal of Research in Marketing 17 (March)</source>
          ,
          <fpage>33</fpage>
          -
          <lpage>53</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [Par01]
          <string-name>
            <surname>Parsons</surname>
            ,
            <given-names>A.G.</given-names>
          </string-name>
          ,
          <year>2001</year>
          .
          <article-title>The association between daily weather and daily shopping patterns</article-title>
          .
          <source>Australasian Marketing Journal</source>
          <volume>9</volume>
          (
          <issue>2</issue>
          ),
          <fpage>78</fpage>
          -
          <lpage>84</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [Ste51]
          <string-name>
            <surname>Steele</surname>
            ,
            <given-names>A.T.</given-names>
          </string-name>
          ,
          <year>1951</year>
          .
          <article-title>Weather's effect on the sales of a department store</article-title>
          .
          <source>Journal of Marketing 15 (April)</source>
          ,
          <fpage>436</fpage>
          -
          <lpage>443</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [Mur10]
          <string-name>
            <surname>Murray</surname>
            ,
            <given-names>K. B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Di Muro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Finn</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Leszczyc</surname>
            ,
            <given-names>P. P.</given-names>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>The effect of weather on consumer spending</article-title>
          .
          <source>Journal of Retailing and Consumer Services</source>
          ,
          <volume>17</volume>
          (
          <issue>6</issue>
          ),
          <fpage>512</fpage>
          -
          <lpage>520</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [Mau95] Agnew,
          <string-name>
            <surname>Maureen D.</surname>
          </string-name>
          ,
          <string-name>
            <surname>and John E. Thornes."</surname>
          </string-name>
          <article-title>The weather sensitivity of the UK food retail and distribution industry</article-title>
          .
          <source>"Meteorological Applications 2</source>
          .2 (
          <year>1995</year>
          ):
          <fpage>137</fpage>
          -
          <lpage>147</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [Ros00]
          <string-name>
            <surname>Roslow</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Nicholls</surname>
            ,
            <given-names>J. A. F.</given-names>
          </string-name>
          (
          <year>2000</year>
          ).
          <article-title>Impact of situational variables and demographic attributes in two seasons on purchase behaviour</article-title>
          .
          <source>European Journal of Marketing</source>
          ,
          <volume>34</volume>
          (
          <issue>9</issue>
          /10),
          <fpage>1167</fpage>
          -
          <lpage>1180</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>