Simulate latent process with noise
# S3 method for ngme_model
simulate(object, nsim = 1, seed = NULL, ...)
ngme model specified by f() function
number of simulations
seed
ignored
a realization of latent model
simulate(f(1:10, model="ar1", rho = 0.4, noise = noise_nig()))
#> sim_1
#> 1 -1.5727112
#> 2 -0.4178303
#> 3 -0.1508741
#> 4 -1.7693050
#> 5 1.6066744
#> 6 1.0862067
#> 7 0.6767757
#> 8 0.3700470
#> 9 0.2740100
#> 10 0.2357953
simulate(f(rnorm(10), model="rw1", noise = noise_normal()))
#> sim_1
#> 1 1.58502523
#> 2 1.48187287
#> 3 0.98177295
#> 4 -0.15586453
#> 5 1.20393406
#> 6 1.27116830
#> 7 0.87455819
#> 8 -0.04383580
#> 9 -0.06112684
#> 10 -0.31812380