Chapter 13Handling general constraints

In this chapter, we consider constraints that are neither bounds nor masks. If there are many constraints, then the problem is usually considered mathematical programming, see Chapter 14, and it is common that the constraints are then often linear. There may also be other features, such as variables that are all integers, or there is a mix of integer and real parameters. Such problems have generally been less common in statistics, but there appears to be growing interest.

In this chapter, however, we consider problems with just a few constraints, so that the main focus of attention is still the objective function.

13.1 Equality constraints

Equality constraints are, in my experience, usually more troublesome than inequality constraints. This might seem paradoxical. After all, each equality constraint should reduce the dimension of the problem by one parameter. The difficulty is in choosing WHICH parameter to eliminate.

Nash (1979, p. 184) presents a problem (with seemingly erroneous results reported) that is apparently a linear regression except that four of the coefficients are related. We have six variables c13-math-0001 and want a model

13.1 equation

However, there is a constraint so that

13.2

In this example, it is very obvious that we can solve for any one ...

Get Nonlinear Parameter Optimization Using R Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.