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

  Standards require mileage estimates to be within a plus or

car manufacturers advertise gas consumption for new cars. standards require mileage estimates to be within a plus or

  Describe the components of the system

Elise Sullivan moved to New York City in September to begin her first job as an analyst working in the Client Services Division of FirstBank, a large investment bank providing brokerage services to clients across the United States.

  Is promotion worth it if the tickets cost a given value

SmartMinds University is running a promotional raffle that offers a chance to win either a 1-year discount on tuition cost (which results in a $500 savings) or a 2-year discount on bookstore purchases. Is this promotion worth it if the tickets cost..

  Differences in sample t-test and anova hypothesis testing

What are the differences between a two sample t-test and ANOVA hypothesis testing? When would you use ANOVA at your place of employment, in your education, or in politics?

  Find probability randomly selected person has birthday on1st

Determine the probability that a randomly selected person has a birthday on the 1st day of a month. Interpret this probability. Determine the probability that a randomly selected person has a birthday on the 31st day of a month. Interpret this proba..

  Calculate the test statistic

Use a 5% level of significance. Make sure to 1. give the null and alternative hypotheses, 2. Calculate the test statistic, and 3. give the conclusion (including a comparison to alpha or the critical value) to receive full credit.

  What is a 95% confidence interval for the odds ratio

What is the intercept for the logistic regression equation and What is a 95% confidence interval for the odds ratio

  Normally and non-normally distributed population

The majority of the data is basically distributed if there are enough subjects. For instance, if you collected test scores of only a few honor students, the data will most likely not be normally distributed because you would have a sample that did..

  Testing for equality of variances

Testing for equality of variances - Independent random samples were taken from normal distributions of the yearly production of ships built by the International Ship Building Company under

  Study the order of operations

Why is it necessary to study the order of operations and the laws of operations before you start solving equations? Of the three laws, commutative, associative, and distributive, which one is most frequently used in algebra? Why?

  Find probability in month there are nine days-precipitation

Find the probability that in a given month a) there are exactly 9 days with 0.01 inch or more precipitation, b) there are at most 9 days with 0.01 inch or more precipitation.

  Find probability that the device will work satisfactorily

The probability of failure of component A is 0.02 and that of B is 0.1 in some fixed period of time.- If the components work independently, find the probability that the device will work satisfactorily during the period.

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