4. kpss.test

The exercise was created 2024-03-25 by Makizon. Question count: 7.




Select questions (7)

Normally, all words in an exercise is used when performing the test and playing the games. You can choose to include only a subset of the words. This setting affects both the regular test, the games, and the printable tests.

All None

  • kpss test för adj.close kpss.test(COST$adj.close)
  • kpss test för LOGADJCLOSE kpss.test(COST$LOGADJCLOSE)
  • kpss test för LOGRETURN kpss.test(COST$LOGRETURN)
  • H0 stationary, p-value > 5%
  • H1 not stationary, p-value < 5%
  • plot den some stationary (LOGRETURN) plot(1:nrow(COST), COST$LOGRETURN, type="l", main="Log return of Adjusted close", ylab="Log return of Adjusted close", xlab="Time")
  • lägg till en linje i plotten abline(h=0, lty=2, col="red")

All None

Shared exercise

https://spellic.com/eng/exercise/4-kpss-test.11989220.html

Share