Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for multivariate time series #2

Open
ggrothendieck opened this issue Jun 5, 2022 · 2 comments
Open

Documentation for multivariate time series #2

ggrothendieck opened this issue Jun 5, 2022 · 2 comments
Assignees

Comments

@ggrothendieck
Copy link

ggrothendieck commented Jun 5, 2022

Based on looking at the code pdcDist works for multivariate time series if X is a 3d array but the documentation only refers to the univariate case where X is a matrix. Suggest making documentation consistent with code and providing an example of its use with multivariate time series. Also couldn't find how the distance between two univariate series is extended to handle multivariate.

Also the jstatsoft paper refers to using the likelihood ratio to determine the number of clusters. If this is implemented suggest documenting how to get the number of clusters using the package. If t his has not been implemented it would be a useful addition.

@brandmaier brandmaier self-assigned this Feb 16, 2023
@brandmaier
Copy link
Owner

Thanks, @ggrothendieck for pointing this out. It is correct that the documentation for using 3d arrays is only in the Rd file for pdclust but not in pdcDist. Here is a new vignette that demonstrates usage of multivariate time series:
https://brandmaier.github.io/pdc/articles/Multivariate.html

@brandmaier
Copy link
Owner

The hypothesis test is implemented in `hypothesis.test.R" but not exposed to public because it lacks a proper interface. I will keep this issue open as a reminder to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants