The following example estimates this model using two-stage least squares: proc syslin data=in 2sls; endogenous p; instruments y u s; demand: model q = p y s; supply: model q = p u; run; The 2SLS ...