Question

In: Statistics and Probability

In the file pubexp.dat there are data on public expenditure on education (EE), gross domestic product...

In the file pubexp.dat there are data on public expenditure on education (EE), gross

domestic product (GDP), and population (P) for 34 countries in the year 1980. It is

hypothesized that per capita expenditure on education is linearly related to per capita

GDP. That is,

yi . b1 . b2xi . ei

where

yi . EEi

Pi

and xi . GDPi

Pi

It is suspected that ei may be heteroskedastic with a variance related to xi.

(a) Why might the suspicion about heteroskedasticity be reasonable?

(b) Estimate the equation using least squares; plot the least squares function and the

residuals. Is there any evidence of heteroskedasticity?

(c) Test for the existence of heteroskedasticity using a White test.

(d) Use White’s formula for least squares variance estimates to find some alternative

standard errors for the least squares estimates obtained in part (b). Use

these standard errors and those obtained in part (b) to construct two alternative

95% confidence intervals for b2. What can you say about the confidence interval

that ignores the heteroskedasticity?

(e) Reestimate the equation under the assumption that var.ei. . s2xi. Report the

results. Construct a 95% confidence interval for b2. Comment on its width

relative to that of the confidence intervals found in part (d).

Solutions

Expert Solution

Answer: am answered 1st 4 subparts.

(a)

Here, errors may increase as the value of per capita GDP increases,Countries with low GDP will tend to spend less on education and the variability will be small. Countries with higher GDP per capita will tend to spend more and the variability may be high.

(b)

Using R:

pubexp <- read.table("C:\\Users\\ANKITS~1\\AppData\\Local\\Temp\\Rtmp0Asy9y\\datad8456b5aab", quote="\"", comment.char="")

y = pubexp[,1]/pubexp[,3]

x = pubexp[,2]/pubexp[,3]

model = lm(y~x)

> coefficients(model)
(Intercept) x
-0.1245728 0.0731732

Hence the estimated equation is

y = -0.1245728 + 0.0731732x

Yes, there is evidence of heteroskedascity. The residuals tend to increase in magnitude as we increase x.

(c)

> summary(white.model)

Call:
lm(formula = error.squared ~ x + x.squared)

Residuals:
Min 1Q Median 3Q Max
-0.048773 -0.011263 -0.005239 0.005350 0.097664

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.0176770 0.0161120 1.097 0.2810
x -0.0052062 0.0045479 -1.145 0.2611
x.squared 0.0004840 0.0002638 1.835 0.0762 .
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.02513 on 31 degrees of freedom
Multiple R-squared: 0.293,   Adjusted R-squared: 0.2474
F-statistic: 6.423 on 2 and 31 DF, p-value: 0.004636

> 0.293*34
[1] 9.962

Hence we can reject the null for homoskedascity

the model is heteroskedastic.

(d)

abs(?i) would be standard error for each observation of i

Divide each observation of the linear model by ?i :

and then do regression

> confint(model,'x',level = 0.95)
2.5 % 97.5 %
x 0.06262296 0.08372343
> confint(model_,'x_',level = 0.95)
2.5 % 97.5 %
x_ 0.05901165 0.05944973

the interval that ignores heteroskadscity is larger.


Related Solutions

