Discussion Overview
The discussion revolves around finding a least squares solution for a system of equations represented by Ax = b, where the solution x must contain only positive coefficients. Participants explore methods to achieve this under the constraints of their specific problem, which involves measured weights of products and component weights.
Discussion Character
- Exploratory
- Technical explanation
- Mathematical reasoning
- Debate/contested
Main Points Raised
- Jocke inquires about methods to ensure all values in the least squares solution x are positive, given that the standard least squares solution yields negative values.
- One participant suggests that since there is an explicit formula for the least squares solution, achieving all positive entries may require a change of basis, which could complicate the problem.
- Jocke elaborates that the matrix A represents component amounts and b represents measured product weights, indicating the context of the problem.
- Another participant questions the correlation of fits, suggesting that a correlation coefficient less than 0.9 might indicate other issues affecting the results.
- Jocke shares that he has tried various methods in Matlab, including lsqnonneg, which provides non-negative solutions but does not yield satisfactory results.
- Concerns are raised about high correlations among components and the potential rank deficiency of matrix A, which Jocke attempts to address by adding additional measurements.
Areas of Agreement / Disagreement
Participants express differing views on the feasibility of obtaining a least squares solution with only positive coefficients. There is no consensus on the best approach, and multiple competing methods and concerns are presented.
Contextual Notes
Participants note limitations related to the rank deficiency of matrix A and the potential impact of correlations among components on the least squares solution. The discussion includes unresolved mathematical steps and assumptions regarding the data and methods used.
Who May Find This Useful
This discussion may be of interest to those working with least squares problems in applied mathematics, data fitting, or optimization, particularly in contexts requiring non-negative solutions.