hw2-s08 (178)

# hw2-s08 (178) - Ec 178 ECONOMIC & BUS FORECASTING Foster,...

This preview shows pages 1–2. Sign up to view the full content.

Ec 178 – ECONOMIC & BUS FORECASTING Name: __________________________ Foster, UCSD, Due Wednesday, 21 MAY 08 1 ID: __________________________ HW #2 – SEASONALITY & ACCURACY Put answers in space provided. Point values of questions in [boldface] . Homework points will be adjusted to make them comparable to exam points at the end of the term. The Problem Let y t = quarterly national income for an agrarian nation. Table 1 shows data from 2001:1 to 2008:1 (t = 1…29). The ex ante forecast period will be from 2008:2 to 2008:4 (t = 30 – 32). Doing the Assignment In the instructions below: = left mouse click;  = double-click; = right-click Boldface = commands you type Italics = my notes on what happens next c = things you have to record or attach for this assignment. NOTE – MAKE ALL ATTACHMENTS WITH A STAPLE! [−5] A. Entering, Formatting, Plotting and Smoothing Data Open S TATA . Execute the following commands by typing them on the “Command” line: set obs 32 egen t=fill(1 2) Generates variable t = 1…30. egen q=fill(1 2 3 4 1 2 3 4) Generates variable q. list Data Editor Enter national income data from Table 1 in one column and the year in another. (Note that variables t and q are already entered.)  in each column to name the variables year and y . Preserve Close the editor box.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 06/20/2008 for the course ECON 178 taught by Professor Foster during the Spring '08 term at UCSD.

### Page1 / 4

hw2-s08 (178) - Ec 178 ECONOMIC & BUS FORECASTING Foster,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online