Complete the Gross Domestic Product worksheet. To access the Gross Domestic Product data required in the...
Complete the Gross Domestic Product worksheet. To access the Gross Domestic Product data required in the worksheet from the government website, use the following click stream: > Access the website, http://www.bea.gov > Under the "National" heading, click “Gross Domestic Product.” > Under the heading “Gross Domestic Product,” click on “Interactive Tables: GDP and the National Income and Product Account (NIPA) Historical Tables.” > Click on “Begin using the data” > Select “Section I - Domestic Product and Income” > Select...
Complete the Gross Domestic Product worksheet. To access the Gross Domestic Product data required in the...
Complete the Gross Domestic Product worksheet. To access the Gross Domestic Product data required in the worksheet from the government website, use the following click stream: > Access the website, http://www.bea.gov > Under the "National" heading, click “Gross Domestic Product.” > Under the heading “Gross Domestic Product,” click on “Interactive Tables: GDP and the National Income and Product Account (NIPA) Historical Tables.” > Click on “Begin using the data” > Select “Section I - Domestic Product and Income” > Select...
1.90 Gross domestic product. Refer to Exercise 1.46, where we examined the gross domestic product of...
1.90 Gross domestic product. Refer to Exercise 1.46, where we examined the gross domestic product of 189 countries. GDP (a) Compute the mean and the standard deviation. (b) Apply the 68–95–99.7 rule to this distribution. (c) Compare the results of the rule with the actual percents within one, two, and three standard deviations of the mean. (d) Summarize your conclusions. mean is 380,773 and standard deviation is 1450933
Nominal Gross Domestic Product and Personal Consumption Expenditure in $billions 1929-2016 Source: Federal Reserve Bank of...
Nominal Gross Domestic Product and Personal Consumption Expenditure in $billions 1929-2016 Source: Federal Reserve Bank of St. Louis Year Personal Consumption Expenditure Nominal GDP 1929-01-01 77.4 104.6 1930-01-01 70.1 92.2 1931-01-01 60.7 77.4 1932-01-01 48.7 59.5 1933-01-01 45.9 57.2 1934-01-01 51.5 66.8 1935-01-01 55.9 74.3 1936-01-01 62.2 84.9 1937-01-01 66.8 93.0 1938-01-01 64.3 87.4 1939-01-01 67.2 93.5 1940-01-01 71.3 102.9 1941-01-01 81.1 129.4 1942-01-01 89.0 166.0 1943-01-01 99.9 203.1 1944-01-01 108.6 224.6 1945-01-01 120.0 228.2 1946-01-01 144.3 227.8 1947-01-01 162.0...
Gross Domestic Product (GDP) Definition   Calculation – Expenditure and income approaches   Final goods versus intermediate goods...
Gross Domestic Product (GDP) Definition   Calculation – Expenditure and income approaches   Final goods versus intermediate goods   Are used goods counted in GDP?   Are stocks and bonds (financial assets) counted in GDP?   How are inventories treated in GDP?   Calculation of real GDP & current GDP   Definition of the standard of living    Limitations of GDP per person as a measure of the standard of living – e.g., is household production included in GDP? What about underground economic activity? What about leisure and...
5. The public debt - ownership The following table contains approximate figures for gross domestic product...
5. The public debt - ownership The following table contains approximate figures for gross domestic product (GDP) and the national debt in the United States for June 2001 and June 2010. The national debt represents the total amount of money owed by the federal government to holders of U.S. securities. All numbers are in trillions of dollars. GDP Total National Debt Debt Held by Debt Held Outside Fed. Govt. and Fed. Reserve (Trillions of Dollars) (Trillions of Dollars) U.S. Government...
6. The public debt - Ownership The following table contains approximate figures for gross domestic product...
6. The public debt - Ownership The following table contains approximate figures for gross domestic product (GDP) and the national debt in the United States for June 2005 and June 2010. The national debt represents the total amount of money owed by the federal government to holders of U.S. securities. All numbers are in trillions of dollars. GDP Total National Debt Debt Held by Debt Held Outside Fed. Govt. and Fed. Reserve (Trillions of Dollars) (Trillions of Dollars) Federal Government...
3. which of the following weeks increase US gross national product(GNP) but not gross domestic product...
3. which of the following weeks increase US gross national product(GNP) but not gross domestic product (GDP) ? a. an increase in Honda's output in North Carolina which is sold in Japan b. an increase in Ford output in japan which is exported to be sold in china c. an increase in toyota output in china which is purchased by US residnents living in china d. an increase in toyotas out put in japan which is exported to the US...
How are Asian economies distinctive? What are the limitations of gross domestic product and gross national...
How are Asian economies distinctive? What are the limitations of gross domestic product and gross national income as measures of a nation’s economic welfare?
What is the current level of GDP ( Gross Domestic Product) for Canada?
What is the current level of GDP ( Gross Domestic Product) for Canada?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT