In reality, we never observe the data generating process of the phenomenon we are investigating. But...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In reality, we never observe the data generating process of the phenomenon we are investigating. But we can simulate our "own world". Consider a true regression model Y = Bo + B121 + B2x2 + u. Generate data in R, so that you have 300 observations. Make it so that a1 - N(-2, 2), r2 ~ N(1,5), u~ N(0,1) and so that the correlation between r1 and x2 is approximately 0.33. Choose the true value of the beta parameters yourselves, thus creating "own world" in which we want to determine the effect of r1 and r2 on y (think of a general econometrics task). 1. Plot the data and calculate the correlation between r1 and r2 to check whether you simulated the data according to the requirements. Also, estimate the standard deviations of xi and r2. 2. Estimate the model Y = Bo + Bir1 + e. Will you get an unbiased estimate for 31? Why or why not? 3. If there is a bias, on what does it depend? Is it downward or upward? 4. Estimate the full model. Did you estimate the set true values? If not, why? What is the insight for working with real life ? Hint: Make sure you do not confuse variance and standard deviation when going from Normal distribution parameters to the simulating. In reality, we never observe the data generating process of the phenomenon we are investigating. But we can simulate our "own world". Consider a true regression model Y = Bo + B121 + B2x2 + u. Generate data in R, so that you have 300 observations. Make it so that a1 - N(-2, 2), r2 ~ N(1,5), u~ N(0,1) and so that the correlation between r1 and x2 is approximately 0.33. Choose the true value of the beta parameters yourselves, thus creating "own world" in which we want to determine the effect of r1 and r2 on y (think of a general econometrics task). 1. Plot the data and calculate the correlation between r1 and r2 to check whether you simulated the data according to the requirements. Also, estimate the standard deviations of xi and r2. 2. Estimate the model Y = Bo + Bir1 + e. Will you get an unbiased estimate for 31? Why or why not? 3. If there is a bias, on what does it depend? Is it downward or upward? 4. Estimate the full model. Did you estimate the set true values? If not, why? What is the insight for working with real life ? Hint: Make sure you do not confuse variance and standard deviation when going from Normal distribution parameters to the simulating.
Expert Answer:
Answer rating: 100% (QA)
Rcode for entire ques libraryMASS mvrnorm mu Sigma Sigma 1 2 ... View the full answer
Related Book For
Introductory Econometrics A Modern Approach
ISBN: 978-0324660548
4th edition
Authors: Jeffrey M. Wooldridge
Posted Date:
Students also viewed these accounting questions
-
Try rewriting Program 100 so that you have a linear increase in volume to halfway through the sound, then linearly decrease the volume down to zero in the second half. Data from Program 100 def...
-
You want to choose between decision alternatives A1 and A2 in the following decision tree, but you are uncertain about the value of the probability p, so you need to perform sensitivity analysis of p...
-
Consider the standard simple regression model y = (0 + (1x + u under the Gauss Markov Assumptions SLR.1 through SLR.5. The usual OLS estimators unbiased for their respective population parameters....
-
Which statements are true about the requires directive? (Choose two.) A. Changing it to a requires direct directive is always allowed. B. Changing it to a requires direct directive is never allowed....
-
1. Who wins and why? 2. What allows Forest Park to argue that this is an implied contract?
-
An electric fan is turned off, and its angular velocity decreases uniformly from 490 rev/min to 240 rev/min in 4.20 s. For related problem-solving tips and strategies, you may want to view a Video...
-
Design the suspension of a car such that the maximum vertical acceleration felt by the driver is less than \(2 g\) at all speeds between \(70 \mathrm{~km} / \mathrm{h}\) and \(140 \mathrm{~km} /...
-
Fethes Funny Hats is considering selling trademarked, orange-haired curly wigs for University of Tennessee football games. The purchase cost for a 2-year franchise to sell the wigs is $20,000. If...
-
Critically evaluate different ethical frameworks and their applicability to H&M group working methods (operationally and culturally). You are required to apply recognised theory within your...
-
Ellipses Corp is a small business that operates in Herndon, VA. The company is located at10 Period Lane, Herndon, VA 20170. Its federal Employer Identification Number is 77-7777777, and its...
-
3: [5 marks] A tennis ball is thrown into the lake at B. A dog runs along the beach a distance d before swimming directly to the ball. Find the distance d in order to minimize the time required to...
-
Profile the people of Belgium: What languages do they speak? What is their average educational level? What is their life expectancy? How fast is the population growing? Success in international...
-
Pythagoras (582-507 B.C.) a. published a book on the theory of sound b. first person to investigate musical sounds on a scientific basis c. wrote a treatise called Introduction to Harmonics d....
-
Explain responsibility accounting.
-
Which countries gain and which countries lose from the availability of cheap natural gas? Joseph Schumpeter, an Austrian-born economist who emigrated to the United States in 1932, championed...
-
Vibration in machine tools a. can cause failure of turbines and aircraft engines b. cause discomfort in human activity during metal cutting c. can cause wheels of locomotives to rise off the track d....
-
Q1. Use MatLab to show the relations between the Magnification factor (M) values and the frequency ratio (r = =) range from (0) to (3), using 6 different values of the damping ratio (5). Show the...
-
Calculate the change in entropy when 100 kJ of energy is transferred reversibly and isothermally as heat to a large block of copper at (i) 0 C, (ii) 50 C.
-
Use the data in PHILLIPS.RAW for this exercise, but only through 1996. (i) In Example 11.5, we assumed that the natural rate of unemployment is constant. An alternative form of the expectations...
-
A model that allows major league baseball player salary to differ by position is where outfield is the base group. (i) State the null hypothesis that, controlling for other factors, catchers and...
-
Use the data in RDCHEM.RAW to further examine the effects of outliers on OLS estimates and to see how LAD is less sensitive to outliers. The model is rdintens = (0 + (1 sales + (2 sales2 + (3...
-
(a) Describe the effect of temperature on the equilibrium constant. (b) Industrial \(\mathrm{CH}_{3} \mathrm{OH}\) is prepared according to the reaction \[ \mathrm{CO}(\mathrm{g})+2...
-
Under atmospheric conditions the acetone-chloroform azeotrope boils at \(64.6^{\circ} \mathrm{C}\) and contains 33.5 mole per cent acetone. The vapour pressures of acetone and chloroform at this...
-
Explain in detail, with neat sketch, the working principle of a fuel cell in producing electrical energy from the chemical energy of a fuel.
Study smarter with the SolutionInn App