Hi,
I am quite new to stata and am trying to run a basic OLS regression for a large number of variables. I realised at some point that two of my variables had non-numeric data and so I manually changed the data into numeric using the data-editor. I then tabulated the data to see if there are any non-numeric values in there and there are none for either. Everything seemed fine till I tried to summarize. Stata does not seem to be summarizing either of the two variables. Any suggestions about what went wrong and how I can deal with this? When I tried using these two variables in an OLS regression, stata refuses to run the regression stating error r2000 (no observations). Thank you in advance!
I am quite new to stata and am trying to run a basic OLS regression for a large number of variables. I realised at some point that two of my variables had non-numeric data and so I manually changed the data into numeric using the data-editor. I then tabulated the data to see if there are any non-numeric values in there and there are none for either. Everything seemed fine till I tried to summarize. Stata does not seem to be summarizing either of the two variables. Any suggestions about what went wrong and how I can deal with this? When I tried using these two variables in an OLS regression, stata refuses to run the regression stating error r2000 (no observations). Thank you in advance!
Comment