5 Pages

Econ381Fall08PS1

Course: ECON 381, Fall 2008
School: BYU
Rating:
 
 
 
 
 

Word Count: 1667

Document Preview

Set Problem #1 Econ 381, Prof. Evans Due Monday, Sep. 15, 3 p.m. NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 FOB. Each completed problem set should list the names of the group members who worked on the assignment. As noted in the syllabus, no late assignments will be graded. 1....

Register Now

Unformatted Document Excerpt

Coursehero >> Utah >> BYU >> ECON 381

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Set Problem #1 Econ 381, Prof. Evans Due Monday, Sep. 15, 3 p.m. NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 FOB. Each completed problem set should list the names of the group members who worked on the assignment. As noted in the syllabus, no late assignments will be graded. 1. Hands dirty with data (3 points). In this problem, you will retrieve and manipulate macroeconomic data and verify some relationships that inform macroeconomic theory. (a) Go the Federal Reserve Bank of St. Louis Federal Reserve Economic Data (FRED) website at http://research.stlouisfed.org/fred2/ and download the following three data series into an Excel le.1 You can then do the subsequent analysis using either Excel or Stata2 : Real Gross Domestic Product, 3 decimal (GDPC96), percent change from year ago, deviation from trend. Make sure you set the units of account to percent change from year ago on the download page. Otherwise, you will simply have to manually calculate the percent change from a year ago from the quarterly levels. You transform this series to deviation of GDP growth from trend in the following way. If you look at the GDP percentage change series, youll notice that the average percentage change (growth rate) is above zero. So calculate the average growth rate for the whole series. Then the deviation from trend equals the growth rate minus the average growth rate. This measure shows how the economy is growing relative to its average or natural rate. Total Nonfarm Payroll Employment (PAYEMS), year over year percentage change, deviation from trend. Make sure you set the units of account to percent change from year ago on the download page. Follow the same procedure from above in creating the series for deviation from trend in employment growth. Because the GDP series is quarterly and the employment series is monthly, youll need to transform the employment series to quarterly. Just Once you nd the desired series at the FRED website, click on the series ID (e.g., GDPC96) which should take you to the series data page. At the top of the page, choose the option, Download Data. Then choose the units you want the data in, choose Excel format, and then click Download Data. 2 Stata is available in both the economics computer lab in 136 FOB and in the SWKT computer lab on the rst oor (basement). See the Appendix for instructions on how to do the data analyses below. Econ 381, PS#1 Page 1 of 5 1 set each quarters employment equal to the average of the rst three months employment growth rate. Appendices A.1.1 and A.2.3 give instructions on how to transform a monthly series into a quarterly series. Consumer Price Index for All Urban Consumers (CPILFESL), all items less food and energy, year over year percentage change, deviation from trend. Make sure you set the units of account to percent change from year ago on the download page. Follow the same procedure from above in creating the series for deviation from trend in employment growth. Also, follow the same procedure as with the PAYEMS series to transform CPILFESL from a monthly series to a quarterly series. (b) Create a chart that plots both Real GDP (% chg. from year ago, deviation from trend) and total nonfarm payroll employment (% chg. from year ago, deviation from trend) from 1948Q1 to 2008Q2. Calculate the correlation of the two series over the period 1948Q1 to 2008Q2.3 How do you explain the two series being related in this way? (c) Create a chart that plots both Real GDP (% chg. from year ago, deviation from trend) and consumer price index, all urban consumers, less food and energy (% chg. from year ago, deviation from trend) from 1958Q1 to 2008Q2. Calculate the correlation of the two series over the period 1958Q1 to 2008Q2. How do you explain the two series being related in this way? 2. Chapter 2, Problems and Applications (2 points): #6 3. Chapter 2 related employment question (1 point): Suppose an economy is made up of 100 people who are in the following mutually exclusive categories shown in Table 1: (a) What is the percent of the workforce not in the labor force? (b) What is the labor force participation rate? (c) What is the unemployment rate? 4. Chapter 3, Problems and Applications (4 points): #3,#6,#9,#10 In Excel, you calculate the correlation between two series by using the =CORREL(series1,series2) command. In Stata, you use the correlate var1 var2 command. Econ 381, PS#1 Page 2 of 5 3 Table 1: Employment categories for fake economy Number 5 5 5 5 10 50 10 5 5 Category under 16 years old disabled have been unemployed for a long time and have decided to stop looking for a job stay-at-home spouses retired currently working have jobs that are currently o for the summer had to leave jobs temporarily because of hurricane Ike and unemployed looking for work Econ 381, PS#1 Page 3 of 5 APPENDIX A.1 A.1.1 Excel Instructions Transforming series from monthly to quarterly in Excel The Total Nonfarm Payroll Employment (PAYEMS) series comes at a monthly frequency, but we want to compare it to the GDP series that comes at a quarterly frequency. The solution is to make each quarter the average of the corresponding three months data. However, it is more dicult to do this in Excel in a formula rather than having to manually type the average command in each row. A solution is to type the following formula into Excel. Assume that the monthly data for June 1947 (1947-06-01) is in cell A117. You can place the formula for second quarter 1947 in cell E117 by inputting the following formula: = IN DEX $A$1 : $K$971, 3 ROW ($B117) 236, COLU M N ($B117) + ... IN DEX $A$1 : $K$971, 3 ROW ($B117) 235, COLU M N ($B117) + ... IN DEX $A$1 : $K$971, 3 ROW ($B117) 234, COLU M N ($B117) /3 You can then copy this formula down the column and it will augment of row number of the three cells begin averaged by a multiple of three. The key is that the minus terms in the formula (e.g., -236, -235,-234) must be changed to t the given series. This new quarterly series can then be matched up to the quarterly GDP series. A.2 A.2.1 Stata Instructions Opening Stata in SWKT computer lab When in the Kimball Tower Student Computing Center (101 SWKT) on the rst oor (basement) of the SWKT, you open Stata in the following way. Log onto the computer by entering your NetID and password. Go to the Start button in the lower left-hand corner. Click on All Programs. Then select Class specic, and click on Stata 10. The Economics Department computer lab (136 FOB) is slightly easier, although signicantly smaller, than the SWKT computer lab. You simply log into one of the computers using your NetID and password, then click on Stata 9 from the All programs section of the Start menu. There is not any dierence that you will notice between Stata 9 in the Econ computer lab and Stata 10 in the SWKT computer lab A.2.2 Importing data into Stata One easy way to import data into Stata is to save it as an Excel le and then just cut and paste the data into Statas data editor. The Stata data editor is accessed by Econ 381, PS#1 Page 4 of 5 either clicking on the spreadsheet looking icon or by going to the menu and clicking on Data and data editor. Make sure that data series are in numerical format (numbers should be black, text should be red). One easy way to make sure that your Excel numbers get pasted as numbers and not text is to avoid pasting any #N/A values from Excel. Otherwise you will have to use a command in Stata like destring. Once the variables have been input into Stata, you can change their names. Suppose the variables that you have imported into Stata are named var1 and var2. You can change the name of var1 to newname1 by typing in the command line rename var1 newname1. You can save your data by going to the le menu and selecting save as. You will probably want to save to and work from a ash drive. A.2.3 Transforming series from monthly to quarterly in Stata Once you have the monthly data series in Stata, you can transform it to a quarterly series in the following way. First, rename the date variable. Suppose your date variable is called var1 and it is a string variable str10 (use the describe command to conrm this). Rename var1 to something like datetext by typing rename var1 datetext. Now convert datetext to a numerical date variable called datevar by typing gen datevar = date(datetext,YMD, 2008). This creates a numeric variable that Stata recognizes as the date given in the text. Now just format that variable to display as something more readable by typing format datevar %td. Next, create a numeric year variable by typing gen year = year(datevar), a numeric quarter variable by typing, gen quarter = quarter(datevar), and a numeric month variable by typing gen month = month(datevar). These variables now tell you which year, month, and quarter each months data is in. Lastly, you just need to calculate the quarterly average and then collapse the data. First, you must sort the data by typing sort year quarter month. Suppose your employment growth variable is named empgrowth. Create the quarterly average by typing by year quarter: egen qempgrowth = mean(empgrowth). Now you just drop the second and third month observations in each quarter because they are duplicates by typing, by year quarter: drop if n = 1. Now you have your quarterly employment growth rate series, which is the average of the growth rates of the three months in that quarter. In Stata, there are always many ways to accomplish the same task, and some are more direct than others. I dont claim that my way is the easiest way. But this is the way that I know how to do it. Econ 381, PS#1 Page 5 of 5
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

