Estimates of the regression coefficients and observe

Assignment Help Basic Statistics
Reference no: EM131476945

Please bare with me I am VERY new to R and forecasting (enrolled in my first course now). As part of a homework assignment, we are asked to "Choose your favorite model and implement a recursive and a rolling estimation scheme." I have searched for many hours trying to figure out how to do this in R and I can't quite get it. If anybody can provide me with some help I would greatly appreciate it!!!

Full Question: Using the same data set as in Exercise 3 and for house price growth, run several regression models with one, two, three, and four lags of price growth in the rightâ hand side of the model. Analyze the regression results. Choose your favorite model and implement a recursive and a rolling estimation scheme. Plot the time series of the estimates of the regression coefficients and observe how much they change over time.

My Code so far:

PRQ <- read_excel("~/Desktop/144/HW2/Chapter4_exercises_data.xls",sheet = "Exercise 3")

price_ts<-ts(PRQ$P,start = 1980:2, freq=4)

r_price <- diff(log(price_ts)) ##growth rate

lag<-append(NA, r_price[-length(r_price)])

lag2<-append(NA, lag[-length(lag)])

lag3<-append(NA,lag2[-length(lag2)])

lag4<-append(NA, lag3[-length(lag3)])

y1<-lm(r_price~lag)

y2<-lm(r_price~lag+lag2)

y3<-lm(r_price~lag+lag2+lag3)

y4<-lm(r_price~lag+lag2+lag3+lag4)

summary(y1)

summary(y2)

summary(y3)

summary(y4)

Reference no: EM131476945

Questions Cloud

How does your value determination compare to market price : After you have determined value, look up each securities current market price. How does your value determination compare to market price?
Central airlines offers a trade discount series : If a round-trip airline ticket is $683, what is the net price? Use the net decimal equivalent to find the net price.
Conduct internet research on hedge funds : Conduct internet research on Hedge Funds. Outline the basic requirements for investors to participate in a Hedge Fund. Judge the effect of hedge fund investing.
Why can plain-view searches be called nonsearches : Why can plain-view searches be called nonsearches? Identify and describe the situations when the three conditions of the plain-view doctrine apply.
Estimates of the regression coefficients and observe : Plot the time series of the estimates of the regression coefficients and observe how much they change over time.
Jesuit law-the rules of the society of jesus : Which court they use in their problems?? How they solve their problems? What are the rules? what surces they rely on the rules??
Interpret the first quarterly index : Interpret the first quarterly index. In other words, what is the value of the series in the first quarter as compared to the average?
Explain advantages and disadvantages of debt financing : Explain Advantages and disadvantages of debt financing, Advantage and disadvantage of equity financing and Recommendation for financing strategy for SmartClean.
Compute the mean of sample : List all samples of size 2 from left to right using without replacement, and compute the mean of each sample.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd