$$
y_{i} = X_i \beta_i + u_i, \quad i = 1, 2, \ldots, G ,
$$
where $y_i$ is a vector of the dependent variable,
$X_i$ is a matrix of the exogenous variables,
$\beta_i$ is the coefficient vector and
$u_i$ is a vector of the disturbance terms of the $i$th equation.