'how can I use chis-quare

I have one expected value of C and I have 20 observed values A and B which I expect A+xB=C I want to find the best value for x how can I use chi-square to find the best one.

For example, how can I use scipy.stats.chisquare to find the best value for x.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source