ECON 3740 Lecture Notes - Lecture 3: Summary Statistics, Econometrics, Null Hypothesis

11 views5 pages

Document Summary

Creation of quarterly dummy variables for seasonality test & A worked example of an f-test in r. The objective is to test the hypothesis that house prices have no seasonal pattern against the alternative that house prices vary from quarter to quarter. The test is conducted in the context of a linear model of house prices. These notes explain how quarterly dummy variables can be created in r from the date-variable month which records the month of the sale. Month has a range 1-72 which spans the 6 year period, 1983 to 1988. The first step is to create a variable that identifies the month of the year in which the sale took place. Next, quarterly dummy variables are created: q1-q4 which take the values of 0, 1 to indicate which quarter of the year the sale took place. The following command shows summary statistics for the variable month .

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions