( ! ) Warning: Declaration of action_plugin_divalign2::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /net/www/gmelanco/dokuwiki/lib/plugins/divalign2/action.php on line 0
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.0003401936require_once( '/net/www/gmelanco/dokuwiki/inc/init.php' ).../doku.php:34
30.0077480544Doku_Event_Handler->__construct( ).../init.php:216
40.0115571928plugin_load( ).../events.php:164
50.0115571928Doku_Plugin_Controller->load( ).../pluginutils.php:45
60.0115571976class_exists ( ).../plugincontroller.class.php:95
70.0116571976spl_autoload_call ( ).../plugincontroller.class.php:95
80.0116571976load_autoload( ).../plugincontroller.class.php:95

( ! ) Warning: Declaration of syntax_plugin_divalign2_common::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php on line 28
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.0003401936require_once( '/net/www/gmelanco/dokuwiki/inc/init.php' ).../doku.php:34
30.0077480544Doku_Event_Handler->__construct( ).../init.php:216
40.0115571928plugin_load( ).../events.php:164
50.0115571928Doku_Plugin_Controller->load( ).../pluginutils.php:45
60.0115571976class_exists ( ).../plugincontroller.class.php:95
70.0116571976spl_autoload_call ( ).../plugincontroller.class.php:95
80.0116571976load_autoload( ).../plugincontroller.class.php:95
90.0118574520require( '/net/www/gmelanco/dokuwiki/lib/plugins/divalign2/action.php' ).../load.php:140
100.0118575112require_once( '/net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php' ).../action.php:12

( ! ) Warning: Declaration of syntax_plugin_divalign2_common::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php on line 28
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.0003401936require_once( '/net/www/gmelanco/dokuwiki/inc/init.php' ).../doku.php:34
30.0077480544Doku_Event_Handler->__construct( ).../init.php:216
40.0115571928plugin_load( ).../events.php:164
50.0115571928Doku_Plugin_Controller->load( ).../pluginutils.php:45
60.0115571976class_exists ( ).../plugincontroller.class.php:95
70.0116571976spl_autoload_call ( ).../plugincontroller.class.php:95
80.0116571976load_autoload( ).../plugincontroller.class.php:95
90.0118574520require( '/net/www/gmelanco/dokuwiki/lib/plugins/divalign2/action.php' ).../load.php:140
100.0118575112require_once( '/net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php' ).../action.php:12

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php:28) in /net/www/gmelanco/dokuwiki/inc/auth.php on line 495
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.0003401936require_once( '/net/www/gmelanco/dokuwiki/inc/init.php' ).../doku.php:34
30.0152737648auth_setup( ).../init.php:224
40.0161749504trigger_event( ).../auth.php:109
50.0161749664Doku_Event->trigger( ).../events.php:238
60.0161749664auth_login_wrapper( ).../events.php:111
70.0161749664auth_login( ).../auth.php:177
80.0162749688auth_logoff( ).../auth.php:265
90.0162749688setcookie ( ).../auth.php:495

( ! ) Warning: preg_match(): Compilation failed: invalid range in character class at offset 5073 in /net/www/gmelanco/dokuwiki/inc/parser/lexer.php on line 118
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.0184753200pageinfo( ).../doku.php:91
30.0259755864p_get_metadata( ).../common.php:245
40.0567838784p_render_metadata( ).../parserutils.php:270
50.0567839744p_cached_instructions( ).../parserutils.php:480
60.0704844808p_get_instructions( ).../parserutils.php:167
70.1162977336Doku_Parser->parse( ).../parserutils.php:205
80.16961361184Doku_Lexer->parse( ).../parser.php:120
90.16961361208Doku_Lexer->_reduce( ).../lexer.php:407
100.16971361232Doku_LexerParallelRegex->split( ).../lexer.php:553
110.17601375560preg_match ( ).../lexer.php:118
A PCRE internal error occured. This might be caused by a faulty plugin

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php:28) in /net/www/gmelanco/dokuwiki/inc/actions.php on line 210
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.24491460920act_dispatch( ).../doku.php:124
30.24511462096trigger_event( ).../actions.php:197
40.24511462256Doku_Event->trigger( ).../events.php:238
50.24511462256act_sendheaders( ).../events.php:111
60.24511462256header ( ).../actions.php:210

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /net/www/gmelanco/dokuwiki/lib/plugins/divalign2/common.php:28) in /net/www/gmelanco/dokuwiki/lib/tpl/dokuwiki/main.php on line 12
Call Stack
#TimeMemoryFunctionLocation
10.0002400576{main}( ).../doku.php:0
20.24491460920act_dispatch( ).../doku.php:124
30.24531463472include( '/net/www/gmelanco/dokuwiki/lib/tpl/dokuwiki/main.php' ).../actions.php:199
40.24531463472header ( ).../main.php:12
miage_solution:solution_kodja_markov_2_etats [Guy Melançon - Enseignement]

