Proc model can be used to estimate nolinear regression by GMM such as Euler equation derived from CCAPM. In order to get efficient estimator, weighing matrix need to be estimatied from data. Weighting matrix in GMM can be estimated directly for cross-sectional data without autocorrelation, and estimated using Newey-West covariance matrix for time-series data. How to get weighting matrix for panel data?