Hi all,
I'm brand new to STATA so please forgive me if this is a stupid question. I've tried searching the forum and found that the 'no observations' error occurs in a regression when there are likely missing data in the variables.
Well I removed my missing data (they were labeled .a etc) by recoding them all to periods so the variables look like this:
Variable1
1
2
3
4
.
Variable 2
1
2
.
But I'm still getting the no observations error when I try to run a regression on the two variables!
Can anyone please tell me how to fix this?
Thank you!
I'm brand new to STATA so please forgive me if this is a stupid question. I've tried searching the forum and found that the 'no observations' error occurs in a regression when there are likely missing data in the variables.
Well I removed my missing data (they were labeled .a etc) by recoding them all to periods so the variables look like this:
Variable1
1
2
3
4
.
Variable 2
1
2
.
But I'm still getting the no observations error when I try to run a regression on the two variables!
Can anyone please tell me how to fix this?
Thank you!
Comment