User Tools

Site Tools


Sidebar

* [[http://www.labri.fr/perso/melancon|Me as a researcher]] --- * [[start|Home]] * [[proj_techno:start|Projets technologiques - Licence 3 Informatique]] 4TIN601U * [[proj_CMI_L2:start|Projet de programmation - CMI ISI]] 4TCM401U * [[MIAGE:processus_stoch_simulation|Processus stochastiques et simulation - MIAGE et e-MIAGE]] 4TYE814U / 4TYE808U ---- * **Fête de la Science** - [[mathc2+:analyse|"Analyse de réseau appliquée aux réseau sociaux"]] ---- * Master U de Bx * [[http://www.labri.fr/perso/melancon/Visual_Analytics_Course/|Visual Analytics]] * [[e-miage_ubx_i|e-MIAGE U de Bx]] * [[estia:estia|ESTIA DataViz / Data Science]] * [[Enseignements passés]] ---- * [[http://www.labri.fr/perso/melancon|Research]] ---- * [[admin:Site admin]]

miage_solution:solution_kodja_markov_2_etats

====== Master 4TYE814U/4TYE808U MIAGE & e-MIAGE -- Processus stochastiques et simulation ====== ===== Séance de travaux dirigé ===== ==== Exercice ==== On revient à la chaîne de Markov à deux états de la section précédente. * Calculez: $$ P(X_1 = 0 | X_0 = 0, X_2 = 0) = \frac{(1-p)^2}{(1-p)^2 + pq} $$ ---- On reprend la définition de la probabilité conditionnelle: $$ P(X_1 = 0 | X_0 = 0, X_2 = 0) = \frac{P(X_1 = 0 \cap X_0 = 0 \cap X_2 = 0)}{P(X_0 = 0 \cap X_2 = 0)} $$ et on utilise une propriété du calcul des probabilité, à savoir que $$ P(X_0 = 0 \cap X_2 = 0) = P(X_0 = 0 \cap X_1 = 0 \cap X_2 = 0) + P(X_0 = 0 \cap X_1 = 1 \cap X_2 = 0) $$ Du coup, l'expression à évaluer est égale à: $$ P(X_1 = 0 | X_0 = 0, X_2 = 0) = \frac{P(X_1 = 0 \cap X_0 = 0 \cap X_2 = 0)}{P(X_0 = 0 \cap X_1 = 0 \cap X_2 = 0) + P(X_0 = 0 \cap X_1 = 1 \cap X_2 = 0)} $$ Or, de l'exercice précédent on trouve que: $$ P(X_2 = 0 \cap X_1 = 0 \cap X_0 = 0) = P(X_2 = 0 | X_1 = 0) P(X_1 = 0 | X_0 = 0) P(X_0 = 0) $$ $$ P(X_2 = 0 \cap X_0 = 1 \cap X_0 = 0) = P(X_2 = 0 | X_1 = 1) P(X_1 = 1 | X_0 = 0) P(X_0 = 0) $$ On trouve donc: $$ P(X_1 = 0 | X_0 = 0, X_2 = 0) $$ $$ = \frac{P(X_2 = 0 | X_1 = 0) P(X_1 = 0 | X_0 = 0) P(X_0 = 0)}{P(X_2 = 0 | X_1 = 0) P(X_1 = 0 | X_0 = 0) P(X_0 = 0) + P(X_2 = 0 | X_1 = 1) P(X_1 = 1 | X_0 = 0) P(X_0 = 0)} $$ $$ = \frac{P(X_2 = 0 | X_1 = 0) P(X_1 = 0 | X_0 = 0)}{P(X_2 = 0 | X_1 = 0) P(X_1 = 0 | X_0 = 0) + P(X_2 = 0 | X_1 = 1) P(X_1 = 1 | X_0 = 0)} $$ (on simplifie le terme $P(X_0 = 0)$ présent partout). Ne reste plus qu'à substituer les valeurs $P(X_2 = 0 | X_1 = 0) = P(X_1 = 0 | X_0 = 0) = (1-p)$, $P(X_2 = 0 | X_1 = 1) = p$ et $P(X_1 = 1 | X_0 = 0) = q$. --- [[miage:td_analytique|Retourner au TD]]

miage_solution/solution_kodja_markov_2_etats.txt · Last modified: 2018/01/21 20:13 by melancon