Difference between revisions of "User:Ulf Rehmann/sandbox statprob/"
Ulf Rehmann (talk | contribs) (Created page with "\begin{table} <!-- \noindent --> '''Table 1.''' A class of stationary correlation models for longitudinal count data and basic properties. <center> \begin{array}{ccc} Model &...") |
Ulf Rehmann (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | \ | + | This code produces a flaw caused by the nested array in the third row/third column, which seems to be caused |
− | + | by the encoding for that nested array. Leaving out these \$..\$ pair there, [[http://ada00.math.uni-bielefeld.de/mediawiki-1.18.1/index.php?title=User:Ulf_Rehmann/nested_array which should work, see implementation here]] | |
+ | |||
'''Table 1.''' A class of stationary correlation models for longitudinal count data | '''Table 1.''' A class of stationary correlation models for longitudinal count data | ||
and basic properties. | and basic properties. | ||
<center> | <center> | ||
− | \begin{array}{ccc} | + | $$\begin{array}{ccc} |
− | Model & Dynamic relationship & Mean-variance \\ | + | \text{Model} & \text{Dynamic relationship} & \text{Mean-variance} \\ |
− | && \& Correlations \\ \hline | + | && \text{\& Correlations} \\ \hline |
AR(1) & y_{it}=\rho * y_{i,t-1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ | AR(1) & y_{it}=\rho * y_{i,t-1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ | ||
& y_{i1}\sim Poi(\mu_{i\cdot}) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ | & y_{i1}\sim Poi(\mu_{i\cdot}) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ | ||
Line 14: | Line 15: | ||
& y_{i1}=d_{i1} \sim Poi(\mu_{i\cdot}/(1+\rho)) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ | & y_{i1}=d_{i1} \sim Poi(\mu_{i\cdot}/(1+\rho)) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ | ||
& d_{it} \sim P(\mu_{i\cdot}/(1+\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ | & d_{it} \sim P(\mu_{i\cdot}/(1+\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ | ||
− | && | + | && = |
\left\{ \begin{array}{ll} | \left\{ \begin{array}{ll} | ||
\frac{\rho}{1+\rho} & \mbox{for } \ell=1\\ | \frac{\rho}{1+\rho} & \mbox{for } \ell=1\\ | ||
0 & \mbox{otherwise}, | 0 & \mbox{otherwise}, | ||
− | \end{array} \right. | + | \end{array} \right. |
\\ \hline | \\ \hline | ||
EQC & y_{it}=\rho * y_{i1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ | EQC & y_{it}=\rho * y_{i1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ | ||
Line 24: | Line 25: | ||
& d_{it} \sim P(\mu_{i\cdot}(1-\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ | & d_{it} \sim P(\mu_{i\cdot}(1-\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ | ||
&& =\rho \\ \hline | && =\rho \\ \hline | ||
− | \end{array} | + | \end{array}$$ |
</center> | </center> | ||
− |
Revision as of 11:06, 12 March 2015
This code produces a flaw caused by the nested array in the third row/third column, which seems to be caused by the encoding for that nested array. Leaving out these \$..\$ pair there, [which should work, see implementation here]
Table 1. A class of stationary correlation models for longitudinal count data and basic properties.
$$\begin{array}{ccc} \text{Model} & \text{Dynamic relationship} & \text{Mean-variance} \\ && \text{\& Correlations} \\ \hline AR(1) & y_{it}=\rho * y_{i,t-1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ & y_{i1}\sim Poi(\mu_{i\cdot}) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ & d_{it} \sim P(\mu_{i\cdot}(1-\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ && =\rho^{\ell} \\ \hline MA(1) & y_{it}=\rho * d_{i,t-1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ & y_{i1}=d_{i1} \sim Poi(\mu_{i\cdot}/(1+\rho)) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ & d_{it} \sim P(\mu_{i\cdot}/(1+\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ && = \left\{ \begin{array}{ll} \frac{\rho}{1+\rho} & \mbox{for } \ell=1\\ 0 & \mbox{otherwise}, \end{array} \right. \\ \hline EQC & y_{it}=\rho * y_{i1}+d_{it}, t=2,\ldots & E[Y_{it}]=\mu_{i\cdot} \\ & y_{i1}\sim Poi(\mu_{i\cdot}) & \mbox{var}[Y_{it}]=\mu_{i\cdot} \\ & d_{it} \sim P(\mu_{i\cdot}(1-\rho )), t=2,\ldots & \mbox{corr}[Y_{it},Y_{i,t+\ell}]=\rho_{\ell} \\ && =\rho \\ \hline \end{array}$$
Ulf Rehmann/sandbox statprob/. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Ulf_Rehmann/sandbox_statprob/&oldid=36325