within a_freq_resp_var_j function, .stats and formats are not user defined, but defined within function itself. Align approach with a_freq_j