cross-sectional estimation in stata by binam ghimire

24
1 Cross-sectional estimation in STATA by Binam Ghimire

Upload: thais

Post on 22-Feb-2016

91 views

Category:

Documents


1 download

DESCRIPTION

Cross-sectional estimation in STATA by Binam Ghimire. Learning Objectives. Cross sectional regression in Stata Wald test for joint significance. Theory. Many papers have provided evidence of a positive relationship between financial development and economic growth. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Cross-sectional estimation in STATA by  Binam Ghimire

1

Cross-sectional estimation in STATAby Binam Ghimire

Page 2: Cross-sectional estimation in STATA by  Binam Ghimire

Learning Objectives

Cross sectional regression in Stata Wald test for joint significance

2

Page 3: Cross-sectional estimation in STATA by  Binam Ghimire

Theory Many papers have provided evidence of a

positive relationship between financial development and economic growth.

Theses papers have mainly applied cross sectional estimation (average effect) to empirically prove the above relationship

3

Page 4: Cross-sectional estimation in STATA by  Binam Ghimire

Theory Cross-sectional estimation: Beck et al. (2004)

paper shows positive relationship between banks, stock market and economic growth.

Next slide shows the output of cross sectional estimation in Beck et al. (p 430, 2004)

4

Page 5: Cross-sectional estimation in STATA by  Binam Ghimire

Learning Objectives

Cross sectional regression in Stata Wald test for joint significance

5

Page 6: Cross-sectional estimation in STATA by  Binam Ghimire

File to import for practice Data from Beck et al. (2004) Download the data from

www.banksandmarkets.wordpress.com You can note that the name of the countries have

been converted into numbers. (Stata wont recognise the names therefore you must convert them into numbers).

6

Page 7: Cross-sectional estimation in STATA by  Binam Ghimire

Importing the file To import the data in stata: copy and paste from

excel into Data Editor as followsData - Data Editor and paste the copied cells.

You should have copied all the cells inside the worksheet “main” i.e. all 40 observations for all 9 variables including the country column)

(Or you can import the file using various options available in Stata: File - Import)

7

Page 8: Cross-sectional estimation in STATA by  Binam Ghimire

Converting data into natural logs Generate the natural log of the variables to avoid

the affect of the outliers using the “gen” command as followsIn the stata command box type

gen lnvariablename =log(variablename)for some variables you should apply

gen lnvariablename=log(1+variablename)

Press enter each time a gen command is written.

You should convert 8 variables into natural log so 8 times gen command to be applied as follows

gen lnstart=log(start), gen lnschool=log(1+school) gen lngov=log(gov), gen lntrade=log(trade), gen lnpi=log(1+pi), gen lnbmp=log(1+bmp), gen lnpriv=log(priv), gen lntor=log(tor)

8

Page 9: Cross-sectional estimation in STATA by  Binam Ghimire

Converting data into natural logs If you make any mistake while generating natural

logs you can drop the generated variable by using the drop command – e.g. drop lnstart to delete the generated lnstart.

You can generate the variable again as shown in previous slide using the gen command

9

Page 10: Cross-sectional estimation in STATA by  Binam Ghimire

Pooled cross sectional regression Now run the cross-sectional pooled regression

estimates using the regress command:regress growth lnstart lnschool lnpriv lntor

It should look like the output in next slide. This is the output of regression 1, simple conditioning information set of Beck et al. (2004) where the authors have included the initial real GDP per capita to control for convergence and the average years of schooling to control for human capital accumulation.

10

Page 11: Cross-sectional estimation in STATA by  Binam Ghimire

Pooled cross sectional regression

11

Page 12: Cross-sectional estimation in STATA by  Binam Ghimire

Importing Data from Excel into Stata2. Pooled estimate In the policy conditioning information set, authors

use the simple conditioning information set plus either (i) the black market premium, (ii) the share of exports and imports to GDP, (iii) the inflation rate or (iv) the ratio of government expenditures to GDP.

The regression command for each of the above regressions are as follows :

regress growth lnstart lnschool lngov lnpriv lntorregress growth lnstart lnschool lntrade lnpriv lntorregress growth lnstart lnschool lnpi lnpriv lntorregress growth lnstart lnschool lnbmp lnpriv lntor

The outputs are similar to regression 2, 3, 4 and 5 of Beck et al. (2004). They are provided in the next 4 slides. 12

Page 13: Cross-sectional estimation in STATA by  Binam Ghimire

Pooled cross sectional regression, Beck et al. (2004) regression 2

13

Page 14: Cross-sectional estimation in STATA by  Binam Ghimire

Pooled cross sectional regression, Beck et al. (2004) regression 3

14

Page 15: Cross-sectional estimation in STATA by  Binam Ghimire

Pooled cross sectional regression, Beck et al. (2004) regression 4

15

Page 16: Cross-sectional estimation in STATA by  Binam Ghimire

Pooled cross sectional regression, Beck et al. (2004) regression 5

16

Page 17: Cross-sectional estimation in STATA by  Binam Ghimire

Result: The OLS regressions demonstrate a strong

positive association between stock market development, bank development, and economic growth. Both bank development (bank credit represented by lnpriv) and stock market development (turnover ratio represented by lntor) enter each of the five regressions significantly at the 0.05 significance level.

17

Page 18: Cross-sectional estimation in STATA by  Binam Ghimire

Wald test: Wald Test can be used to test the joint

significance of a subset of coefficients. Here we can test the two variables from Beck et

al. (2004): lnpriv and lntor. The null hypothesis is H0: θ is 0 (Ho: b1=b2=0)

and hence the variables are not providing meaningful results. The alternative hypothesis is H0: θ is greater or less than 1 (H1: b1=b2 ≠0) , which means the variables are jointly significant and give a meaningful result.

In the regression result lnpriv and lntor are individually significant based on t-tests with very low p values. But to test that they are jointly significant we can perform the Wald test 18

Page 19: Cross-sectional estimation in STATA by  Binam Ghimire

Wald test: The command is

Test lnpriv lntor The result is shown in the slide next

19

Page 20: Cross-sectional estimation in STATA by  Binam Ghimire

Wald test:

20

Page 21: Cross-sectional estimation in STATA by  Binam Ghimire

Wald test: F static at 17.67 with p value of 0.0000 means

they are jointly significant The F static of 10.15 and p value of 0.0000

shown in the regression output is also the indicator of the joint significance for ALL independent variables. This means when we perform Wald test for all independent variables in the first regression equation, the output would be similar to the F static in OLS equation above (F= 10.15 and = 0.0000). See next slide to check this

21

Page 22: Cross-sectional estimation in STATA by  Binam Ghimire

Wald test:

22

Page 23: Cross-sectional estimation in STATA by  Binam Ghimire

23

Thank You

Page 24: Cross-sectional estimation in STATA by  Binam Ghimire

Reference(s): BECK, T. and LEVINE, R. 2004. Stock Markets,

Banks, and Growth: Panel Evidence. Journal of Banking & Finance, 28, 3, 423-442.

GUJARATI, D. N. 2003. Basic Econometrics, New York, McGraw-Hill Education.

24