In statistical formulas, it is customary to denote the value of variable x for the first observation by X1, the value of variable x for the second observation by X2, and so on. In general, the value of variable x for the ithobservation is denoted by Xi. For a sample with nobservations, the formula for the sample mean is as follows.