diff --git a/index.html b/index.html new file mode 100644 index 0000000..77392de --- /dev/null +++ b/index.html @@ -0,0 +1,737 @@ + + +
+ + +Currently the following models are implemented:
+Yet to come (in few weeks):
+Already available on GitHub at github.com/santoroma/CircSpaceTime
+The package will be released on CRAN before the end of the 2018.
It will be constantly updated with Bayesian and classical models dealing with complex dependence structures for circular, cylindrical and spherical variable.
Example based on wave directions (and heights): a storm event observed at 8pm of April 6, 2010.
+
Data available inside the package.
We hold out 10% of the locations for validation purposes
+
+
As inputs it requires:
+ storm <- WrapSp(
+ x = train0$Dmr,
+ coords = coords0.train,
+ start = start0 ,
+ prior = list("alpha" = c(pi,10),
+ "rho" = c(rho_min0, rho_max0),
+ "sigma2" = c(3,0.5),
+ "beta" = c(1,1,2)
+ ) ,
+ nugget = TRUE,
+ sd_prop = list( "sigma2" = 1, "rho" = 0.3, "beta" = 1),
+ iter = 30000,
+ bigSim = c(burnin = 15000, thin = 10),
+ accept_ratio = 0.5,
+ adapt_param = c(start = 1000, end = 10000, esponente = 0.95),
+ corr_fun = "exponential",
+ n_chains = 2,
+ parallel = T,
+ n_cores = 2)
As inputs it requires:
+ Pred.storm <- WrapKrig(
+ WrapSp_out = storm,
+## The coordinates for the observed points
+ coords_obs = coords0.train,
+## The coordinates of the validation points
+ coords_nobs = coords0.test,
+##the observed circular values
+ x_oss = train0$Dmr
+ )
As inputs it requires:
+ mod0_PN <- ProjSp(
+ x = train0$Dmr,
+ coords = coords0.train,
+ start = start0_PN ,
+ prior = list("alpha_mu" = c(0,0),
+ "alpha_sigma" = diag(10,2),
+ "rho0" = c(rho_min0, rho_max0),
+ "rho" = c(-1,1),
+ "sigma2" = c(3,0.5)),
+ sd_prop = list( "sigma2" = .1, "rho0" = 0.1, "rho" = .1, "sdr" = sample(.05,length(train0$Dmr), replace = T)),
+ iter = 5000,
+ bigSim = c(burnin = 3500, thin = 1),
+ accept_ratio = 0.5,
+ adapt_param = c(start = 1000, end = 10000, esponente = 0.95, sdr_update_iter = 50),
+ corr_fun = "exponential",
+ n_chains = 2,
+ parallel = T,
+ n_cores = 2)
As inputs it requires:
+ Pred.krig_PN <- ProjKrig(mod0_PN,
+ ## The coordinates for the observed points
+ coords_obs = coords0.train,
+ ## The coordinates of the validation points
+ coords_nobs = coords0.test,
+ ##the observed circular values
+ x_oss = train0$Dmr)
+ | Wrapped | +Projected | +
---|---|---|
Average Prediction Error | +0.0007 | +0.0010 | +
APE_WRAP <- APEcirc( real = test0$Dmr,
+ sim = Pred.storm$Prev_out,
+ bycol = F
+)
+ APE_PN <- APEcirc( real = test0$Dmr,
+ sim = Pred.krig_PN$Prev_out,
+ bycol = F
+)
Further information and installation instructions on github.com/santoroma/CircSpaceTime
+