BookmarkSubscribeRSS Feed
batsdto2002
Calcite | Level 5

Hello All,

 

I'm a novist to SAS and I want to perform change point analysis, in the data I don't know the table to select for the analysis, could someone help me with the procedure.

2 REPLIES 2
mkeintz
PROC Star

Perhaps instead of the phrase "change point analysis", you could describe the operational tasks you want to perform that comprise a change point analysis.

 

In addition, I'd suggest showing a DATA step with actual data representing the typing of content you have.

 

 

Having said that, a crude internet search for "change point analysis" shows that it basically means to take a data series, find it's mean, calculate a corresponding series of cumulative differences from the mean, and identify that time point at which the absolute value of the cumulative difference is maximized.  That time becomes the change point for that series.

 

And then you take the two consequent sub-series and do the same to them.

 

The above can be relatively easily programmed.

 

My question to you would be: how do you know when to stop subdividing the sub-series.

 

And, due to the nature of my question to you, I suggest you consider moving this post to the analytics and statistics forum.

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------
SAS_Rob
SAS Employee

“Change point analysis” is a little bit of a vague term, but the following example from Proc MCMC might be a good place to start.  If this is what you ultimately want to do, then you would need to program it rather than use a point and click approach.

https://go.documentation.sas.com/?docsetId=statug&docsetVersion=15.1&docsetTarget=statug_mcmc_exampl...

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1442 views
  • 0 likes
  • 3 in conversation