principal component analyze the trend
Do the sample is a typical case
Check the step ratio of data sequence
Perform sequence transition
Is the ratio in acceptable bound?
load original data set
Earthquake data in csv file
Start
No
Yes
Do the prediction based on the current state data
Set up the formula