I can use Matrix.Solve to do linear regression. But, is it possible to do non-negative linear regression? Actually, I have a code converted from c++. But if there is such one, I'd love to use it directly.
And, after linear regression, I need to do F-test. Is there a F-distribution? Thanks.