Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15821

Filtering data from numerical minimization

From Sebastian <sebhofer@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Filtering data from numerical minimization
Date 2011-02-04 06:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iig75a$rkb$1@smc.vnet.net> (permalink)

Show all headers | View raw


I have a function f(n,x,y,z) that I want to numerically minimize with
respect to x,y,z for a list of n=1...N. The function is pretty
complicated and also contains other parameters, which are fixed as far
as optimization is concerned. I use NMinimize to create a table for
different values of n. This effectively leaves me with 4 lists (f_min,
x_min,...), where f_min = f(x_min, y_min, z_min). I then plot these
lists against the vector n.

Depending on the other parameters the minimization sometimes works
well, and sometimes it doesn't. The problem is the following: while
the overall form of the curves is often easily recognizable by eye,
there is some noise on top of it, i.e. some of the points (every 5th
say) are just way off. As I don't think that f behaves that way, but
rather NMinimize fails to find the correct value, I'd like to filter
that noise. Filtering the points by hand, however, doesn't seem like a
feasible solution. Does anyone know a good way to tackle this problem?
I already tried running MovingMedian which works reasonably well but
I'd like to keep the rest of the data untouched if possible.

I'm happy for all suggestions!
TIA, Sebastian

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Filtering data from numerical minimization Sebastian <sebhofer@gmail.com> - 2011-02-04 06:42 +0000
  Re: Filtering data from numerical minimization Ray Koopman <koopman@sfu.ca> - 2011-02-04 11:58 +0000

csiph-web