<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Microsoft Theme 2.00" content="Aftrnoon 011">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Garamond;
        panose-1:2 2 4 4 3 3 1 1 8 3;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:24.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        font-weight:normal;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#983738;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#703637;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Garamond","serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Verdana","sans-serif";
        color:black;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Verdana","sans-serif";
        color:black;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Verdana","sans-serif";
        color:black;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Verdana","sans-serif";
        color:black;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Verdana","sans-serif";
        color:black;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Verdana","sans-serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" background="cid:image001.gif@01CB7508.C669C600" lang="EN-US" link="#983738" vlink="#703637">
<img src="cid:image001.gif@01CB7508.C669C600" v:src="cid:image001.gif@01CB7508.C669C600" v:shapes="_x0000_Mail" width="0" height="0" class="shape" style="display:none;width:0;height:0"><!--[if gte mso 9]><xml>
 <v:background id="_x0000_s1025" o:bwmode="white" o:targetscreensize="1024,768">
  <v:fill src="cid:image001.gif@01CB7508.C669C600" o:title="background_aftrnoon" 
   type="frame" />
 </v:background></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">Hi all;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">I’m having problem to build a multivariate distribution using copula and generalized Pareto distributions as marginals. When I use the following codes I receive an error message:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">> gumbel.cop <- gumbelCopula(3, dim=3)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">> myMvd <- mvdc(gumbel.cop, c("gpd","gpd","gpd"), list(list(shape=2,scale=1),list(shape=4,scale=2),list(shape=4,scale=5)))
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">> n=200
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">> data<-rmvdc(myMvd,n)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">The error message that I receive is:<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Garamond","serif";color:windowtext">Error in eval(expr, envir, enclos) : could not find function "qgpd"
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">Can anyone help me to obtain this “qgpd” function in (copula package) so that this code works.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">Thanks in advance<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">Kind Regards,
</span><span style="font-family:"Garamond","serif";color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">John
</span><span style="font-family:"Garamond","serif";color:windowtext"> </span><span style="font-family:"Garamond","serif";color:windowtext"><br>
<br>
</span><b><span style="font-family:"Garamond","serif";color:#D95900">www.uj.ac.za</span></b><span style="font-family:"Garamond","serif";color:windowtext"><br>
<br>
</span><span style="font-family:"Garamond","serif";color:windowtext">Mr John Muteba Mwamba</span><span style="font-family:"Garamond","serif";color:windowtext"><br>
</span><span style="font-family:"Garamond","serif";color:#D95900">Lecturer</span><span style="font-family:"Garamond","serif";color:windowtext"><br>
</span><span style="font-family:"Garamond","serif";color:windowtext">Department of Economics and Econometrics</span><span style="font-family:"Garamond","serif";
color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext">Office: D-ring 218
</span><span style="font-family:"Garamond","serif";color:windowtext"><br>
</span><span style="font-family:"Garamond","serif";color:windowtext">Tel +27 11 559 4371
</span><span style="font-family:"Garamond","serif";color:windowtext"><br>
</span><span style="font-family:"Garamond","serif";color:windowtext">Fax +27 11 559 3039
</span><span style="font-family:"Garamond","serif";color:windowtext"><br>
</span><span style="font-family:"Garamond","serif";color:windowtext">Cell +27 82 088 7400</span><span style="font-family:"Garamond","serif";color:windowtext"><br>
</span><span style="font-family:"Garamond","serif";color:windowtext">Email: johnmu@uj.ac.za</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:windowtext"><img width="750" height="147" id="Picture_x0020_1" src="cid:image002.gif@01CB7508.C669C600" alt="UJ_emailer_01"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="3">This email and all contents are subject to the following disclaimer:<br>
<br>
http://disclaimer.uj.ac.za<br>
</font>
</body>
</html>