Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

What is the correct way of interpreting a changepoint graph? Here is what R gives for changepoint analysis of the mean of a data set:

----------
Changepoint type      : Change in mean 
Method of analysis    : AMOC 
Assumed Distribution  : Normal 
Type of penalty       : SIC with value, 4.770685 
Maximum no. of cpts   : 1 
Changepoint Locations : 15 118 

So changes occurred at t=15 and t = 118?

share|improve this question

1 Answer

If you are using the changepoint package (which from the output I presume you are) then the changepoint locations always end with n. Thus the length of your data is 118 and there is a single change in mean at 15.

For info AMOC means At Most One Change and thus the maximum number of changepoints the method will identify is 1. As 1 has been identified then you should use an alternative method, see documentation for options.

You mention a changepoint graph but as far as I can see from your question you haven't plotted anything. To see the results on the original series you can use

out<-cpt.mean(data)
plot(out)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.