Changeset 8d891ee in tol
- Timestamp:
- Nov 4, 2008, 3:39:20 PM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- f9045cd
- Parents:
- 1fa4a38
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/db_bsrhlm_mysql.sql
r1fa4a38 r8d891ee 14 14 same or another data base server or even in other type of data storement 15 15 system (BDT, OIS, ...). 16 16 17 17 ///////////////////////////////////////////////////////////////////////////// */ 18 18 … … 43 43 ALTER TABLE `bsrhlm_v_obs_transferFunction` DROP FOREIGN KEY `FK_bsrhlm_v_obs_transferFunction_model_session_node`; 44 44 ALTER TABLE `bsrhlm_v_obs_input` DROP FOREIGN KEY `FK_bsrhlm_v_obs_input_model_session_node`; 45 ALTER TABLE `bsrhlm_v_obs_sigma_block` DROP FOREIGN KEY `FK_bsrhlm_v_obs_sigma_block_model_session_node`; 45 46 ALTER TABLE `bsrhlm_v_obs_arima_block` DROP FOREIGN KEY `FK_bsrhlm_v_arima_block_model_session_node`; 46 47 ALTER TABLE `bsrhlm_v_obs_output` DROP KEY `UK_bsrhlm_v_obs_output_model_session_node_series`; … … 73 74 DROP TABLE IF EXISTS `bsrhlm_v_obs_transferFunction`; 74 75 DROP TABLE IF EXISTS `bsrhlm_v_obs_input`; 76 DROP TABLE IF EXISTS `bsrhlm_v_obs_sigma_block`; 75 77 DROP TABLE IF EXISTS `bsrhlm_v_obs_arima_block`; 76 78 DROP TABLE IF EXISTS `bsrhlm_v_obs_output`; … … 216 218 217 219 /* ///////////////////////////////////////////////////////////////////////////// 218 The user must insert a register for each distinct application of a session tag 220 The user must insert a register for each distinct application of a session tag 219 221 over a model 220 222 ///////////////////////////////////////////////////////////////////////////// */ … … 258 260 This table is related to mixed nodes. 259 261 The user must insert a register for each variable of all gibbs blocks of all 260 nodes of each model-session. 262 nodes of each model-session. 261 263 ///////////////////////////////////////////////////////////////////////////// */ 262 264 CREATE TABLE `bsrhlm_v_mix_parameter` ( … … 283 285 /* ///////////////////////////////////////////////////////////////////////////// 284 286 This table is related to mixed nodes. 285 The user must insert a register for each non linear filter. 287 The user must insert a register for each non linear filter. 286 288 ///////////////////////////////////////////////////////////////////////////// */ 287 289 CREATE TABLE `bsrhlm_v_mix_non_lin_filter` ( … … 357 359 In this table id_node is never the MIXTURE but just one OBS or LAT node where 358 360 the parameter comes from. 359 The user must insert a register for each parameter affected by each 360 constraining inequation. Remeber that if 361 constraint_border.id_node<>'MIXTURE' then 362 constraint_border.id_node=constraint_lin_cmb.id_node for all 361 The user must insert a register for each parameter affected by each 362 constraining inequation. Remeber that if 363 constraint_border.id_node<>'MIXTURE' then 364 constraint_border.id_node=constraint_lin_cmb.id_node for all 363 365 constraint_border.nu_inequation=constraint_lin_cmb.nu_inequation 364 366 ///////////////////////////////////////////////////////////////////////////// */ … … 401 403 `dh_start` datetime NULL, 402 404 `dh_end` datetime NULL, 405 `vl_sigma` double NULL, 403 406 PRIMARY KEY (`id_model`,`id_session`,`id_node`), 404 407 CONSTRAINT `UK_bsrhlm_v_obs_output_model_session_node_series` … … 411 414 COMMENT='Stores observational output related information for each model-session'; 412 415 413 414 416 /* ///////////////////////////////////////////////////////////////////////////// 415 417 This table is related to observational nodes. 416 The user must insert a register for each ARIMA factor attached to an output 418 The user must insert a register for each latent node of each model-session. 419 ///////////////////////////////////////////////////////////////////////////// */ 420 CREATE TABLE `bsrhlm_v_obs_sigma_block` ( 421 `id_model` varchar(64) NOT NULL, 422 `id_session` varchar(64) NOT NULL, 423 `id_node` varchar(64) NOT NULL, 424 `vl_sigma` double NULL, 425 PRIMARY KEY (`id_model`,`id_session`,`id_node`), 426 CONSTRAINT `FK_bsrhlm_v_obs_sigma_block_model_session_node` 427 FOREIGN KEY (`id_model`, `id_session`, `id_node`) 428 REFERENCES `bsrhlm_d_node` (`id_model`, `id_session`, `id_node`) 429 ON UPDATE CASCADE ON DELETE CASCADE 430 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 431 COMMENT='Stores sigma block information about observational nodes for each model-session. If sigma is null then it will be simulated by Gibbs method'; 432 433 /* ///////////////////////////////////////////////////////////////////////////// 434 This table is related to observational nodes. 435 The user must insert a register for each ARIMA factor attached to an output 417 436 serie at observation level of each model-session 418 437 AR and MA polinomial are given as text with maximum degree 2 in the standard way … … 443 462 /* ///////////////////////////////////////////////////////////////////////////// 444 463 This table is related to observational nodes. 445 The user must insert a register for each input serie of each observation node of 464 The user must insert a register for each input serie of each observation node of 446 465 each model-session. 447 466 Pair (id_node, id_series) will be used by a NameBlock series.handler to return … … 470 489 /* ///////////////////////////////////////////////////////////////////////////// 471 490 This table is related to observational nodes. 472 The user must insert a register for each transfer function 491 The user must insert a register for each transfer function 473 492 omega(B)*y = delta(B)*x 474 493 of each observation node of each model-session. … … 483 502 `id_transferFunction` varchar(64) NOT NULL, 484 503 `te_omega` varchar(1020) NOT NULL, 485 `te_delta` varchar(1020) NOT NULL, 504 `te_delta` varchar(1020) NOT NULL, 486 505 `id_series` varchar(64) NOT NULL, 487 506 `vl_mis_pri_sig_fac` double NULL, … … 516 535 This table is related to latent nodes. 517 536 The user must insert a register for each regression equation of each latent node 518 of each model-session. Each equation is attached to a linear combination of 519 child parameters at left side of equal sign, wich will be defined in 520 bsrhlm_v_lat_output; and other linear combination of father parameters at right 537 of each model-session. Each equation is attached to a linear combination of 538 child parameters at left side of equal sign, wich will be defined in 539 bsrhlm_v_lat_output; and other linear combination of father parameters at right 521 540 side of equal sign, wich will be defined in bsrhlm_v_lat_input. 522 541 ///////////////////////////////////////////////////////////////////////////// */
Note: See TracChangeset
for help on using the changeset viewer.
