|Data preparation in Stata: Missing values|
Raudenbush and Bhumirat (1992) analysed data on children repeating a grade during their time at primary school. The data were from a national survey of primary education in Thailand in 1988, we use a sub set of that data here.
Raudenbush, S.W., Bhumirat, C., 1992. The distribution of resources for primary education and its consequences for educational achievement in Thailand, International Journal of Educational Research, 17, 143-164
Number of observations (rows): 8582
schoolid : school identifier
The first few lines of thaieduc.dta
This shows that the thaieduc.dta dataset contains a variable msesc which has missing values. For models which do not use msesc, we can simply drop this variable from the dataset as follows
has 8,582 observations on 4 variables. For models which do use
This dataset has 7,516 observations on 5 variables. This data set can now be read directly into Sabre, see for example, Example C3.
Other links: Centre for e-Science | Centre for Applied Statistics