0% found this document useful (0 votes)
16 views2 pages

Tính

Iiuuytrrssfghjk

Uploaded by

thongdm20413
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Tính

Iiuuytrrssfghjk

Uploaded by

thongdm20413
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Phase 4 Monday February 18 00:31:27 2019 Page 1

___ ____ ____ ____ ____(R)


/__ / ____/ / ____/
___/ / /___/ / /___/
Statistics/Data Analysis

___ ____ ____ ____ ____ (R)


/__ / ____/ / ____/
___/ / /___/ / /___/ 16.0 Copyright 1985-2019 StataCorp LLC
Statistics/Data Analysis StataCorp
4905 Lakeway Drive
MP - Parallel Edition College Station, Texas 77845 USA
800-STATA-PC http://www.stata.com
979-696-4600 [email protected]
979-696-4601 (fax)

Single-user 2-core Stata network license expires 20 Aug 2019:


Serial number: 501609213901
Licensed to: Anhtony Charca
ACharca's Econometric Advisor Group

Notes:
1. Unicode is supported; see help unicode_advice.
2. More than 2 billion observations are allowed; see help obs_advice.
3. Maximum number of variables is set to 5000; see help set_maxvar.
4. New update available; type -update all-

1 . import excel "C:\Users\THINKPAD T440S\Documents\panel.xlsx", sheet("Sheet1") firstrow


(10 vars, 65 obs)

2 . generate STT =.
(65 missing values generated)

3 . replace STT = 1, if ( BankCode == "ACB")


option if() not allowed
r(198);

4 . replace STT = 1, if BankCode == "ACB"


option if not allowed
r(198);

5 . replace STT = 1 if BankCode == "ACB"


(13 real changes made)

6 . replace STT = 2 if BankCode == "BIDV"


(13 real changes made)

7 . replace STT = 3 if BankCode == "CTG"


(13 real changes made)

8 . replace STT = 4 if BankCode == "EIB"


(13 real changes made)

9 . replace STT = 5 if BankCode == "VCB"


(13 real changes made)

10 . order STT, first


Phase 4 Monday February 18 00:31:27 2019 Page 2

11 . drop BankCode

12 . xtset STT Year


panel variable: STT (strongly balanced)
time variable: Year, 2010 to 2022
delta: 1 unit

13 . generate SIZE = ln( TA)

14 . generate LA = Loans/ TA

15 . generate EA = Equity/ TA

16 . generate sdROA = sd( ROA), by( STT)


unknown function sd()
r(133);

17 . egen sdROA = sd(ROA), by( STT)

18 . generate Z_score = ((ROA+ EA)/sdROA)

19 . xtset STT Year


panel variable: STT (strongly balanced)
time variable: Year, 2010 to 2022
delta: 1 unit

20 . export excel STT Year LLP NPL ROA LA EA SIZE Z_score using "chuyên đề"
file chuyên đề.xls saved

21 .

You might also like