This question already has an answer here:

I'd like to create the following equation:
enter image description here
Could you please give me a solution? Thank you.

marked as duplicate by egreg amsmath Jun 29 '16 at 12:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



   \hat{y}_i= \begin{cases} 
        y_i, & \text{if}\ i\notin I\\ 
        (x\hat{\beta})_i, & \text{if}\ i \in I \end{cases}

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.