Question

Question: What STATA command would be used for each part? Image transcriptions

. Empirical Exercise 7: Demand for cars. Load the dataset PS_cars. dia. We will be conducting analysis on this dataset across several problem sets to be able to see how different estimation methods compare to each other. This exercise will also expose you to other realities of doing econometrics, namely, finding and combining data and will test programming skills. 1. Answer the following questions and put the results in a simple table. Explain briefly what Stata commands you used to calculate these numbers. Prefix &quot;bysort&quot; will be helpful when answering these questions, (a) What are the mean prices for cars in each year? (b) What is the average price for cars that have AC as standard (given by &quot;ac_standard&quot; ) in each year? (c) What is the cumulative market share of cars with above average price? (d) What are the market shares of firms in each year? Firms are identified by different values of the &quot;firmid&quot; variable. 2. Suppose that the prices are given in nominal dollar values and not real dollar values (ie. not adjusted for inflation). You want to have all prices in the equivalent of 1990 dollars. You can do so in a few steps: (a) Find the Consumer Price Index (CPI) for years 1970-1990 (you can use any Internet resource); (b) Weight the prices in years 1970-1990 by CPI to get their values in dollars of year 1990. To do so you will need to input the CPI data into Stata and combine it with PS_cars.dta. Command &quot;merge&quot; is particularly helpful when combining the dataseta. Explain briefly what Stata commands you used. 3. You are interested in predicting a car's market share based on its attributes and price. What regression would you run? Specify it, run it and report the results.

Empirical Exercise 7: Demand for cars. Load the dataset PS_cars. We will be conducting analysis on this dataset across several problem sets to be... 372,107 students got unstuck by Course
Hero in the last week 