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
censored dependent variable with endogeneity + panel dataHello, I've been studying a lot through statalist, but it's my first time posting a topic. I have qu…
Small sample and regression issuesDear Stata Experts, In one of my paper, I have used 30 firms over the year 8 years (total 198 firm-…
Seemingly unrelated regressions: when using and results interpretationDear all, I recently run into some seemingly unrelated regressions and did some attempts to compare …
Merging two sets of panel dataI have two datasets, both in the following format: ID Time Var_1 Var_2 Var_3 Var_k ID Time Var_1…
Multiplication with loopHi Everybody , Someone can help me ? I would like to multiply the variables two by two , then addin…
Subscribe to:
Post Comments (Atom)
0 Response to Convert variables to numeric results in data loss when a regression is run
Post a Comment