Home >Common Problem >How to convert stata character data to numeric type

How to convert stata character data to numeric type

coldplay.xixi
coldplay.xixiOriginal
2021-02-02 11:22:1858874browse

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.

How to convert stata character data to numeric type

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 ".

How to convert stata character data to numeric type

2. After clicking the "import" option, select the "Excel spreadsheet" option.

How to convert stata character data to numeric type

#3. In the newly popped-up "import Excel" interface, click the "browser" option in the upper right corner to load the panel data.

How to convert stata character data to numeric type

#4. Select the panel data to be loaded, and then click the "Open" button.

How to convert stata character data to numeric type

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.

How to convert stata character data to numeric type

6. Return to the main interface of the Stata15.0 software, and then click the edit button above, and you are done.

How to convert stata character data to numeric type

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn