Intro to Markov Chains & Transition Diagrams

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • Markov Chains or Markov Processes are an extremely powerful tool from probability and statistics. They represent a statistical process that happens over and over again, where we try to predict the future state of a system. A markov process is one where the probability of the future ONLY depends on the present state, and ignores the past entirely. This might seem like a big restriction, but what we gain is a lot of power in our computations. We will see how to come up with transition diagram to describe the probabilities of shifting between different states, and then do an example where we use a tree diagram to compute the probabilities two stages into the future. We finish with an example looking at bull and bear weeks in the stock market.
    Coming Soon: The follow up video covers using a Transition Matrix to easily compute probabilities multiple states in the future.
    0:00 Markov Example
    2:04 Definition
    3:02 Non-Markov Example
    4:06 Transition Diagram
    5:27 Stock Market Example
    COURSE PLAYLISTS:
    ►CALCULUS I: • Calculus I (Limits, De...
    ► CALCULUS II: • Calculus II (Integrati...
    ►MULTIVARIABLE CALCULUS (Calc III): • Calculus III: Multivar...
    ►DIFFERENTIAL EQUATIONS (Calc IV): • How to solve ODEs with...
    ►DISCRETE MATH: • Discrete Math (Full Co...
    ►LINEAR ALGEBRA: • Linear Algebra (Full C...
    OTHER PLAYLISTS:
    ► Learning Math Series
    • 5 Tips To Make Math Pr...
    ►Cool Math Series:
    • Cool Math Series
    BECOME A MEMBER:
    ►Join: / @drtrefor
    Special thanks to Imaginary Fan members Frank Dearr & Cameron Lowes for supporting this video.
    MATH BOOKS & MERCH I LOVE:
    ► My Amazon Affiliate Shop: www.amazon.com/shop/treforbazett
    SOCIALS:
    ►Twitter (math based): / treforbazett
    ►Instagram (photography based): / treforphotography

ความคิดเห็น • 107

  • @Darkev77
    @Darkev77 3 ปีที่แล้ว +47

    The most thorough and clear explanation ever. Can't wait for the next video!

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +5

      Thank you! Follow up video coming next week:)

  • @SAAARC
    @SAAARC 3 ปีที่แล้ว +21

    A subscription to your channel is the gift that keeps on giving.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +8

      Glad you're enjoying!

  • @thepresistence5935
    @thepresistence5935 2 ปีที่แล้ว +6

    Please don't go to MIT, Standford at all, be here. We need you.

  • @imdadood5705
    @imdadood5705 2 ปีที่แล้ว +2

    Very clear explanation with easy examples. Thank you!

  • @MrChinook1991
    @MrChinook1991 2 ปีที่แล้ว +8

    Very well explained mate. Videos like these are a great into to a statistical topic and is a great foundation to dive deeper into the math behind it

  • @mapmap123456
    @mapmap123456 ปีที่แล้ว

    one of the best explanations about Markov chains on youtube. thank you

  • @joevanderstelt8143
    @joevanderstelt8143 2 ปีที่แล้ว +1

    Subscribed to this channel after about 30 seconds.... amazing

  • @PrpleHatMan
    @PrpleHatMan ปีที่แล้ว +3

    A very well presented and insightful lesson.
    Thank you for the 2 part explanation!

  • @freedmoresidume
    @freedmoresidume 2 ปีที่แล้ว +1

    Crystal clear explanation , thank you Dr.

  • @bijanghofranian5782
    @bijanghofranian5782 3 ปีที่แล้ว +1

    I was searching for "Wiener-Lévy process which is also a Markov process" but luckily I ended up here, a wonderful serendipity! Thanks for the simple and concise explanation Dr. Trefor.

  • @ipshitaghosh2656
    @ipshitaghosh2656 3 ปีที่แล้ว +8

    Rare moments.. when you understand in the first go.

  • @catcen9631
    @catcen9631 2 ปีที่แล้ว +2

    incredible video with a super clear explanation!

  • @byronwilliams7977
    @byronwilliams7977 ปีที่แล้ว +2

    Love your videos man, keep up the great work. You and Presh Talwalker are the best.

  • @aqeelzeid24
    @aqeelzeid24 2 ปีที่แล้ว +1

    I watched around 5 videos , this explained it the best !! thanks alot

  • @paulkaranja9264
    @paulkaranja9264 4 หลายเดือนก่อน +4

    You just made my life better all the way in a small country found in Africa called Kenya. Thank you.

  • @MrBitviper
    @MrBitviper 11 หลายเดือนก่อน +2

    amazing explanation. you have a knack for making these difficult topics understandable
    thank you so much for this

    • @DrTrefor
      @DrTrefor  11 หลายเดือนก่อน +2

      Glad it was helpful!

  • @Big_Mo_Zak
    @Big_Mo_Zak 6 หลายเดือนก่อน

    Very well explained.thank you

  • @camsasuncion
    @camsasuncion 3 ปีที่แล้ว +1

    I really appreciate the clarity of the explanation. I am now a subscriber and a fan! Thank you.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Thanks for the sub!

  • @abdullahbinnaeem9502
    @abdullahbinnaeem9502 5 หลายเดือนก่อน

    Never seen such explanation before. Amazing Sir

  • @HA-zd5gx
    @HA-zd5gx 3 ปีที่แล้ว +1

    I'm happy tha I found this channel. thank you!

  • @sjchsbc
    @sjchsbc 3 ปีที่แล้ว +3

    Thank you for making this.

  • @maulikjadav9673
    @maulikjadav9673 2 ปีที่แล้ว +1

    Awesome explanation, Thank you sir. 👍

  • @genuinebombayite1966
    @genuinebombayite1966 3 ปีที่แล้ว +4

    This was such a wonderfully clear explanation. Thank you so much!

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +2

      Glad it was helpful!

    • @genuinebombayite1966
      @genuinebombayite1966 3 ปีที่แล้ว

      @@DrTrefor Not to get too greedy, but can you do one on Hidden Markov models? Thanks a bunch again!

  • @drachenschlachter6946
    @drachenschlachter6946 7 หลายเดือนก่อน

    A very good explanation!

  • @dimitrychi
    @dimitrychi 3 ปีที่แล้ว +1

    Perfect. Dr. Trefor you are the best!

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Thank you, glad you enjoyed!

  • @jesseluinstra1192
    @jesseluinstra1192 ปีที่แล้ว +1

    Thank you. This was a very good explanation

  • @thedigitalphysicist
    @thedigitalphysicist 2 ปีที่แล้ว +4

    A simple explanation of something that could be very complexly understood. Thank you, Dr. Bazett

  • @Shaunmcdonogh-shaunsurfing
    @Shaunmcdonogh-shaunsurfing ปีที่แล้ว

    Fantastic explanation

  • @eyakhamassi8748
    @eyakhamassi8748 ปีที่แล้ว

    Thank you soo much this is the best explanation ever❤❤❤

  • @priyankashaw3010
    @priyankashaw3010 3 ปีที่แล้ว +1

    really helped to understand this concept in the first go

  • @jenishghimire6678
    @jenishghimire6678 8 หลายเดือนก่อน

    So good way of explanation

  • @sanklink
    @sanklink 2 ปีที่แล้ว +1

    Awesome explanation!

  • @TheMostafa5000
    @TheMostafa5000 5 หลายเดือนก่อน

    amazing explanation.

  • @kaniki_the_problem
    @kaniki_the_problem 2 ปีที่แล้ว +1

    You a natural. Thanks , preparing for Risk Modeling and Survival analysis actuarial exam

  • @eleazertham5033
    @eleazertham5033 3 ปีที่แล้ว +1

    Thanks I needed this for my upcoming exams :-)

  • @imad_uddin
    @imad_uddin 2 ปีที่แล้ว +2

    This was strikingly clear and fresh. Loved it!

  • @randa_alwadi
    @randa_alwadi ปีที่แล้ว +1

    Your explanation is super!

  • @rashasulieman2525
    @rashasulieman2525 2 ปีที่แล้ว

    Wow! Just beautiful! Love way you explain things!

    • @DrTrefor
      @DrTrefor  2 ปีที่แล้ว +1

      Thank you so much!

  • @anishjoshi1999
    @anishjoshi1999 2 ปีที่แล้ว +1

    Thank you so much Doctor 😍

  • @satyambhardwaj2289
    @satyambhardwaj2289 3 ปีที่แล้ว +3

    absolute delight.. exactly at the time I wanted it for an AI implementation

  • @QuantiFaiPortfolio
    @QuantiFaiPortfolio 5 วันที่ผ่านมา

    Love this!!!

  • @peachiichaii6375
    @peachiichaii6375 2 ปีที่แล้ว

    oh my for this was so helpful thank you so much

  • @mcyz7871
    @mcyz7871 3 ปีที่แล้ว +1

    awesome job

  • @Storyguy
    @Storyguy 2 ปีที่แล้ว

    Great Sir.... the explanation is ridiculous ❤❤

  • @TPLCreationLoft
    @TPLCreationLoft ปีที่แล้ว

    Best explanation of Markov Chains I've seen. Most videos don't explain how you get the initial probabilities, but from your explanation I understood that they're equality distributed at outset (that is if I understood correctly) and can stabilize as frequency outcomes over iterations . Thank you.
    However, one thing that wasn't too clear on was if a Markov chain only depends on the current state of predicting future states, wouldn't a tree that predicts into the near or distant future states not be using the Markov property since there's a whole chain of dependencies?

  • @continnum6540
    @continnum6540 ปีที่แล้ว +1

    Wow 🔥🔥🔥

  • @othmanaljbory3649
    @othmanaljbory3649 2 ปีที่แล้ว

    عاشت الايادي استاذ شكرا جزيلا بالتوفيق والنجاح

  • @Salvador-xy5es
    @Salvador-xy5es ปีที่แล้ว

    maan you are awsome THANK YOU!!!

  • @thetutorialdoctor
    @thetutorialdoctor 7 หลายเดือนก่อน

    Excellent

  • @OfferoC
    @OfferoC 3 ปีที่แล้ว +1

    Awesome thanks

  • @HylianEvil
    @HylianEvil 3 ปีที่แล้ว +7

    If only the next video was out so I could make a Markov chain to predict when the next video will be out

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +3

      Haha, well past behavior indicates I release a lot of videos on Monday’s, but you can’t look at that unless you model with a non-Markov process;)

  • @muhammadneanaa1611
    @muhammadneanaa1611 3 ปีที่แล้ว +1

    Thanks!

  • @sebaaismail1951
    @sebaaismail1951 3 ปีที่แล้ว +1

    Thank you dr, yours vidéo are usefull.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +1

      Thank you!

  • @Tiredprincessss
    @Tiredprincessss 3 ปีที่แล้ว

    THANK YOU

  • @joicet5230
    @joicet5230 3 ปีที่แล้ว

    nice explanation for a beginner like me

  • @giovanniberardi4134
    @giovanniberardi4134 2 ปีที่แล้ว +2

    I really appreciated your video. I have a question: in the market example with a drift rate of zero the transition probabilities would have been even? I mean 50 % probabilities of transition from bull to bear and vice versa? Thank you very much

  • @mattpecevich3749
    @mattpecevich3749 3 ปีที่แล้ว +5

    What a great video, thank you!!
    Question: in your example of the stock market I think you used historical data to generate those bull-bull and bear-bear probabilities. Is it still a Markov process if the probabilities on the tree are derived from the past?

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +9

      Ah great point, and it takes a bit of further consideration of what do we REALLY mean about "the past". It is more about ignoring the recent past. So I'm not looking at least week or a month ago in my predictions for next week. But your are right that while I made up the numbers in this example, they would have come from looking at some historical average over, say, decades.
      A similar example might be weather. A markov model might be constructed that says given the weather today, what is the probability of the weather tomorrow, and it would be markov because it ignores what the weather was like yesterday or a week ago. However, the model might still build in historical climate data about what the weather is like generally.

    • @mattpecevich3749
      @mattpecevich3749 3 ปีที่แล้ว +1

      Dr. Trefor Bazett thanks, that makes sense! Looking forward to the next one!

  • @ungoyboy2006
    @ungoyboy2006 3 ปีที่แล้ว

    Thanks for video , it was mentioned Markov only based on “present” state however the transition probabilities themselves are based on historical data right? Just trying to get my head around that distinction.

  • @admiralhyperspace0015
    @admiralhyperspace0015 3 ปีที่แล้ว +1

    Can't appreciate enough your videos. Plz keep making them, and I am second. hehehe

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Will do! 2nd is still pretty good, haha:D

  • @Sam-fv4xq
    @Sam-fv4xq 3 ปีที่แล้ว +1

    better than my teacher

  • @ccuuttww
    @ccuuttww 3 ปีที่แล้ว +1

    You may also talking about how to find the stable status with linear algebra PDP^-1 which related to your series

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Indeed, the next video is going to cover the connection to linear algebra although I won’t get to diagonalization for a while yet

  • @sukanthenss914
    @sukanthenss914 3 ปีที่แล้ว +1

    Hey @Dr. Trefor Bazett Is this the Basics for Reinforcement Learning !!

  • @georgesalexandrebajk8223
    @georgesalexandrebajk8223 3 ปีที่แล้ว

    Thank you Dr very well explained 👌
    Do you have any videos about poison process and exponential distribution

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Thank you! Yes I do plan to do a stats series at some point, but not just yet sorry:)

  • @bonecircuit9123
    @bonecircuit9123 11 หลายเดือนก่อน

    what would be the differences to a finite state machine and the states position?

  • @twishanuaichroy1938
    @twishanuaichroy1938 6 หลายเดือนก่อน

    Best

  • @SHAHHUSSAIN
    @SHAHHUSSAIN 3 ปีที่แล้ว +1

    Crown of mathematics🥰🥰💝💝♥️♥️

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      haha, thank you Shah!

  • @sambhavgupta4653
    @sambhavgupta4653 ปีที่แล้ว

    So basically we can consider markov chains as studying dependent probabilities?
    Also, how is is bear and bull example markovian? As you mentioned, that using an old data set (past info.) is non markovian process.

  • @shaik_Muzammil202
    @shaik_Muzammil202 15 วันที่ผ่านมา

    But for that example of stock market you have considered past data does it not make , it as an example of non-markov method?

  • @kdewanik
    @kdewanik 3 ปีที่แล้ว +3

    You are so amazing Dr.Trefor making all these heavy content accessible to everyone, I give my best wishes to the channel growth exponentially. 🎊😇 I am doing my best to promote this content to everyone !!

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Thanks for your help Dewanik, really appreciate it!

  • @jace3789
    @jace3789 2 ปีที่แล้ว +1

    Did you do the Transition Matrix video from the 'coming soon' note ? Thanks

    • @DrTrefor
      @DrTrefor  2 ปีที่แล้ว +1

      Yup, should be in the discrete math playlist

  • @ayamohammed4355
    @ayamohammed4355 2 ปีที่แล้ว

    A clear explanation, please, how can I contact you because I have some questions. Is there an email?

  • @BlackCodeMath
    @BlackCodeMath 3 หลายเดือนก่อน

    Which came first, the Markov Chain or the DFA/NFA?

  • @tuongnguyen9391
    @tuongnguyen9391 3 ปีที่แล้ว +1

    So what kind of playlist would this Markov Chain belong to ?

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      Right now it’s in my discrete math playlist, but anything with probability or stats could talk about this.

  • @CamEron-nj5qy
    @CamEron-nj5qy ปีที่แล้ว +2

    A superhero who can't fly but has a cape 😂

    • @lazertroll702
      @lazertroll702 ปีที่แล้ว

      It's there to keep dry .. ? 🤨

  • @binshebah
    @binshebah 3 ปีที่แล้ว

    In the final step, why did you multiply the probabilities of each branch and not adding them ?

    • @mryup6100
      @mryup6100 2 ปีที่แล้ว

      I would like to know as well. I don't know the logic behind it.

  • @jacobfertleman1980
    @jacobfertleman1980 ปีที่แล้ว

    I desperately need to see a movie with the character he described: A superhero with an hour memory span😂

  • @physicslover1950
    @physicslover1950 3 ปีที่แล้ว +1

    Please make videos on vector calculus i.e. the calculus of vector fields. Please sir. There are no sources on TH-cam about this topic. Sir we don't know about any android software that can help us plot vector fields.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +1

      It's coming, starting in about 2 weeks!

    • @physicslover1950
      @physicslover1950 3 ปีที่แล้ว

      @@DrTrefor Would you you recommend me a software on Android that can plot vector fields.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

      I would try navigating to wolframalpha on browser first I think, but I’m sure there are others

  • @aashsyed1277
    @aashsyed1277 2 ปีที่แล้ว

    mark OV chain

  • @DrewCocker
    @DrewCocker 6 หลายเดือนก่อน

    Why are the superheroes randomly moving around the city?

  • @ronaldmarcks1842
    @ronaldmarcks1842 6 หลายเดือนก่อน

    This is counter-intuitive, the notion that experience has no value. Thanks.

  • @metalhamster14
    @metalhamster14 ปีที่แล้ว

    shame about the audio

  • @twilight1176
    @twilight1176 ปีที่แล้ว

    I dont think thats a cool superhero