Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Stéphane Adjemian (Charybdis)
98de4e4427
Less cryptic error message when variable is missing in the database.
2019-12-10 22:40:23 +01:00
Houtan Bastani
7be2f966c3
dyn_ols: bug fix: sign was not taken into account from AST when endogenous to be subtracted from LHS
2019-07-22 10:16:22 -06:00
Houtan Bastani
d84d8af8a8
dyn_ols: fix typo
2019-03-29 15:23:19 +01:00
Houtan Bastani
256949a243
fix spacing
2019-03-29 15:23:03 +01:00
Houtan Bastani
ae6c118e9e
fix bug when looking for parameter in unary op node
2019-03-26 11:06:31 +01:00
Houtan Bastani
9ab4c6f80d
ols-style equations: handle additive elements separated by + and -
...
use same algorithm as in preprocessor to facilitate future changes
2019-03-26 11:06:30 +01:00
Houtan Bastani
c0319a9bff
fix bug in printing of error message: ds is not available (or needed) in print function
2019-03-05 14:57:51 +01:00
Houtan Bastani
0352e9025a
ols style parsing: allow division in node to be subtracted from LHS
2019-02-06 12:34:13 +01:00
Houtan Bastani
106976e6d5
print info about node on error
2019-02-06 12:16:27 +01:00
Houtan Bastani
f9239d5347
remove unnecessary conversion to string
2019-02-06 12:14:07 +01:00
Houtan Bastani
de573890b7
fix bug in handling unary minus node as uminus is not a valid dseries operation
2019-02-05 19:52:12 +01:00
Houtan Bastani
8fdf805f1f
handle case when node is not passed to error function
2019-02-05 19:36:11 +01:00
Houtan Bastani
fd09ba1fca
ols_style parsing: remove regressors that are equal to zero
2019-02-05 16:38:25 +01:00
Houtan Bastani
553f1d3068
fix bug: line argument was being ignored
2019-02-01 17:05:10 +01:00
Houtan Bastani
b2fcd86c35
print parts of model where there are evaluation errors
2019-02-01 17:05:10 +01:00
Houtan Bastani
eace56ce49
use switch statement instead of eval
2019-02-01 14:28:27 +01:00
Houtan Bastani
8ddcccf18e
ols-style parsing: modify parsing to accommodate a larger set of expressions
2019-02-01 14:25:35 +01:00
Houtan Bastani
c9423fe3ab
ols parsing: fix bug in check
2019-02-01 13:21:59 +01:00
Houtan Bastani
ff2ca5fc17
remove unnecessary function
2019-02-01 12:04:46 +01:00
Houtan Bastani
e758d5bdc9
ols parsing: fix bug: node value is not stored as string in AST
2019-02-01 11:37:41 +01:00
Houtan Bastani
1f3e027a09
fix typo
2019-02-01 11:12:25 +01:00
Houtan Bastani
c544f4a02c
small improvement
2019-01-30 12:29:08 +01:00
Houtan Bastani
e1b01d9225
common parsing: jsonmodel not necessary as tag info is in AST
2019-01-22 16:10:42 +01:00
Houtan Bastani
078e1ab99e
fix bug in ols common parsing routines causing ordering of regressor columns to change
2019-01-22 15:25:17 +01:00
Houtan Bastani
9d413e2f8f
use vobs() instead of length(ds.name)
2019-01-22 15:23:42 +01:00
Houtan Bastani
3293ff62c1
handle nested UnaryOpNodes in OLS-style equations
2019-01-18 11:50:10 +01:00
Houtan Bastani
0badb00687
handle AR(1) with no parameter
2019-01-17 18:57:24 +01:00
Houtan Bastani
cfd9eff6fb
simplify common parsing
2019-01-17 18:06:43 +01:00
Houtan Bastani
b62ec7dc55
handle hard-coded constant*variable in AR(1)
2019-01-17 18:06:36 +01:00
Houtan Bastani
556b5b6e88
small change to avoid an extra conditional
2019-01-16 14:53:22 +01:00
Houtan Bastani
4dbbdb2c09
move common dates to parsing function
2019-01-16 14:53:22 +01:00
Houtan Bastani
0fb88114c1
rename functions and change error message to be more general is parsing is shared between several different functions
2019-01-16 14:53:22 +01:00
Houtan Bastani
e4dc7c403e
parse residual information
2019-01-16 14:53:21 +01:00
Houtan Bastani
1e41235b6b
common parsing: small fixes
2019-01-16 14:53:19 +01:00
Houtan Bastani
f8c0282b01
sur: fix up and use common code to create matrices
2019-01-16 14:53:19 +01:00
Houtan Bastani
013124eedf
ols: move parsing to a helper function
2019-01-16 14:53:18 +01:00