Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.46 KB

README.md

File metadata and controls

20 lines (12 loc) · 1.46 KB

Medical predictions (diabetes case)

This application converts a sequence of numbers into a sequence of states (state A and state B; in a sequence like "AABBABABBABBBBABA..."). The two states (noted A and B) are arranged in a 2x2 transition matrix and the transition probabilities are calculated for each element. The transition matrix is further used for a prediction in a Markov chain. For example, the application takes the following sequence of numbers:

159,82,187,194,179,115,197,102,105,104,95,126,74,143,143,127,98,70,92,170,168,182,149,85,137,100,170,180,61,177,86,195,198,182,150,197,103,103,186,100,96,196

The above sequence represents the glycemic values from a single individual who does not have diabetes, but a family predisposition for diabetes. Each number in the sequence represents a day. Thus, the sequence contains observations that extend over 42 days.

Screenshot

References

  • Paul A. Gagniuc. Markov chains: from theory to implementation and experimentation. Hoboken, NJ, John Wiley & Sons, USA, 2017, ISBN: 978-1-119-38755-8.