Extract the residuals from the estimation of a Symmetric Normalized Quadratic (SNQ) profit function.
## S3 method for class 'snqProfitEst'residuals( object, scaled =TRUE,...)## S3 method for class 'snqProfitImposeConvexity'residuals( object, scaled =TRUE,...)
Arguments
object: an object of type snqProfitEst or snqProfitImposeconvexity.
scaled: logical. Return scaled quantities?
...: currently not used.
Returns
residuals.snqProfitEst and residuals.snqProfitEst return a dataframe that contains the residuals for each netput and the profit.