How can I optimize numerical approximation with fewer samples?

  • #1
galc81
1
0
Hi all,
i have a problem to solve that i want maybe to solve with MATLAB o excel.
I have a numerical samples and with linear approsimation i have a function, but now i want to use less samples for example only 20 and i want to find the best set of samples to approsimate in the best way the function.
thanks a lot
 
Physics news on Phys.org
  • #2
galc81 said:
Hi all,
i have a problem to solve that i want maybe to solve with MATLAB o excel.
I have a numerical samples and with linear approsimation i have a function, but now i want to use less samples for example only 20 and i want to find the best set of samples to approsimate in the best way the function.
thanks a lot

Well, I suppose there are a number of ways you could choose your samples: break up the independent variable domain into 19 equal-width chunks, and use the endpoints (20 of them) as your samples. You might or might not have data for those points, naturally, so you could choose the ones closest to those that you do have.

The big question in my mind is this: from a statistics perspective, you usually want the largest sample size you can get, because your predictions and descriptive power are always greater when you have a larger sample size. So why do you want to reduce the size of your sample? Excel, for example, can crunch through quite a large sample size.
 

Similar threads

Replies
2
Views
1K
Replies
19
Views
3K
Replies
5
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
Back
Top