Stata character data conversion method: first click [File-import-Excel spreadsheet] in sequence; then click the browser option in the upper right corner, and click the open button; finally check [import first..] option.
The operating environment of this article: Windows 7 system, Stata version 15.0, Dell G3 computer.
Stata character data conversion method:
1. First open the Stata15.0 software, click the "File" option in the upper left corner, and then select "import ".
2. After clicking the "import" option, select the "Excel spreadsheet" option.
#3. In the newly popped-up "import Excel" interface, click the "browser" option in the upper right corner to load the panel data.
#4. Select the panel data to be loaded, and then click the "Open" button.
5. Check the "import first row as variable names" option, then preview the loaded Excel data, and click "OK" below after verifying that it is correct.
6. Return to the main interface of the Stata15.0 software, and then click the edit button above, and you are done.
Related video recommendations: PHP programming from entry to proficiency
The above is the detailed content of How to convert stata character data to numeric type. For more information, please follow other related articles on the PHP Chinese website!