Re: Linear regression question
If I understand correctly, you have some data you are trying to do linear regression on, but you also have some knowledge of the form of the solution?
Well, first you could find the solution if the constraints were not there. If this happens to satisfy the constraints, you are done.
If it doesn't, the solution must lie on the boundary defined by the constraints, given some assumptions. If the constraints are simple enough, you may be able to rewrite your problem with the knowledge that it is on the boundary. For example if you wanted a 1dimensional linear regression solution and knew the intercept with the yaxis had to be positive, but linear regression gave a unique solution with the intercept as negative (due presumably to noise in the data, I believe the constrained solution would have to have an intercept at zero.
