Thursday, January 2, 2020
A Guide to a Painless Undergrad Econometrics Project
Most economics departments require second- or third-year undergraduate students to complete an econometrics project and write a paper on their findings. Many students find that choosing aà research topicà for their requiredà econometricsà project is just as difficult as the project itself.à Econometrics is the application of statistical andà mathematical theoriesà and perhaps some computer science to economic data. The example below shows how to useà Okuns lawà to create an econometrics project. Okuns law refers to how the nations outputââ¬âitsà gross domestic productââ¬âis related to employment and unemployment. For this econometrics project guide, youll test whether Okuns law holds true in America. Note that this is just an example projectââ¬âyoull need to chose your own topicââ¬âbut the explanation shows how you can create a painless, yet informative, project using a basic statistical test, data that you can easily obtain from the U.S. government, and a computer spreadsheet program to compile the data. Gather Background Information With your topic chosen, start by gathering background information about the theory youre testing by doing aà t-test. To do so, use theà following function:à Yt 1 - 0.4 Xt Where:Ytà is the change in the unemployment rate in percentage pointsXtà is the change in the percentage growth rate in real output, as measured by real GDP So you will be estimating the model:à Yt b1 b2 Xt Where:Yt is the change in the unemployment rate in percentage pointsXt is the change in the percentage growth rate in real output, as measured by real GDPb1 and b2 are the parameters you are trying to estimate. To estimate your parameters, you will need data. Useà quarterly economic dataà compiled by the Bureau of Economic Analysis, which is part of the U.S. Department of Commerce. To use this information, save each of the files individually. If youve done everything correctly, you should see something that looks like thisà fact sheetà from the BEA, containing quarterly GDP results. Once youve downloaded the data, open it in a spreadsheet program, such as Excel. Finding the Y and X Variables Now that youve got the data file open, start to look for what you need. Locate the data for your Y variable. Recall that Ytà is the change in the unemployment rate in percentage points. The change in the unemployment rate in percentage points is in the column labeled UNRATE(chg), which is column I. By looking at column A, you see that theà quarterly unemployment rateà change data runs fromà April 1947 to October 2002à in cells G24-G242, according to Bureau of Labor Statistics figures. Next, find your X variables. In your model, you only have one X variable, Xt, which is the change in the percentage growth rate in real output as measured by real GDP. You see that this variable is in the column marked GDPC96(%chg), which is in Column E. This data runs from April 1947 to October 2002 in cells E20-E242. Setting Up Excel Youve identified the data you need, so you can compute the regression coefficients using Excel. Excel is missing a lot of the features of more sophisticated econometrics packages, but for doing a simple linear regression, it is a useful tool. Youre also much more likely to use Excel when you enter the real world than you are to use an econometrics package, so being proficient in Excel is a useful skill. Your Ytà data is in cells G24-G242 and your Xtà data is in cells E20-E242. When doing a linear regression, you need to have an associated X entry for every Ytà entry and vice-versa. The Xts in cells E20-E23 do not have an associated Ytà entry, so you will not use them. Instead, you will use only the Ytà data in cells G24-G242 and your Xtà data in cells E24-E242. Next, calculate your regression coefficients (your b1à and b2). Before continuing, save your work under a different filename so thatà at any time, you can revert back to your original data. Once youve downloaded the data and opened Excel, you can calculate your regression coefficients. Setting Excel Up for Data Analysis To set up Excel for data analysis, go to the toolsà menu on the top of the screen and find Data Analysis. Ifà Data Analysisà is not there, then youll have toà install it. You cannot do regression analysis in Excel without the Data Analysis ToolPak installed. Once youve selectedà Data Analysisà from theà toolsà menu, youll see a menu of choices such as Covariance and F-Test Two-Sample for Variances. On that menu, select Regression. Once there, youll see a form, which you need to fill in. Start by filling in the field that says Input Y Range. This is your unemployment rate data in cells G24-G242. Choose these cells by typing $G$24:$G$242 into the little white box next toà Input Y Rangeà or by clicking on the icon next to that white box then selecting those cells with your mouse.à The second field youll need to fill in is the Input X Range. This is the percent change in GDP data in cells E24-E242. You can choose these cells by typing $E$24:$E$242 into the little white box next toà Input X Rangeà or by clicking on the icon next to that white box then selecting those cells with your mouse. Lastly, you will have to name the page that will contain your regression results. Make sure you have New Worksheet Ply selected, and in the white field beside it, type in a name like Regression. Click OK. Using the Regression Results You should see a tab at the bottom of your screen calledà Regressionà (or whatever you named it) and some regression results. If youve gotten the intercept coefficient between 0 and 1, and the x variable coefficient between 0 and -1, youve likely done it correctly. With this data, you have all of the information you need for analysis including R Square, coefficients, and standard errors. Remember that you were attempting to estimate the intercept coefficient b1à and the X coefficient b2. The intercept coefficient b1à is located in the row named Intercept and in the column named Coefficient. Your slope coefficient b2à is located in the row named X variable 1 and in the column named Coefficient. It will likely have a value, such as BBB and the associated standard error DDD. (Your values may differ.) Jot these figures down (or print them out) as you will need them for analysis. Analyze your regression results for your term paper by doingà hypothesis testing on this sample t-test. Though this project focused on Okuns Law, you can use this same kind of methodology to create just about any econometrics project.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.