Stata N. This is best illustrated by example. Gen lag1 x n 1.
N basically indexes observations rows. The expression n 1 means that the value of the variable income of the following row the male s partner is to be allocated to the variable pincome. Gen lag1 x n 1.
Sort state year.
N denotes the total number of rows. This is best illustrated by example. N is the stata way of referring to the observation number. N is 1 in the first observation 2 in the second 3 in the third and so on.