.. _fwflag_residualized_controls: ========================= --residualized_controls ========================= Switch ====== --residualized_controls Description =========== For :doc:`fwflag_combo_test_regression`, additionally reports how well language predicts the *residual* of the outcome after regressing out the controls — i.e. whether language explains variance beyond what the controls alone explain. Aliased as ``--res_controls``. Argument and Default Value ========================== No argument. Boolean switch, default: ``False``. Details ======= Verified: with :doc:`fwflag_outcome_controls` set, output included extra ``resid_r``, ``resid_rho``, ``resid_train_mean_mae``, etc. keys alongside the normal metrics — the residualized-controls comparison. Other Switches ============== Required Switches: * :doc:`fwflag_combo_test_regression` * :doc:`fwflag_outcome_controls` Example Commands ================ Using the packaged ``dla_tutorial`` dataset (see :doc:`../../tutorials/tut_dla`): .. code-block:: bash dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$1to3gram$msgs$user_id$0_05' \ --outcome_table blog_outcomes --outcomes age --outcome_controls is_student --combo_test_regression \ --residualized_controls