Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/inc/init.php on line 563
Warning: Declaration of action_plugin_asciimath::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/asciimath/action.php on line 39
Warning: Declaration of action_plugin_indexmenu::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/indexmenu/action.php on line 18
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/inc/parser/handler.php on line 1458
Warning: Declaration of syntax_plugin_jsmath::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/jsmath/syntax.php on line 90
Warning: Declaration of syntax_plugin_jsmath::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/jsmath/syntax.php on line 130 physics:stat [Ichikawa's wiki]
Warning: Declaration of syntax_plugin_math::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/math/syntax.php on line 105
Warning: Declaration of syntax_plugin_math::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/math/syntax.php on line 129
Warning: Declaration of syntax_plugin_indexmenu_tag::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/indexmenu/syntax/tag.php on line 43
Warning: Declaration of syntax_plugin_indexmenu_tag::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/indexmenu/syntax/tag.php on line 51
Warning: Declaration of syntax_plugin_indexmenu_indexmenu::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/indexmenu/syntax/indexmenu.php on line 58
Warning: Declaration of syntax_plugin_indexmenu_indexmenu::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/lib/plugins/indexmenu/syntax/indexmenu.php on line 209
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4015 in /mnt/hep_web/hep_web/member/ichikawa/dokuwiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin
====== 統計についてメモ ======
===== Covariance Matrix and PDF =====
==== Covariance Matrix ====
$
X=\pmatrix{
X_1\\
X_2\\
.\\
.\\
.\\
X_n\\}
$is a set of observables. $\mu_i$ is a mean of $X_i$.
Covariance matrix is defined as
<jsmath>
\Sigma = \pmatrix{
<(X_1-\mu_1)(X_1-\mu_1)> & & <(X_1-\mu_1)(X_2-\mu_2)> & ... & <(X_1-\mu_1)(X_n-\mu_n)> & \\
<(X_2-\mu_2)(X_1-\mu_1)> & & <(X_2-\mu_2)(X_2-\mu_2)> & ... & <(X_2-\mu_2)(X_n-\mu_n)> & \\
.\\
.\\
.\\
<(X_n-\mu_n)(X_1-\mu_1)> & & <(X_n-\mu_n)(X_2-\mu_2)> & ... & <(X_n-\mu_n)(X_n-\mu_n)> & \\
}
</jsmath>\\
Note: diagonal term is equal to $\sigma_i^2$.\\
$\Sigma_{ij}>0$ : positive correlation.\\
$\Sigma_{ij}=0$ : no correlation.\\
$\Sigma_{ij}<0$ : negative correlation.\\
Correlation matrix is defined as
<jsmath>
\rho = (\rho_{ij}), \rho_{ij}=\frac{cov(X_i,X_j)}{\sigma_i \sigma_j}
</jsmath>\\
==== Probability Density Function w/ Covariance matrix====
<jsmath>
f(x_1,x_2,...,x_n)=\frac{1}{(2\pi)^{n/2}\sqrt{\det(\Sigma))}}\exp(-\frac{1}{2}(x_1-\mu_1,...,x_n-\mu_n)\Sigma^{^1}(x_1-\mu_1,...,x_n-\mu_n)^T)
</jsmath>\\
For two variable case,\\
<jsmath>
f(x,y)=\frac{1}{2\pi\sqrt{1-\rho}}\exp[-\frac{1}{2(1-\rho^2)}(\frac{(x-\mu_x)^2}{\sigma_x^2}-\frac{2\rho(x-\mu_x)(y-\mu_y)}{\sigma_x\sigma_y}+\frac{(y-\mu_y)^2}{\sigma_y^2})]
</jsmath>\\