data( "SantaAna" )
Z <- SantaAna[,3:4]
mfit1 <- fevd( x = temp, data = Z, threshold = 36.75, type = "GP" )
mfit2 <- fevd( x = windspeeds, data = Z, threshold = 7.09875, type = "GP" )
fit2 <- fbvpot( x = Z, threshold = apply( Z, 2, quantile, probs = 0.95 ),
dep.model = "mixbeta", init = c( 1, 2, 0.5, 0.5 ),
tform = "tf", fit = list( mfit1, mfit2 ) )
fit2
plot( fit2 )
hist( fit2 )
Run the code above in your browser using DataLab