statsmodels.sandbox.sysreg.Sem2SLS.whiten

Sem2SLS.whiten(Y)[source]

Runs the first stage of the 2SLS.

Returns the RHS variables that include the instruments.