The Dependence Structure Between Rainfall and Temperature - A Copula Analysis
The Dependence Structure Between Rainfall and Temperature - A Copula Analysis
The Dependence Structure Between Rainfall and Temperature - A Copula Analysis
[-1,1]
Student
1 1
,
( ( ), ( )) T T u T v
[-1,1]
Clayton
1/
( +v 1) u
(0, )
Frank
1
ln{1 ( 1)( 1) / ( 1)}
u v
e e e
+
( ) { } , 0
12
Gumbel
{ }
1/
exp (ln ln ) u v
+
[1, ]
Source: [48]
After calculating the parameter for each copula, it is necessary to decide which family is the
best representation of the dependence structure between variables. There are a few techniques to
select the best copula. One of them is based on distance measures pertaining to candidate models
(copulas) distributions and the empirical datas distribution [48, 49]. Other alternative methods
include Likelihood Ratio tests and approaches related to information criteria [33], such as Akaike
and Schwarz's Bayesian Information Criteria which are adopted because they can describe the
tradeoff between bias (or accuracy) and variance (complexity) in model construction. The Akaike
information criterion (AIC) is a measure of the relative goodness of fit of a statistical model. Its
definition is as follows:
2 2ln( ) AIC k L = (2)
In equation (2), k is the number of parameters in the copulas, and L is the maximized value of
the likelihood function for the copulas. The Bayesian information criterion (BIC) was developed
by Schwarz using Bayesian formalism. Its definition is as follows:
=-2ln( )+ln( ) BIC L k N (3)
In equation (3), N is the sample size.
3. RESULTS AND DISCUSSION
Temperature and rainfall data in April from 1961 to 2010 is employed as an example (Fig. 5).
There is significant negative relationship (Pearson correlation coefficient is -0.46, P-value=0.001)
between temperature and rainfall in April. The temperature has negative skewness (-0.35) and the
rainfall has positive skewness (1.07), which may create a heteroscedasticity problem in fitting the
13
model [50]. Inspired by Kim and Ahn [51], the temperature and rainfall data are log-transformed
to remove this effect at first. The logarithmic transformation for the data is invertible, which will
not affect the fitting results.
Fig. 5. Temperature and rainfall in April from 1961 to 2010
Following Benth and Saltyte-Benths instructions [52], the time series of temperature and
rainfall are tested for autocorrelation using the Q-statistics (Fig. 6). Autocorrelation describes the
correlation between values of temperature (or rainfall) at different points in time, as a function of
the time difference. The presence of autocorrelation increases the variances of residuals and
estimated coefficients, which reduce the models efficiency. The LjungBox Q test is a type of
statistical test of whether autocorrelations of a time series are different from zero [53]. The Q-
statistics is defined as follows:
2
1
=( +2)
h
k
k
p
Q n n
n k
=
(4)
where n is the sample size,
2
k
p is the sample autocorrelation at lag k, and h is the number of lags
being tested. It is found the first order autocorrelations are strong both for temperature (Q-
stat=6.32, P-value=0.01) and rainfall (Q-stat=4.52, P-value=0.03), as shown in Fig. 6.
1 2 3 4 5 6 7 8 9
0
20
40
60
80
100
Temperature
R
a
i
n
f
a
l
l
14
Fig. 6. Sample autocorrelation function (ACF) of the temperature and rainfall in April
Therefore, AR(1) model is used to eliminate the autocorrelation in the series as shown in
equation (5).
1
** **
1
** **
0.48 0.35
(4.7 ) (2.56 )
1.85 0.29
(9.06 ) ( 2.1 )
t t t
t t t
tempe tempe
rain rain
= + +
= +
(5)
Note: The numbers in the bracket are t-values.
**
stands for the statistical significance in the 95%
confidence level.
Residuals
t
and
t
are tested where only weak autocorrelations are found (Fig. 7).
15
Fig. 7 Sample autocorrelation function (ACF) of AR adjusted temperature and rainfall in April
Except for autocorrelation, time trends are also found in the series of
t
and
t
. Based Manton
et al.s research [54], the time trends should be removed from the series to obtain a stationary
process. The detrend functions are as shown in equation (5).
** **
** **
0.08 0.0032
( 2.65 ) (3.04 )
0.17 0.007
(2.3 ) ( 2.65 )
t t
t t
t
t
= + +
= +
(5)
It is found that temperature has an increasing trend and rainfall has a decreasing trend from
1961 to 2010 (Fig. 8). The annual rate of increase (decrease) in temperature (rainfall) is 0.0032
(0.007 mm).
t
rtempe and
t
rrain are used to represent
t
and
t
respectively and shown in Fig. 9.
0 2 4 6 8 10 12 14 16 18 20
-0.5
0
0.5
1
Lag
S
a
m
p
l
e
A
u
t
o
c
o
r
r
e
l
a
t
i
o
n
Sample ACF of temperature residuals in April
0 2 4 6 8 10 12 14 16 18 20
-0.5
0
0.5
1
Lag
S
a
m
p
l
e
A
u
t
o
c
o
r
r
e
l
a
t
i
o
n
Sample ACF of rainfall residuals in April
16
Fig. 8. Residuals for AR adjusted temperature and rainfall in April
Fig. 9. Scatters of residuals for detrend adjusted temperature and rainfall in April
Based on the inference for the margins (IFM) [55], estimations and related evaluation index of
Copulas for
t
rtempe and
t
rrain are calculated as shown in Table 5.
Table 5 Results of different copula model for temperature and rainfall in April
Normal Student Clayton Frank Gumbel
-0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
rtempe
r
r
a
i
n
17
-0.34 -0.31 0.001 0.001 1.1
log-likelihood 3.05 4.11 -0.0007 -0.0002 -1.86
AIC -6.06 -8.15 0.042 0.041 3.75
BIC -6.02 -8.07 0.081 0.08 3.79
The log-likelihood of Student Copula is largest while the AIC and BIC for Student Copula are
smallest, which means that the student copula model may be the most suitable. The comparison
of real and simulated temperature and rainfall is shown in Fig. 10.
Fig. 10 Real residuals (above) and Student-based Copula simulated (below) residuals scatters
-0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
rtempe
r
r
a
i
n
-0.3 -0.2 -0.1 0 0.1 0.2 0.3
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
x
y
18
The purpose of this paper is to simulate the pair of rainfall and temperature using the copula
model. Therefore, the accuracy of model is utmost important. Although Table 5 has given some
statistical tests and Fig. 10 has given some straight evidences, it is necessary to use the contours
of cumulative distribution functions to show the dependence structure of real data and simulated
data.
The contours of cumulative distribution functions (CDF) for empirical data and five copula
models are plotted to visualize the difference as shown in Fig. 11-15. It is also found that Student
copula model fits the empirical data best.
Fig. 11. Empirical vs Gauss Fitted CDF
Fig. 12. Empirical vs Student Fitted CDF
0
.
2
0
.
2
0.2
0
.
4
0.4
0
.
6
0.6
0
.
8
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
0
.
2
0
.
2
0.2
0
.
4
0
.4
0
.
6
0.6
0
.
8
rtempe
r
r
a
i
n
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
19
Fig. 13. Empirical vs Clayton Fitted CDF
Fig. 14. Empirical vs Frank Fitted CDF
Fig. 15. Empirical vs Gumbel Fitted CDF
Note: The dot lines are empirical CDFs while the solid lines are the simulated CDFs
0
.
2
0
.
2
0.2
0
.
4
0
.4
0
.
6
0.6
0
.
8
rtempe
r
r
a
i
n
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
0
.
2
0
.
2
0.2
0
.
4
0.4
0
.
6
0.6
0
.
8
rtempe
r
r
a
i
n
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
0
.
2
0
.
2
0.2
0
.
4
0.4
0
.
6
0.6
0
.
8
rtempe
r
r
a
i
n
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
20
4. CONCLUSIONS
This paper presents a copula-based methodology for modeling the joint distribution of
temperature and rainfall, which are utmost important for agricultural production especially in the
context of climate change. Copulas have been used extensively in financial literature, but have
not been widely used in agricultural economics. The copula approach provides a powerful and
flexible method to model multivariate distributions and thus go beyond joint normality,
regressibility, and mean-variance criterion. Accurate estimation of weather may help to improve
the risk management in agricultural planning.
A shortcoming of copula method is the arbitrariness of the copula selection. This study taken in
Scania is held to construct a general copula framework to model to dependence structure of
rainfall and temperature. Different from previous study by Schoelzel et al. [41], it compares
different copula forms and shows how to select the optimal copula based on some statistical tests.
Its advantage is that it does not require any assumptions and is primarily data driven thus
minimizing the subjectivity introduced by the researcher. The empirical results show that
different from other application of copula models, student copula model has its advantage to
model the dependence structure between rainfall and temperature.
Further research in this area needs to be connected with the analysis of crop production in
agricultural economics, such as the relationship among temperature, rainfall and crop yield. It will
be the basis for future study on agricultural economics.
Acknowledgements
This research is funded by Biodiversity and Ecosystem services in a Changing
Climate BECC and SAPES. The authors gratefully acknowledge the good research
environments provided by the Centre for Environmental and Climate Research (CEC),
21
Lund University and AgriFood Economics Centre. We thank Katarina Hedlund and
Henrik Smith for fruitful discussions. We also thank the editor and anonymous referees
for their helpful suggestions and corrections on the earlier draft of our paper according to
which we improved the content.
Reference:
1. Black J R, Thompson SR (1978) Some Evidence on Weather-Crop-Yield Interaction. Am J
Agri Econ 60: 540-543.
2. Alexandrov VA, Hoogenboom G (2000) The impact of climate variability and change on crop
yield in Bulgaria. Agri For Meteorol 104: 315-327.
3. Chloupek O, Hrstkova P, Schweigert P (2004) Yield and its stability, crop diversity,
adaptability and response to climate change, weather and fertilisation over 75 years in the
Czech Republic in comparison to some European countries. Field Crop Res 85: 167-190.
4. Vergara O, Zuba G, Doggett T, Seaquist J (2008) Modeling the Potential Impact of
Catastrophic Weather on Crop Insurance Industry Portfolio Losses. Am J Agri Econ 90:
1256-1262.
5. J ones J W, Hansen J W, Royce FS, Messina CD (2000) Potential benefits of climate forecasting
to agriculture. Agri Ecosyst Environ 82: 169-184.
6. Runge ECA (1968) Effects of Rainfall and Temperature Interactions During the Growing
Season on Corn Yield. Agron J 60: 503-507.
7. Abbate PE, Dardanelli J L, Cantarero MG, Maturano M, Melchiori RJ M, Suero EE (2004)
Climatic and water availability effects on water-use efficiency in wheat. Crop Science
44(2): 474-483.
8. Calderini DF, Abeledo LG, Savin R, Slafer GA (1999) Effect of temperature and carpel size
during pre-anthesis on potential grain weight in wheat. J ournal of Agricultural Science
132(4): 453-459.
9. Medori M, Michelini L, Nogues I, Loreto F, Calfapietra C (2012) The impact of root
temperature on photosynthesis and isoprene emission in three different plant species. The
Scientiric World J ournal 2012: 525827.
22
10. Passarella VS, Savin R, Slafer GA. (2008) Are temperature effects on weight and quality of
barley grains modified by resource availability? Australian J ournal of Agricultural
Research 59(6): 510-516.
11. Cantelaube P, Terres J M (2005) Seasonal weather forecasts for crop yield modelling in
Europe. Tellus A 57(3): 476-487.
12. Olesen J E, Bindi M (2002) Consequences of climate change for European agricultural
productivity, land use and policy. European J ournal of Agronomy 16: 239-262.
13. Erskine W, El Ashkar F (1993) Rainfall and temperature effects on lentil ( Lens culinaris)
seed yield in Mediterranean environments. J Agri Sci 121: 347-354.
14. Lobell DB, Cahill KN, Field CB (2007) Historical effects of temperature and precipitation on
California crop yields. Climatic Change 81: 187-203.
15. Cooper PJ M, Dimes J , Rao KPC, Shapiro B, Shiferaw B, Twomlow S (2008) Coping better
with current climatic variability in the rain-fed farming systems of sub-Saharan Africa:
An essential first step in adapting to future climate change? Agriculture, Ecosystems and
Environment 126: 2435.
16. Muchow RC, Sinclair TR, Bennett J M Temperature and Solar Radiation Effects on Potential
Maize Yield across Locations. Agron J 82: 338-343.
17. Cane MA, Eshel G, Buckland RW (1994) Forecasting Zimbabwean maize yield using eastern
equatorial Pacific sea surface temperature. Nature 370: 204-205.
18. Lobell DB, Asner GP (2003) Climate and Management Contributions to Recent Trends in
U.S. Agricultural Yields. Science 299(5609): 1032.
19. Lobell DB, Field CB (2007) Global scale climatecrop yield relationships and the impacts of
recent warming. Environmental Research Letters 2(1): 014002.
20. Kaufmann RK, Snell SE (1997) A Biophysical Model of Corn Yield: Integrating Climatic and
Social Determinants. Am. J . Agr. Econ. 79(1): 178-190.
21. Riha SJ , Wilks DS, Simoens P (1996) Impact of temperature and precipitation variability on
crop model predictions. Climatic change 32(3): 293-311.
22. Shukla J , Misra BM (1977) Relationships between sea surface temperature and wind speed
over the central Arabian Sea, and monsoon rainfall over India. Mon weather rev 105:
998-1002.
23. Moise AF, Colman RA, Brown J R (2012). Behind uncertainties in projections of Australian
tropical climate: Analysis of 19 CMIP3 models. J ournal of geophysical research 117:
D10103.
23
24. Tanarhte M, Hadjinicolaou P, Lelieveld J (2012) Intercomparison of temperature and
precipitation data sets based on observations in the Mediterranean and the Middle East.
J ournal of Geophysical Research D: Atmospheres 117(12): D12102.
25. Adler RF, Gu G, Wang J J , Huffman GJ , Curtis S, Bolvin D (2008). Relationships between
global precipitation and surface temperature on interannual and longer timescales (1979
2006). J ournal of geophysical research 113: D22104.
26. Aldrian E, Dwi Susanto R (2003) Identification of three dominant rainfall regions within
Indonesia and their relationship to sea surface temperature. Int J Climato 23: 1435-1452.
27. Black E (2005) The relationship between Indian Ocean seasurface temperature and East
African rainfall. Phlio Tran R Soc A 363: 43-47.
28. Rajeevan M, Pai DS, Thapliyal V (1998) Spatial and Temporal Relationships Between Global
Land Surface Air Temperature Anomalies and Indian Summer Monsoon Rainfall.
Meteorol Atmos Phys 66: 157-171.
29. Huang Y, Cai J , Yin H, Cai M (2009) Correlation of precipitation to temperature variation in
the Huanghe River (Yellow River) basin during 19572006. J ournal of Hydrology 372(1-
4): 1-8.
30. Rahman A, Weinmann PE, Hoang TMT, Laurenson EM (2002) MonteCarlo simulation of
flood frequency curves from rainfall. J ournal of Hydrology 256(3-4): 196-210.
31. AghaKouchak A, Bardossy A, Habib E (2010) Conditional simulation of remotely sensed
rainfall data using a non-Gaussian v-transformed copula. Advances in Water Resources
33(6): 624-634.
32. Malevergne Y, Sornette D (2003) Testing the Gaussian copula hypothesis for financial assets
dependences. Quan Finan 3: 231-250.
33. Patton AJ (2009) CopulaBased Models for Financial Time Series. Handbook of Financial
Time Series. Springer Berlin Heidelberg: 767-785.
34. Genest C, Gendron M, Bourdeau-Brien M (2009) The Advent of Copulas in Finance. Euro J
Finan 15: 609-618.
35. AghaKouchak A, Bardossy A, Habib E (2010) Copula-based uncertainty modelling:
application to multisensor precipitation estimates. Hydrol Process 24: 2111-2124.
36. Serinaldi F (2008) Analysis of inter-gauge dependence by Kendalls sK, upper tail
dependence coefficient, and 2-copulas with application to rainfall fields. Stoch Environ
Res Risk Assess 22: 671-688.
24
37. Laux P, Vogl S, Qiu W, Knoche HR, Kunstmann H (2011) Copula-based statistical
refinement of precipitation in RCM simulations over complex terrain. Hydrol Earth Syst
Sci 15: 24012419.
38. Laux P, Wagner S, Wagner A, J ocobeit J , Bardossy A, Kunstmann H (2009) Modelling daily
precipitation features in the Volta Basin of West Africa. Int J Climatol 29: 937-954.
39. Favre AC, El Adlouni IS, Perreault L, Thiemonge N, Bobee B (2004) Multivariate
hydrological frequency analysis using copulas. Water Resources Research 40: 1-12.
40. Shiau J -T, Feng S, Nadarajah S (2007) Assessment of hydrological droughts for the Yellow
River, China, using copulas. Hydrological Processes 21(16): 21572163.
41. Schoelzel C, Friederichs P (2008) Multivariate non-normally distributed random variables in
climate research introduction to the copula approach. Nonlin Processes Geophys 15:
761-772.
42. Dupuis DJ (2007) Using Copulas in Hydrology: Benefits, Cautions, and Issues. J Hydrol Eng
12: 381-393.
43. Huang J , Van Den Dool HM (1993) Monthly precipitation-temperature relations and
temperature prediction over the United States. J Clim 6(6): 1111-1132.
44. Sklar A (1973) Random variables, joint distribution functions, and copulas. Kybernetika 9:
449-460.
45. J oe H (1997) Multivariate Models and Dependence Concepts. London: Chapman and Hall.
46. Nelsen R (1999) An Introduction to Copulas. New York: Springer.
47. Fang HB, Fang KT, Kotz S (2002) The Meta-elliptical Distributions with Given Marginals. J
Mult Anal 82: 1-16.
48. Gregoire V, Genest C, Gendron M (2008) Using copulas to model price dependence in energy
markets. Energy Risk 5: 58-64.
49. Kole E, Koedijk K, Verbeek M (2007) Selecting copulas for risk management. J Banking
Finan 31: 2405-2423.
50. Katircioglu ST. RESEARCH METHODS IN BANKING AND FINANCE.
http://www.emu.edu.tr/salihk/courses/bnfn504/chp-11.pdf
51. Kim T-W, Ahn H (2009) Spatial rainfall model using a pattern classifier for estimating
missing daily rainfall data. Sto Environ Res Risk Assess 23: 367-376.
52. Benth FE, altyt-Benth J (2005) Stochastic Modelling of Temperature Variations with a
View Towards Weather Derivatives. Applied Mathematical Finance 12: 53-85.
53. Ljung GM, Box GEP (1978) On a Measure of Lack of Fit in Time Series Models. Biometrika
65(2): 297-303.
25
54. Manton MJ , Della-Marta PM, Haylock MR, Hennessy KJ , Nicholls N, et al. (2001) Trends in
extreme daily rainfall and temperature in Southeast Asia and the South Pacific: 1961
1998. Int J Climato 21: 269-284.
55. J oe H, Xu J J (1996) The Estimation Method of Inference Function for Margins for
Multivariate Models. Department of Statistics, University of British Columbia.