GMS:Vertical Markov Chain: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary Tag: Manual revert |
|||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{T-PROGS Links}} | {{T-PROGS Links}} | ||
A dialog assists | A dialog assists in defining the vertical Markov chains. This dialog is composed of three main sections: | ||
*Plot section | *Plot section | ||
Line 6: | Line 6: | ||
*Spreadsheet section | *Spreadsheet section | ||
All three sections enable | All three sections enable developing a 1-D Markov chain in the vertical direction. | ||
[[Image:markov_chains_z.png|thumb| | [[Image:markov_chains_z.png|thumb|500px|Vertical Markov Chain dialog.]] | ||
==Plot section== | ==Plot section== | ||
Line 20: | Line 20: | ||
<!--[[Image:t-progs_eq1.png]] | <!--[[Image:t-progs_eq1.png]] | ||
<math>t_{jk}(\mathbf{h})= \text{Pr}\{k \text{ occurs at } \mathbf{x} + \mathbf{h}\ |\ j \text{ occurs at } \mathbf{x}\}</math>--> | <math>t_{jk}(\mathbf{h})= \text{Pr}\{k \text{ occurs at } \mathbf{x} + \mathbf{h}\ |\ j \text{ occurs at } \mathbf{x}\}</math>--> | ||
[[image:tprogseq1.jpg]]<div style="float: right;"><ref> | :[[image:tprogseq1.jpg]]<div style="float: right;"><ref> | ||
{{citation | {{citation | ||
|last=Carle | |last=Carle | ||
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 36: | Line 50: | ||
Several methods are provided for fitting the Markov Chains to the measured transition probability curves. These methods are listed in the section of the dialog titled ''Markov Chains''. By default, GMS automatically makes an attempt to fit the curves using the '''Edit maximum entropy factors''' option. In many cases, this fit is sufficiently accurate and we can proceed to the next step. However, it is often useful to explore the other options for fitting the curves. | Several methods are provided for fitting the Markov Chains to the measured transition probability curves. These methods are listed in the section of the dialog titled ''Markov Chains''. By default, GMS automatically makes an attempt to fit the curves using the '''Edit maximum entropy factors''' option. In many cases, this fit is sufficiently accurate and we can proceed to the next step. However, it is often useful to explore the other options for fitting the curves. | ||
If boreholes exist in the model, the '''Compute...''' button becomes undimmed. When | If boreholes exist in the model, the '''Compute...''' button becomes undimmed. When clicking the '''Compute...''' button, the parameter files required for running GAMEAS are generated and GAMEAS is executed. | ||
===GAMEAS=== | ===GAMEAS=== | ||
[[Image:gameas.png|thumb|400px|GAMEAS executable inside GMS interface.]] | [[Image:gameas.png|thumb|400px|GAMEAS executable inside GMS interface.]] | ||
GAMEAS is an algorithm that processes borehole data and determines geologic characteristics such as material proportions and transition probability curves in a given direction. A separate window displays the details of the GAMEAS run, which allows | GAMEAS is an algorithm that processes borehole data and determines geologic characteristics such as material proportions and transition probability curves in a given direction. A separate window displays the details of the GAMEAS run, which allows monitoring the output from the GAMEAS simulation. | ||
When GAMEAS completes a successful run, the results, including the material proportions and transition probability curves from the measured data, are read into the corresponding data fields in the ''Vertical Markov Chain'' dialog. Furthermore, the transition rates which correspond to the slope of the transition probability curves when the lag equals 0 are interpolated from the measured data curves. In addition to running GAMEAS, the code parses through the borehole data and calculates the embedded transition probabilities and frequencies. These values are stored in arrays that correspond to options #2 and #3 in the ''Markov Chains'' section of the dialog. | When GAMEAS completes a successful run, the results, including the material proportions and transition probability curves from the measured data, are read into the corresponding data fields in the ''Vertical Markov Chain'' dialog. Furthermore, the transition rates which correspond to the slope of the transition probability curves when the lag equals 0 are interpolated from the measured data curves. In addition to running GAMEAS, the code parses through the borehole data and calculates the embedded transition probabilities and frequencies. These values are stored in arrays that correspond to options #2 and #3 in the ''Markov Chains'' section of the dialog. | ||
Line 49: | Line 63: | ||
==Markov chains section== | ==Markov chains section== | ||
There are five alternate methods of generating Markov chains in this section (area in the ''Vertical Markov Chain'' dialog). These methods are in a radio-button configuration to allow | There are five alternate methods of generating Markov chains in this section (area in the ''Vertical Markov Chain'' dialog). These methods are in a radio-button configuration to allow changing from one method to another. Each of these five methods will be described. | ||
*[[GMS:Vertical Markov Chain#Edit the transition rates|Edit the transition rates]] | *[[GMS:Vertical Markov Chain#Edit the transition rates|Edit the transition rates]] | ||
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. | ||
Line 92: | Line 105: | ||
=== Fit curves to a discrete lag === | === Fit curves to a discrete lag === | ||
This option is only undimmed if a transition probability curve from measured data exists in memory. When this option is selected, the ''Lag #'' edit field is undimmed | This option is only undimmed if a transition probability curve from measured data exists in memory. When this option is selected, the ''Lag #'' edit field is undimmed to allow entering the discrete lag the curves will be fit to. | ||
This option produces Markov chains that are computed from the measured transition rates produced by GAMEAS. GAMEAS computes a set of transition probabilities at each lag | This option produces Markov chains that are computed from the measured transition rates produced by GAMEAS. GAMEAS computes a set of transition probabilities at each specified lag. This option computes an array of transition rates from the slope of the curves generated by GAMEAS (green). The transition rates correlate to the shape of the curve from the origin to the specified lag number in the ''Lag #'' edit field. Therefore, the cells of all the spreadsheets in the dialog are dimmed because the values are inherited from the measured curves (green). The values in the spreadsheets change depending on the lag # entered. By adjusting the lag interval, an excellent fit can often be obtained. | ||
== Spreadsheet section == | == Spreadsheet section == | ||
Line 106: | Line 119: | ||
{{Navbox GMS}} | {{Navbox GMS}} | ||
[[Category:T-PROGS]] | [[Category:T-PROGS]] | ||
[[Category: | [[Category:T-PROGS Dialogs]] | ||
[[Category:Equations|V]] | [[Category:Equations|V]] | ||
[[Category:External Links]] |