On Tue, 23 Jul 2013, Christof Kluß <ckl...@email.uni-kiel.de> writes:
> > I have "observations" obs <- (11455, 11536, 11582, 11825, 11900, ...) > > and a simulation function f(A,B,C,D,E,F), so sim <- f(A,B,C,D,E,F) > > e.g. sim = c(11464, 11554, 11603, 11831, 11907, ...) > > now I would like to fit A,B,C,D,E,F such that "obs" and f(A,B,C,D,E,F) > match as well as possible. A,..,F should be integers and have bounds. > > How would you solve this problem without bruteforce in an acceptable time? > That depends on what your "simulation function" looks like. Could you post a (small) self-contained example? -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.