BYU - ECON - 381
Midterm 2Econ 381, Prof. Evans Testing Center: November 1214, 2008INSTRUCTIONS: Please read each question below carefully, and respond to the questions on a separate sheet of scratch paper. You must show your work. When nished with the test, stap
BYU - ECON - 381
Final ExaminationEcon 381, Prof. Evans JSFB B060: December 19, 2008, 7-10 a.m.INSTRUCTIONS: Please print your name in the upper left-hand corner. Please read each question below carefully, and respond to the questions on a separate sheet of scrat
BYU - ECON - 381
Econ 381: Intermediate Macroeconomics (Section 002) Class: M,W, 4:30 p.m. to 5:45 p.m., JFSB B060 Instructor: Richard W. Evans Oce: 167 FOB, (801) 422-8303, revans@byu.edu Oce hours: M,T 9:30 a.m. to 10:30 a.m., Th 9-10 a.m., or by appointment T.A.:
BYU - ECON - 381
Problem Set #8Econ 381, Prof. Evans Due Monday, Nov. 10, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 F
BYU - ECON - 381
Problem Set #7Econ 381, Prof. Evans Due Monday, Nov. 3, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 FO
BYU - ECON - 381
Problem Set #9Econ 381, Prof. Evans Due Monday, Nov. 24, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 F
BYU - ECON - 381
Problem Set #3Econ 381, Prof. Evans Due Monday, Sep. 29, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 F
BYU - ECON - 381
Problem Set #6Econ 381, Prof. Evans Due Monday, Oct. 27, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 F
BYU - ECON - 381
Problem Set #5Econ 381, Prof. Evans Due Monday, Oct. 20, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 F
BYU - ECON - 381
Problem Set #10Econ 381, Prof. Evans Due Monday, Dec. 8, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 F
BYU - ECON - 381
Problem Set #4Econ 381, Prof. Evans Due Monday, Oct. 6, 4:30 p.m.NOTE: You are encouraged to work on this problem set in a group of up to four members. When nished, each group should turn in one copy of the problem set to the class inbox in 130 FO
BYU - CLCV - 110
pg no 5 10 11 12 22 23 25 30 34 35 36 42-43 44 72 93 99 106 131 142 146 148 149 150 151 177 198 198-9 201 201 205 208 211 213 247 339 343 345 355 356 376 385 396-7 430 460 476 489 490 491 494 502 516 520line start 1 174 192 242 603 620 692 192 226
BYU - CLCV - 110
pg 3 12 13 13 13 27 43 43 43-44 44 53 53 54 57 60 61 70 71 74 95 96 97 98 98 99 101 105 106 110 116 121 161 176 186 187 189 190start (line) 1 348 360 374 384 895 360 385 393 421 730 754 772 889 1002 1026 206 217 344 1 28 67 115 121 141 227 370 396
BYU - CLCV - 245
Dr. Eric D. Huntsman Office: 3010-S JKHB, ext. 8-2259 Email: eric_huntsman@byu.edu Consultations: MWF 12:001:50 pm.ClCv 245: THE GOLDEN AGE OF GREECE Winter 1999 MWF 3:003:50 pm Course Description: ClCv 245 will study the Golden Age of Greece in th
BYU - CLCV - 110
pg 45 45 45 46 50 53 53 53 54 57 59 63 77 81 83 86 87 87actcharacter speaking Thyestes 1 Who hales me never should have seen ghost of tantalus 1 or a punisment returning fiend ghost of tantalus 1 does any place be idle ghost of tantalus 1 broth
BYU - REL - 212
GENRE QUESTIONS What Kind of Writing is This Passage? We read different types, or genres, of writing differently. For instance, we read a newspaper much differently than we read a novel. Likewise, a love letter affects us differently than reading a t
BYU - CLCV - 246
HISTORICAL SUMMARY OF ROMAN CIVILIZATION 753510 B.C. THE MONARCHY OF ROME. Rome was founded when several villages of mud huts were united to form a new town at a strategic point on the Tiber River in central Italy. The earliest inhabitants were origi
BYU - CLCV - 110
Jugurthine Warpg 36 36 37 37-38 41 47 51 65 65 76 77 77 77 77-78 99 100 107 117 117-8 118 121 122 148 start Of these various among intellectual pursuits I had good reason I propose At this time Jugurtha end least desirable past events Activity of ot
BYU - CLCV - 201
ClCv 201 WRITING ASSIGNMENTS Three writing exercisesshort papers three to four pages in lengthwill help the student synthesize material in the class and make connections between periods within the Classical tradition. Each is worth 50 points, split e
BYU - CLCV - 307
ROMAN PROVINCIAL EXPANSION DURING THE MIDDLE REPUBLIC The Question of Imperialism Modern Definitions creation, maintenance, or extension of an empire; controlling many nations or areas exploitation of inferior states through military and political
BYU - GREEK - 411
Professor: Dr. Eric D. Huntsman Office: 3010-S JKHB, ext. 2-2259 Email: eric_huntsman@byu.edu Consultations: MWF 44:50 p.m.GREEK 411R: JOHANNINE WRITINGS Winter 2003 MWF 99:50 a.m.(v. 3.2)Course Description: This semester Greek 411R will study t
BYU - REL - 122
1/5/2009Rel 122: Introduction to the Book of Mormon(Alma 30-Mormon 10)Behold I have given unto you my gospel, and this is the gospel which I have given unto you-that I came into the world to do the will of my Father, because my Father sent me. A
BYU - CLCV - 201
ClCv 201: The Classical TraditionFrom Homer through the High RenaissanceCourse ObjectiveFill a G.E. history of civilization requirement by exploring the ideas, literature, and culture of the Greeks and the Romans and then surveying their converge
BYU - REL - 212
1/7/20092. Historical Background and Interpretation of the New TestamentLeft: A fragment of the P52 papyrus containing John 18:31-33Greek CultureAlexander the Great (r. 336323) and the OikoumeneThe inhabited or civilized world Alexanders dream
BYU - CLCV - 246
Background: Roman Politics and StatecraftThe overthrow of the Roman monarchy led to an aristocratic regime that produced the great noble families that dominated Roman politics and societyThe Origins of the Roman StatePrehistoric RomeAdvantageous
BYU - GREEK - 311
Professor: Dr. Eric D. Huntsman Office: 3010-S JKHB, ext. 2-2259 Email: eric_huntsman@byu.edu Consultations: MWF 44:45 p.m.GREEK 311R: THE GOSPEL OF LUKE Spring 2003 MWF 12:00 noon1:50 p.m.(v. 2.1)Course Description: This term Greek 311R will st
BYU - GREEK - 311
Professor: Dr. Eric D. Huntsman Asst. Professor of Ancient Scripture 316-L JSB, ext. 2-3359, eric_huntsman@byu.edu Consultations: MW 22:50 p.m., Tu 10:00 a.m.GREEK 311R: THE GOSPEL OF MARK Spring 2005 MWF 3:004:50 p.m. Course Description: This term
BYU - REL - 212
1/5/2009Rel A 212: The New Testament(Acts-Revelation)Jesus Before His AscensionBut ye shall receive power, after that the Holy Ghost is come upon you: and ye shall be witnesses unto me both in Jerusalem, and in all Judaea, and in Samaria, and u
BYU - CLCV - 307
EARLY ROMAN POLITICAL STRUCTURES I. COMITIA CURIATA. The earliest constituent parts of the nascent Roman state were the curiae. These may have been the original villages, collections of neighboring families, or other roughly geographic groupings. The
BYU - CLCV - 307
THE STRUGGLE OF THE ORDERS Patres: originally were simply the heads of families or clans (cf. the English father); became a specialized term for the curiones (the religious heads of the curiae) and their descendants. Also a title for a senator, but t
BYU - TC - 259
Accounting ChoicesContracting Theory in AccountingEarnings ManagementAccounting Choices and Corporate Decision-MakingStock Market Reactions to Accounting ChoicesThe Nature of the FirmPositive Accounting TheoryCorporate GovernanceStock