Suppose I have the following joint model:
$$ y_{f_i} = \beta_1 + \beta_2 t_i + \beta_3 s_i +\epsilon_i $$
$$ y_{m_i} = \beta_4 + \beta_5t_i + \beta_6 s_i +\epsilon_i $$
where $y_{f_i}$ corresponds to the female portion of the response variable, and $y_{m_i}$ corresponds to the male portion, and $t_i,s_i$ are some predictors.
I want to do a hypothesis test such as
$$H_0: \beta_2 = \beta_5 =0 \quad \text{and}\quad\beta_3 = \beta_6,\quad \text{against} \quad \text{not}\quad H_0$$
I would like to use the F test, but I don't understand how I would deal with the fact that we are using a joint model. Any help is appreciated.