|
Main Page of theBUEC 333 Computing Guide
Tabel of Contents
Section 1 - The Basics
Section 2 - Assignment Instructions
The Assignment Instructions are designed to get you going on each assignment. The instructions are not very detailed. Instead, you will be required to do quite a bit of reading, and, to think for yourself. A week after each assignment is due, answers will be posted on the Assignment Answers page.
Section 3 - The Final Project
![]() The Final
SECTION 1
Notes on the Mac Environment for BeginnersExcel works just as well on the Macs as it does on the IBMs. Thus, for BUEC 333, you can use either type of computer. What follows are some notes on using the Mac computers on campus. You will find it convenient to use several programs at once. As with Windows 3.1 and 95, you must click on the program icon to start each program. Once you start a program, it will not always be obvious that the program is actually running. Some of the programs do not have windows. Specifically, SimpleText and DropText, can both run without a window. To restart these programs, you will need to know how to use the Mac program menu system. The Menu Bar is the small gray band at the very top of the screen. In the top right hand corner on the Menu Bar, there is a small icon that is associated with the program window that is currently open. If you hold the mouse button down on this icon, a list will appear showing you all the programs currently running. To switch into the program of your choice, you simply highlight the appropriate name. How do you know that the program has started to run, or is now active? You can tell by looking at the icon in the right corner of the Menu Bar, or by looking at the menu options. They will change as the active program changes.
Notes on MAC CrashesThe Macs crash with alarming frequency. They crash for one of two reasons: What to do if it CrashesIf the computer freezes, the only solution is to turn in off, give it a few seconds, and then start again. If Shazam freezes, close it, reopen it and try again. If it happens a second time, check over all you command files, etc.
Info. on Computing Assignment 1 - From Week # 3"Get the real estate sales data from my Web Page and test for the difference in variance of asking and selling prices using Excel. Hand in your Excel output".Note that this is the Excel Assignment for Week #3 It is due in your Tutorial in Week #4.
Here are the steps you will have to go through to complete this assignment.
If you are using a Mac, you will have to clean up the data. Open Excel and import the data from your disk into an Excel Workbook. Perform the Test: There are two ways to do this. Either use the output from Data Analysis: Descriptive Statistics tool, or else use the Two-Sample F-Test of Variances tool. Interpret your output. This is the most important step in the whole process. Excel is just a glorified calculator. In order to get full marks on the assignments and on the final project, you must demonstrate that you understand the Excel output you have generated. A1.1 How to Obtain the data from the Web Page and Save it to Disk.Follow these steps:
A1.2 How to Clean Out Formating Code - Macs OnlyIf you are using an IBM machine, skip this part.
Once you have downloaded the data, you can view it by clicking on the file name real_estate_sales.data in your disk's directory. The Mac will automatically start an Editor Program called SimpleText. Your Datafile will then appear in SimpleText. You will notice that the data is no longer in nice neat columns. Instead, it looks like a real mess. Do not worry. The main data is still there. However, there are also a bunch of formatting instructions embedded in the data. These formatting instructions were put there to allow Netscape to understand and present the data. In order to use the data in the econometrics program Shazam or to import the data into Excel, you must first clean these formatting instructions out of the Datafile. To do this, you will need to use a program called DropText. Before you open Drop Text, you must first close the document in simple text. If you do not do this, Drop Text will not be able to open the document. You can not be looking at a document in one program and trying to change it in another program. To open DropText
Do not use the other version of DropText, version 1.3f. Version 1.3f crashes the computers. Note that DropText does not have a window associated with it. Instead, only the MenuBar changes. Select the option OPENFILE from the FILE menu. An option box will appear. Choose your disk from the DeskTop and then select the Datafile. Then, click on the OPEN AND CONVERT button. A box will quickly flash up on the screen saying "Converting File". Your data has now been converted.
A1.2.1 How to Check that Your Data Has Been ConvertedTo Check that your data has been converted, open up SimpleText and re-open the Datafile. You will see that the data now appears in 7 neat columns. Before you continue, you must close this file. Shazam will not be able to access the Datafile if it is already open in SimpleText.
A1.3 How to import the data from your disk into an Excel Workbook.A "Workbook" is the name given to the type of file that Excel uses to save your work. If you are unfamiliar with Excel, you should read chapters 1 and 2 of Data Analysis Using Excel 5.0, by Middleton before going any further. Remember that you saved the Real Estate Sales data onto your disk. If you are on a Mac, you probably called it Real_Estate_Sales.data . If you are using and IBM machine, you probably called it Real_est.dat . Follow these steps to bring the information into Excel:
There is only one problem: You don't know what each of those columns represents. To make you life easier, it is a good idea to include headings for each of the cloumns. Go through the following steps:
A1.4 How to Perform the test for Computing Assignment #1There are two ways to test for differences in the variance of asking and selling prices. The first method takes a little more effort, but is far more instructive.
A1.5 Notes on Interpretation for Computing Assignment #1You must Interpret all of your Excel output. Handing in Excel output with output and Interpretation only indicates that you can follow these instructions or photo-copy. It does not indicate that you have learnt any of the econometrics. You must always explain what the output means. What does it mean to Interpret your output? In this case, it is really easy and only involves a couple of lines. Your TA certainly won't mind if you just write your Interpretation at the bottom of the print out of your Excel workbook. Follow these steps:
Info. on Computing Assignment 2 - From Week # 4"Again using real estate sales data from my Web page, estimate a least squares regression of selling on asking prices using EXCEL. Hand in your EXCEL output.".Note that this is the Excel Assignment for Week #4 It is due in your Tutorial in Week #5.
Here are the steps you will have to go through to complete this assignment.
( See Ass#1 ) If you are using a Mac, you will have to clean up the data. ( See Ass#1 ) Open Excel and import the data from your disk into an Excel Workbook. ( See Ass#1 ) Run the regression by following Instructions in Chapter 14 Interpret your output. This is the most important step in the whole process. Excel is just a glorified calculator. In order to get full marks on the assignments and on the final project, you must demonstrate that you understand the Excel output you have generated.
A2.4 Tips for running the regression according to the Instructions in Chapter 14Middleton's book is very clear and helpful. You should have not trouble following is. Make sure that you use the tools outlined in both sections 14.1 and 14.2
A2.5 Tips on Interpretation for Assignment #2In order to correctly Interpret the output for the regression, you must think carefully about what is it that you are trying to estimate.
|
| buec333@sfu.ca |
"Hand in your EXCEL output together with your report (1 page) for question 37 from chapter 13.".Note that this is the Excel Assignment for Week #8 It is due in your Tutorial in Week #9.
There is not much new here in terms of computer work, with one exception. In this assignment, you will have to generate your own data file.
Here are the steps you will have to go through to complete this assignment.
You simply have to copy the table in the book into Excel.
To make you life easier, it is a good idea to include headings for each of the cloumns.
Because you entered the data straight into EXCEL, you don't have to clean up any files. You only have to clean up files that you download through Netscape. Because you didn't use Netscape to obtain the data for this assignment, you do not have to worry about anything.
Because this is a multiple regression, you can't begin with a graph. In this case, any graph you have to exist in three dimensions.
Instead, you will have to begin by using the regression tool.
You will need to test the significance of the parameter estimates. This means that you should be testing the following hypotheses:
H0: Bx1 = 0
and
H0: Bx2 = 0
All the information you need to perform these tests is included in the output given to you when you use the regression tool.
Your main task here is to correctly interpret the coefficients on X1 and X2, and to perform and interpret the t-tests on the coefficient estimates.
If you correctly interpret the t-tests, you should be able to say whether or not B1 or B2 are statistically different from zero.
| The answer set to this assignment will also include examples of tests for Heteroscedasticity and Autocorrelation.
You will be taught about these tests in weeks 9, 10 and 11. You do not need to do these tests for this assignment. The answers will only include them to give you examples that should help you when you are doing your project. |
| buec333@sfu.ca |
"Hand in your EXCEL output together with your report (1 page) for question 6 from chapter 14.".Note that this is the Excel Assignment for Week #9 It is due in your Tutorial in Week #10.
For this question, you will need to create a datafile and command file, just as you did for assignment #4.
You should definitely be including a few appropriate F-tests and maybe even some plots of the predicted errors against Y in an effort to visually check for Heteroscedasticity.
Here are the steps you will have to go through to complete this assignment.
See the corresponding section for assignment #4. There is nothing new here.
Once again, because you entered the data straight into EXCEL, you don't have to clean up any files. You only have to clean up files that you download through Netscape.
Nothing new here.
You will have to run a second regression, based on a smaller data set, ie a data set without some of the variables. Then, you will have to use information on the Restricted Sum of Squared Residuals (taken from the second regression) and the Unrestricted Sum of Squared Residuals (taken from the first regression) to manually calculate the F-stat.
These are advance tests that you are only just now learning about in class. You do not have to do them for this assignment, however, if you attempt them you wil be able to get good feed back from your TA before you do your project.
You can visually check for autocorrelation by plotting the residuals over time, or else plotting the residuals against their lagged values. If you do the second type of plot, you will only be able to do if for observations 2 through to 10.
You can also conduct a Durbin Watson test for first order autocorrelation. Chapter 18 in your book tells you how to do this.
You can check for visually check for Heteroscedasticity by plotting the squared resdiuals over time, or against y, or one of the dependent variables.
This should be a thorough interpretation of the output.
You will want to go over basics, such as literal interpretation of each of the parameter coefficients. However, you will also want to go a few steps further.
Certain t-tests will reject certain variables. Having deceided that these variables are individually insignificant, you will have to find out if they are jointly insignificant before you can drop them from the model.
To do this, you will have to perform an F-test on those variables; hence the instructions above on how to perform an F-test.
If you attempted some of the more advanced tests (ie the tests for autocorrelation and heteroscedasticity) you must interpret the implications of these tests.
| The answer set to this assignment will also include examples of tests for Heteroscedasticity and Autocorrelation.
You will be taught about these tests in weeks 9, 10 and 11. You do not need to do these tests for this assignment. The answer set will only include them to give you examples that should help you when you are doing your project. |