

If you are not able to get the bar, then it is probably due to the fact that you are not using Arial Unicode MS font. Type a space or move the cursor back in case the hat or bar is not coming over the letter.Now Go to Insert > Symbols > More Symbols > write 0302 for hat in character code or 0305 for Bar over the letter.Write the letter you want a bar or hat over.How to type X-Bar, Y-Bar, P-Hat, Q-Hat etc in MS Word For example, if a dietician writes on a prescription “You can eat everything X̄ wheat ” then it x with a line over it simply means the patient can eat everything except wheat. In a medical context an X with a line over it means except. In simple words adding all the entries and then dividing it by the total number of entries will give the arithmetic mean or the x-bar X̄. The most common usage of X̄ is for arithmetic mean or average.
