GMS:Vertical Markov Chain: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary Tag: Manual revert |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 31: | Line 31: | ||
}}</ref></div> | }}</ref></div> | ||
where ''x'' is a spatial location, ''h'' is the lag (separation vector), and ''j,k'' denote materials. The lag is defined by the Lag spacing item in the upper left corner of the ''Vertical (Z) Markov Chains'' dialog. The curve shown with the solid line is called a “Markov Chain”. The Markov Chains are used to formulate the equations used by T-PROGS to generate the multiple material sets during the simulation stage. The objective of this stage of the analysis is to fit the Markov Chain curves as accurately as possible to the measured transition probability curves. This process is similar to fitting a model variogram to an experimental variogram in a kriging exercise. The transition rates are adjusted to ensure a good fit between the Markov Chain model and the observed transition probability data. | where ''x'' is a spatial location, ''h'' is the lag (separation vector), and ''j,k'' denote materials. The lag is defined by the Lag spacing item in the upper left corner of the ''Vertical (Z) Markov Chains'' dialog. The curve shown with the solid line is called a “Markov Chain”. The Markov Chains are used to formulate the equations used by T-PROGS to generate the multiple material sets during the simulation stage. The objective of this stage of the analysis is to fit the Markov Chain curves as accurately as possible to the measured transition probability curves. This process is similar to fitting a model variogram to an experimental variogram in a kriging exercise. The transition rates are adjusted to ensure a good fit between the Markov Chain model and the observed transition probability data. | ||
Mathematically, a Markov Chain model applied to one-dimensional categorical data in a direction Φ assumes a matrix exponential form: | |||
:<math>T(h_{\Phi}) = exp(R_{\Phi}h_{\Phi}) </math> | |||
where Φ denotes a lag in the direction h<sub>Φ</sub>, and R<sub>Φ</sub> denotes a transition rate matrix | |||
:<math> | |||
R_{\Phi}={\begin{bmatrix} | |||
r_{11,\Phi} & \cdots & r_{1k,\Phi} \\ | |||
\vdots & \ddots & \vdots \\ | |||
r_{k1,\Phi} & \cdots & r_{kk,\Phi} | |||
\end{bmatrix}} | |||
</math> | |||
with entries r''<sub>jk,Φ</sub>'' representing the rate of change from category j to category k (conditional to the presence of j) per unit length in the direction Φ. The transition rates are adjusted to ensure a good fit between the Markov Chain model and the observed transition probability data. | |||
It should be noted that the self-transitional curves on the diagonal start at a probability of 1.0 and decrease with distance and the off-diagonal curves start at zero probability and increase with distance. In both cases, the curves eventually flatten out at some distance. The probability corresponding to the flat part of the curve represents the mean proportion of the material. All curves on a particular column should flatten out to the same proportion. The proportions are displayed in the lower left corner of the dialog. The point where a tangent line from the early part of the curves on the diagonal intersects the horizontal (lag distance) axis on each curve represents the mean lens length for the material. The mean lens lengths are shown just to the right of the mean proportions in the lower left part of the dialog. The slope at the beginning of each of the Markov Chains represents the transition rate. Together, the proportions, lens lengths, and transition rates define the Markov Chains. | It should be noted that the self-transitional curves on the diagonal start at a probability of 1.0 and decrease with distance and the off-diagonal curves start at zero probability and increase with distance. In both cases, the curves eventually flatten out at some distance. The probability corresponding to the flat part of the curve represents the mean proportion of the material. All curves on a particular column should flatten out to the same proportion. The proportions are displayed in the lower left corner of the dialog. The point where a tangent line from the early part of the curves on the diagonal intersects the horizontal (lag distance) axis on each curve represents the mean lens length for the material. The mean lens lengths are shown just to the right of the mean proportions in the lower left part of the dialog. The slope at the beginning of each of the Markov Chains represents the transition rate. Together, the proportions, lens lengths, and transition rates define the Markov Chains. | ||
Line 60: | Line 74: | ||
===Edit the transition rates=== | ===Edit the transition rates=== | ||
With this option one can directly edit the array of transition rates that are listed in the Transition Rates section. This option is useful after selecting the Compute button and running GAMEAS because slopes can be inferred from the measured data curves. GAMEAS outputs transition probability curves. Transition rates used in this option correspond to the slope of the transition probability curve at a lag = 0. When reading the output from GAMEAS, the transition probability rates are interpolated as | With this option one can directly edit the array of transition rates that are listed in the Transition Rates section. This option is useful after selecting the Compute button and running GAMEAS because slopes can be inferred from the measured data curves. GAMEAS outputs transition probability curves. Transition rates used in this option correspond to the slope of the transition probability curve at a lag = 0. When reading the output from GAMEAS, the transition probability rates are interpolated as: | ||
<!-- | <!--<math>\ r_{jk,\phi}=0.57*r1_{jk,\phi}+0.29*r2_{jk,\phi}+0.14*r3_{jk,\phi}</math>--> | ||
<math>\ r_{jk,\phi}=0.57*r1_{jk,\phi}+0.29*r2_{jk,\phi}+0.14*r3_{jk,\phi}</math>--> | :[[Image:verticalchain2.jpg]] | ||
[[Image:verticalchain2.jpg]] | |||
where ''r1'', ''r2'', and ''r3'' are the slopes defined by a straight line from the origin out to lag1, lag2, and lag3 respectively. As the lag approaches zero, more weight should be given to the corresponding slope. Hence, a weight of 0.57, 0.29, and 0.14 were assigned to ''r1'', ''r2'', and ''r3'' respectively. Once the slopes are computed for each entry in the matrix, the mean lengths for each category are computed by | where ''r1'', ''r2'', and ''r3'' are the slopes defined by a straight line from the origin out to lag1, lag2, and lag3 respectively. As the lag approaches zero, more weight should be given to the corresponding slope. Hence, a weight of 0.57, 0.29, and 0.14 were assigned to ''r1'', ''r2'', and ''r3'' respectively. Once the slopes are computed for each entry in the matrix, the mean lengths for each category are computed by: | ||
<!--[[Image:t-progs_eq3.png]] | <!--[[Image:t-progs_eq3.png]] | ||
<math>\bar{L}_{j,\phi}=\frac{-1}{r_{jj,\phi}}</math>--> | <math>\bar{L}_{j,\phi}=\frac{-1}{r_{jj,\phi}}</math>--> | ||
[[Image:verticalchain3.jpg]] | :[[Image:verticalchain3.jpg]] | ||
Regardless of which ''Markov Chain'' option is selected, the background row and column, Sand_w/_fines, is dimmed because the values in this row and column are automatically computed from the remaining entries by probability constraints of the background material. In addition, with this option selected, the ''Lens Length'' column is also dimmed because the lens lengths are automatically computed and updated from the diagonal terms in the Transition Rates spreadsheet. The diagonal terms of the ''Transition Rates'' spreadsheet must be negative to obey probability rules. With this data, this method produces an accurate fit between the measured (green) and the Markov chain (blue) curves at small lag spaces. | Regardless of which ''Markov Chain'' option is selected, the background row and column, Sand_w/_fines, is dimmed because the values in this row and column are automatically computed from the remaining entries by probability constraints of the background material. In addition, with this option selected, the ''Lens Length'' column is also dimmed because the lens lengths are automatically computed and updated from the diagonal terms in the Transition Rates spreadsheet. The diagonal terms of the ''Transition Rates'' spreadsheet must be negative to obey probability rules. With this data, this method produces an accurate fit between the measured (green) and the Markov chain (blue) curves at small lag spaces. |