$ \Bbb E$(grades) = $\bigg(\alpha$, teacher='Female',
and,
$\bigg( \alpha+\beta $, teacher='Male'
given that I have loaded up the required data, how should I go about fitting this model in R? Then I need to find the least squared estimates of both $\alpha$ and $\beta$ which I think I will be able to do once I can fit the model. Thanks!