Appendix В
R Codes
B.l Generate и and v as shown in Section 3.4
## Copula simulation (From Nelsen (1986) p.3282)
copula.sim < — function(nn,copula.type,alphaa) {
if (copula.type == 1){ #Frank.copula.type=l
xxl < — as.double(runif(nn,0,l))
vv < — as.double(runif (nn,0,l))
numm < — as.double(vv*(alphaa -1))
denomm < — as.double((alphaa^xxl)*(l-vv)+ vv)
xx2 < — as.double(logb(l + numm∕denomm,alphaa)) }
par (mfrow=c ( 1,1 ) )
plot(xxl,xx2,xlim=c(0,l),ylim=c(0,l), main “Simulated Copula Data”)
103
More intriguing information
1. On the estimation of hospital cost: the approach2. The name is absent
3. Evaluating Consumer Usage of Nutritional Labeling: The Influence of Socio-Economic Characteristics
4. Outline of a new approach to the nature of mind
5. The Cost of Food Safety Technologies in the Meat and Poultry Industries.
6. The name is absent
7. Mortality study of 18 000 patients treated with omeprazole
8. The name is absent
9. Structural Conservation Practices in U.S. Corn Production: Evidence on Environmental Stewardship by Program Participants and Non-Participants
10. Transgression et Contestation Dans Ie conte diderotien. Pierre Hartmann Strasbourg