Dear all,
A dataset with 11 variables was imported to STATA using File -> Import Excel spreadsheet. Then, Data -> Create or change data -> Convert variables from string to numeric was used.
Stata recognised two types of numeric variables: byte for dummy and double for other. Function "describe" identifies 184 observations, but a regression that I run provides me with only 142 observations.
Dataex reveals that some values were replaced into dots instead of numbers, however in the original excel file all values seem to be fine. It contains numerical values and there should not be any issues.
Could you please help me fix this problem?
I'm looking forward to any ideas on how it can be fixed
Related Posts with Convert variables to numeric results in data loss when a regression is run
Standard Errors in the Frankel and Romer type study, using PPMLHi All, For those who are familiar with the Frankel and Romer (1999) study, the authors construct …
The most and least advantaged child analysisHello I am working on an issue related to the inequalities of opportunities in terms of the level of…
Displaying interaction terms in separate column in outputI have the following data: Code: * Example generated by -dataex-. To install: ssc install datae…
Keep rows if two consecutive columns have the same valueI am trying to filter rows based on a condition where two consequtive columns have a particular valu…
Functional Forms of Independent VariablesHi, If our objective is to ascertain the relationship (specifically, sign and significance of Beta …
Subscribe to:
Post Comments (Atom)
0 Response to Convert variables to numeric results in data loss when a regression is run
Post a Comment