use struct design_matrix
[pspp-builds.git] / src / math / ts / innovations.h
index 5cc6b16cef680961e3cfadd3e80a65668dfc9c88..d6ec1ce42c3e8e7dc533f7cc1be68b4d7719423b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  src/math/time-series/arma/innovations.h
+  src/math/ts/innovations.h
   
   Copyright (C) 2006 Free Software Foundation, Inc. Written by Jason H. Stover.
   
 #ifndef INNOVATIONS_H
 #define INNOVATIONS_H
 #include <math/coefficient.h>
+#include <math/design-matrix.h>
+
 struct innovations_estimate
 {
-  struct variable *variable;
+  const struct variable *variable;
   double mean;
   double variance;
   double *cov;
+  double *scale;
   double n_obs;
   double max_lag;
-  coefficient *coeff;
+  coefficient **coeff;
 };
+struct innovations_estimate ** pspp_innovations (const struct design_matrix *, size_t);
+void pspp_innovations_free (struct innovations_estimate **, size_t);
 #endif