t <- seq(0,1, by = 0.01)
model <- set.to.class("jumpRegression", fun = function(t, N, theta) exp(theta[1]*t) + theta[2]*N,
parameter = list(theta = c(2, 2), gamma2 = 0.25, xi = c(3, 0.5)),
Lambda = function(t, xi) (t/xi[2])^xi[1])
data <- simulate(model, t = t, plot.series = FALSE)
est <- estimate(model, t, data, 1000)
plot(est)
## Not run:
# # work in progress
# est_hid <- estimate(model, t, data$Y, 1000)
# plot(est_hid)
# ## End(Not run)
Run the code above in your browser using DataLab