Houtan Bastani
ab5a19f08a
sur: fix bug in check of returned matrices
2019-01-24 11:38:40 +01:00
Houtan Bastani
a402554083
fix bug in b219a99a16
2019-01-24 11:30:53 +01:00
Houtan Bastani
b219a99a16
olsgibbs: fix bug in returned fitted value
2019-01-24 11:23:23 +01:00
Houtan Bastani
d52ee5d290
fix comment
2019-01-24 11:20:39 +01:00
Houtan Bastani
99d770382b
change indexing into X.name
2019-01-23 15:48:46 +01:00
Houtan Bastani
7632c4f071
use vobs instead of length(X.name)
2019-01-23 15:48:46 +01:00
Houtan Bastani
d1afd56134
small fixes (comments, argument checks)
2019-01-22 16:11:03 +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
f514d443b6
aesthetic fix
2019-01-22 00:40:57 +01:00
Houtan Bastani
63054a5728
olsgibbs: fix checks of input arguments
2019-01-22 00:08:09 +01:00
Houtan Bastani
0406a2ae15
handle zeroed out equations in SUR
2019-01-21 15:57:11 +01:00
Houtan Bastani
875381379f
sur: fix bug in creation of SUR matrices; handle random walk equation regardless of order in model equations
2019-01-18 15:07:24 +01:00
Houtan Bastani
cf0d8f319e
remove extra whitespace
2019-01-18 14:09:40 +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
4c133ac23a
olsgibbs: small fixes
2019-01-16 14:53:22 +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
ee8e8c4282
small simplification
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
bb9418a473
dyn_ols: only one output from function, remove varargout
2019-01-16 14:53:21 +01:00
Houtan Bastani
03eaac8b6d
make plot_contributions use get_ast_jsonmodel
2019-01-16 14:53:21 +01:00
Houtan Bastani
9a61c57102
remove functions that are no longer used
2019-01-16 14:53:21 +01:00
Houtan Bastani
f755cfdcd4
surgibbs: small fixes
2019-01-16 14:53:21 +01:00
Houtan Bastani
3247b1aa02
pooled_fgls: fix and update
2019-01-16 14:53:21 +01:00
Houtan Bastani
e4dc7c403e
parse residual information
2019-01-16 14:53:21 +01:00
Houtan Bastani
72081e640e
pooled_ols: fix dates
2019-01-16 14:53:20 +01:00
Houtan Bastani
efe0a15e0e
comment out code
2019-01-16 14:53:20 +01:00
Houtan Bastani
9ed97b88c1
account for potentially differing number of observations per equation when creating SUR matrices
2019-01-16 14:53:20 +01:00
Houtan Bastani
a7181a8151
fix common parsing function to impose same dates per equation
2019-01-16 14:53:20 +01:00
Houtan Bastani
3427d93c09
add comment to function
2019-01-16 14:53:20 +01:00
Houtan Bastani
5d80fc903b
pooled_ols: fix up and use common parsing
2019-01-16 14:53:20 +01:00
Houtan Bastani
1e41235b6b
common parsing: small fixes
2019-01-16 14:53:19 +01:00
Houtan Bastani
934a22c3a7
sur: small fixes
2019-01-16 14:53:19 +01:00
Houtan Bastani
ef391b1304
surgibbs: fix up and make work with sur changes
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
d8f26525b0
olsgibbs: fix up and use common parsing functions
2019-01-16 14:53:19 +01:00
Houtan Bastani
a477075825
ols: further simplifications
2019-01-16 14:53:19 +01:00
Houtan Bastani
a35fd291c5
ols: move json file parsing to a separate file
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
Houtan Bastani
093dd493d8
ols: catch unexpected case
2019-01-16 14:53:18 +01:00
Houtan Bastani
7d35cb5c5a
fix typo
2019-01-14 15:02:32 +01:00
Houtan Bastani
e8333421e7
remove unnecessary file
2019-01-10 10:44:19 +01:00
Stéphane Adjemia (Scylla)
3bc6b34161
Bug fix.
...
Be agnostic about the name of the PAC model.
2019-01-07 13:33:08 +01:00
Stéphane Adjemia (Scylla)
c829e7968d
If possible define boundaries for the share of optimizing agents in PAC/NLS.
...
The parameter is constrained to be in (0,1) for the following algorithms
- lsqnonlin (without Levenberg-Marquardt)
- fmincon
- annealing
- particleswarm
Other algorithms do not allow the definition of boundaries... We should add a
penality function to the objective for these algorithms.
2018-12-19 16:05:34 +01:00
Stéphane Adjemia (Scylla)
df57bf7eb9
Fixed bug.
...
PAC/NLS routine was only working if the PAC model was named `pacman`.
2018-12-19 16:00:57 +01:00