I have the following dataset:
results <- data.frame(Date = c("A", "B", "C", "D", "E", "F", "G", "H","I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S"),
P1 = c(0.43, 0.45, 0.57, 0.15, 0.5, 0.33, 0.26, 0.81, 0.43, 0.48, 0.14, 0.26,-0.21, 0.27, 0.37, 0.33, 0.68, 0.15, 0.44))
I want to know, if there are statistically significant changes of my observations.
So I thought to use changepoint analysis.
First I used the bcp-Package, with the following code:
c <- bcp(results$P1)
plot(c)
However, there are no changepoints according to this plot.
Then I used the "changepoint" package and the following code:
var=cpt.var(results$P1, method="PELT")
plot(var)
Here I get three possible changepoints, but not were I supposed them to be (for example not in M, but in N).
Can anybody explain me why? Or is there another way to show, if the values changed significantly from one observation to another?