Multidimensional vector fitting

Hello, I have the following problem:


(Vector1 (i), Vector2 (i)) are my data points with different errors, and i is the number of points. Vector 1 and 2 have 5 components. I would like to find matrix A by minimizing chi2.
Does anyone knows how to perform this fitting? I was not able to find any similar example.

Thanks in advance.
Best regards,

ROOT Version: 5.34/30
Platform: Ubuntu 16.04

If , for each data point i, you have a single value, you can just use the TGraph or TGraphError classes and do

Otherwise you can just write yourself the Chi2 function and use Minuit to minimise as a standard multidimensional function


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.