## Not run:
# test <- on_average_ica (fimfunc = "FIM_logistic",
# lx = -5, ux = 5, prior = rep(1/4, 4),
# param = matrix(c(0.5, 1.5, 0.5, 1.5, 4.0, 4.0, 5.0, 5.0), 4, 2),
# iter = 200, k = 3)
#
# plot(test)
# print(test)
# ################################################################################
# ## using equivalence theorem as stopping rule. Can be applied in H-algorithm
# test <- on_average_ica (fimfunc = "FIM_logistic",
# lx = -5, ux = 5, prior = rep(1/4, 4),
# param = matrix(c(0.5, 1.5, 0.5, 1.5, 4.0, 4.0, 5.0, 5.0), 4, 2),
# iter = 200, k =3,
# control = list(stop_rule = "equivalence",
# stoptol = .9995, equivalence_every = 100))
# ## End(Not run)
Run the code above in your browser using DataLab