You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question, however, about the assessStationarity package. It works well if there are no zeros in the frequency matrix but throws an NaN when zeros exist.
Below I provide two sequences vectors. They both come from Brian O’Conner’s article (https://people.ok.ubc.ca/brioconn/sequential/sequential.html). The first one is the original sequence and the second one includes a few more codes that eliminates the zero cells. Any chance that assessStationarity routine might include a switch that allows estimation of stationarity when zeros exist? Thanks very much!
I have a question, however, about the assessStationarity package. It works well if there are no zeros in the frequency matrix but throws an NaN when zeros exist.
Below I provide two sequences vectors. They both come from Brian O’Conner’s article (https://people.ok.ubc.ca/brioconn/sequential/sequential.html). The first one is the original sequence and the second one includes a few more codes that eliminates the zero cells. Any chance that assessStationarity routine might include a switch that allows estimation of stationarity when zeros exist? Thanks very much!
Best,
Joe
oc <- c(2,5,2,4,2,5,2,4,2,4,2,2,5,2,4,2,5,3,4,3,4,1,4,4,1,2,5,2,1,5,4,2,5,
1,4,4,2,3,6,6,2,2,6,5,5,5,6,3,6,3,3,6,3,2,5,3,5,2,6,2,2,2,5,2,4,4,
5,2,5,2,5,5,4,2,5,5,5,2,5,2,5,2,5,2,2,5,2,5,2,2,5,5,2,2,2,5,2,5,2,
5,2,5,2,2,5,2,5,3,5,2,5,5,2,2,5,2,2,5,2,6,2,5,4,2,5,2,4,4,2,1,2,5,
2,5,2,5,5,5,3,5,2,5,5,2,5,5,2,5,2,5,2,4,2,4,2,5,4,2,2,5,2,5,5,5,2,
5,2,5,5,2,5,2,5,5,2,1,2,5,1,5,1,5,5,4,2,2,2,3,6,3,6,3,6,3,6,3,6,3,
3,6,6,6,5,1,2,5,2,5,5,2,4,5,5,2,5,5,2,5,2,5,2,5,1,5,4,2,2,5,2,5,2,
5,4,1,4,4,2,4,4,2,4,2,3,5,4,2,2,5,2,6,1,4,1,4,5,5,5,4,5,2,4,5,5,2,
5,2,2,2,5,2,2,5,2,2,4,2,2,2,6,2,4,3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