I’ve attached two questions separately below. Both these questions involve categorical variables.
12.18)Chi square test for goodness of fitH0:All frequencies are equalH1: all frequencies are differentObserved Expected Difference Difference Sq. Diff. Sq. / Exp Fr. ABS brakes 20 20 0.00 0.00…