A questionnaire that I am researching has 188 observations. But when I perform a linear regression, observations are 153. Does anyone know why this is?
-
Login or Register
- Log in with
sysuse auto, clear replace weight = . in 60/65 // generate some missings replace price = . in 1/5 // generate other missings misstable pattern price weight foreign rep78, freq // investigate pattern of missings mark valid // create variable to tag valid cases listwise markout valid price weight foreign rep78 // tag valid cases listwise into the variable "valid" tabstat price weight foreign rep78, s(count) c(s) // without listwise deletion of missings tabstat price weight foreign rep78 if valid, s(count) c(s) // with listwise deletion of missings
Comment