Special Topics - The Kalman Filter (19 of 55) What is a Variance-Covariance Matrix?

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 104

  • @johnktejik9847
    @johnktejik9847 7 років тому +62

    Crying with happiness that I finally found a concise, common sense explanation of what a covariant matrix is

    • @jorgearagon8053
      @jorgearagon8053 6 років тому +1

      Same dude

    • @gzitterspiller
      @gzitterspiller 5 років тому +5

      The notation is wrong, be careful, the nondiagonal elemwnts are Oxy not Ox*Oy. He wrote it like a multiplication and it is not like that.

    • @Venuscat007
      @Venuscat007 5 років тому

      @@gzitterspiller You are right, but the result is the same. The multiplication of two "square of N"s result in N in the denominator. and the numerator will be the same as well.

    • @ElPikacupacabra
      @ElPikacupacabra 4 роки тому +1

      @@Venuscat007 That's wrong. For the top part, it doesn't work.

  • @marshall7253
    @marshall7253 5 років тому +7

    superman, i've never been more grateful to youtube in my life till i found your kalman series. you totally demystified the boogie man. Thank you.

  • @EvilSpeculator
    @EvilSpeculator 7 років тому +19

    I'm basically spending my summer working myself through this lecture series. So much fun.

  • @anneoni691
    @anneoni691 Рік тому +4

    You are an amazing teacher. You are blessed! I'm impressed by how you could explain this technical concept with simple english. Thank you for blessing us with your gift.

    • @MichelvanBiezen
      @MichelvanBiezen  Рік тому +1

      Thank you! 😃 Glad you find these videos helpful.

  • @thanhbinhdo6290
    @thanhbinhdo6290 Рік тому +3

    I cant stop to watch all of your 55 lesson at once. I compare your explanation with mine and it is really good.

    • @MichelvanBiezen
      @MichelvanBiezen  Рік тому +1

      Do you have your explanations on video or in writing?

    • @thanhbinhdo6290
      @thanhbinhdo6290 Рік тому +1

      @@MichelvanBiezen I just write a small document for my group. We use it in the calibration of our robot 's odometry. I have a question, normally I consider H is observation Matrix this mean y_k= H.x_k +z_k.
      And z_k ~N(0,R).
      Normally each element of R represents respectively the variances of the observations. For example if y_k=[y_k1,y_k2,y'k1,y'k2 ] then R= mat(4*4)=
      R_yk1_yk1 R_yk1_yk2 R_yk1_yk1' R_yk1_yk2' |
      | R_yk2_yk1 R_yk2_yk2 R_yk2_yk1' R_yk2_yk2' |
      | R_yk1'_yk1 R_yk1'_yk2 R_yk1'_y1' R_yk1'_yk2'|
      | R_yk2'_yk1 R_yk2'_yk2 R_yk2'_yk1' R_yk2'_yk2'|
      In your video, I saw that y_k = C.x_k+ z_k
      Is that the same or different?
      Thanks a lot for your helpful video with clear block
      diagram.

    • @MichelvanBiezen
      @MichelvanBiezen  Рік тому +1

      I think it depends on the application, but I would say that is probably the same.

  • @ezasokotela7523
    @ezasokotela7523 4 роки тому +3

    Thank you so much sir for the down-to-earth explanation of covariance and variance! What an amazing presentation of abstract concepts! Hats off!

  • @hemantyadav6501
    @hemantyadav6501 7 років тому +5

    because of you sir we fellows now know what is kalman filter.

  • @cabdolla
    @cabdolla 8 років тому +16

    Hi Michel, great videos. Id like to point out an error at 2:35. You said that the variance squared would be what we expect almost 100% of the values to fall into that range. Consider the case where the variance is 1. Then the variance squared is still 1. We expect 100% of the variance to fall within 6-sigma, which is 6. Not 1. What you said only holds true if sigma >1

    • @MichelvanBiezen
      @MichelvanBiezen  8 років тому +6

      +cabdolla
      You are correct. Thank you for the input.

    • @loveforsberg530
      @loveforsberg530 6 років тому +2

      To the top!

    • @andreastroster285
      @andreastroster285 2 роки тому +1

      Actually this makes no sense at all. If x is measured in some physical unit such as e.g. meters, then the standard deviation has dimension meters, whereas the variance has dimensions meter^2. A numerical comparision of variance and standard deviation is meaningless.

    • @ayenewyihune
      @ayenewyihune 5 місяців тому

      Good point, I was wondering how

  • @LaRadical
    @LaRadical 7 років тому +4

    Dar un "pulgar hacia arriba", no expresa, cuán satisfecha me siento al ver estos videos. Muchas Gracias!
    Giving a like, it´s not enough to me, to express how much satisfy I feel with these videos. THANKS YOU A LOT!

  • @anaibrahim4361
    @anaibrahim4361 3 роки тому +1

    where have you hidden all that time sir
    what a rekief after all that time jumpnig from a video to an other finally i found the cure and the pure solution to what i was struggling about
    thanks

  • @gojakangas1
    @gojakangas1 2 роки тому +3

    Enjoying the videos. Very clear! But I think SIGMAxy is a better notation than SIGMAx SIGMAy, because it looks like a product when it is not....

    • @MichelvanBiezen
      @MichelvanBiezen  2 роки тому +2

      Yes, I have seen both notations. There are advantages to both

    • @absurdengineering
      @absurdengineering Рік тому

      But… it is a product! Look carefully. Sigma x has sqrt(N) in the denominator. Sigma x times Sigma y gives N in the denominator. The sigma xy notation is shorthand for exact notation sigma x sigma y. Covariance matrix can be obtained by multiplying two standard deviation vectors together (one of them transposed).

  • @nadekang8198
    @nadekang8198 5 років тому +1

    The best lecturer with 0 dislike!

  • @kalapriyan
    @kalapriyan Місяць тому

    Nice playlist on Kalman Filters. I have an observation to make. It is implied in this video and subsequent videos that σₓσᵧ is covariance. But cov(x,y) = σₓσᵧ only when random variables X and Y are 100% correlated.

  • @timdahealth
    @timdahealth 2 роки тому +2

    전공 공부중에 헷갈리는 개념이 있어서 들렀습니다. 강의 정말 잘 들었습니다. 감사합니다.

  • @s.s.sithole8102
    @s.s.sithole8102 4 роки тому +2

    wow the video is clear and amazing you are a lifesaver chief

  • @miliandmichaelstangeland5327
    @miliandmichaelstangeland5327 3 роки тому +4

    Variance is broader (bigger) only if the standard deviation is > 1, which is not always the case ;)

  • @gencalicicek9528
    @gencalicicek9528 9 років тому +8

    awesome ! Thanks a lot sir. We are waiting the next :)

  • @TinhNguyen-om6yg
    @TinhNguyen-om6yg 7 років тому +1

    Thanks so much professor for this series!

  • @qianhuisun814
    @qianhuisun814 5 років тому +1

    Great teaching and really helpful!

  • @yahiafarghaly7472
    @yahiafarghaly7472 7 років тому +2

    thank you Dr for the great lecturing

  • @romitjivani4367
    @romitjivani4367 2 роки тому +1

    Your videos are so helpful, thank you so much!

  • @jairam2788
    @jairam2788 6 місяців тому +1

    Thanks for explaining statistics 🙏

  • @hemayatullahziarmal4694
    @hemayatullahziarmal4694 8 років тому +4

    love the explanation thank you so much.

  • @juancarlosr.h.2853
    @juancarlosr.h.2853 3 роки тому +2

    hello Professor. Excellent and very clear video!
    Question: I've learned that the division is by n-1, but you use just n. Why?
    Best regards

    • @MichelvanBiezen
      @MichelvanBiezen  3 роки тому +3

      You divide by n is you are dealing with the entire population and you divide by one if you are only using a sample of the entire population

  • @moonyounglee7546
    @moonyounglee7546 4 роки тому

    great intuition once again. I'm amazes

  • @whabw1999
    @whabw1999 5 років тому +1

    great explanation ,thanks

  • @darkyodd
    @darkyodd 7 років тому +14

    Michel van Biezen, I turned adblock off just for you, bro

  • @hayfahvytsen
    @hayfahvytsen 5 років тому +1

    Great explanation!

  • @andrewvirtual
    @andrewvirtual 3 роки тому

    Beautiful explanation. Keep up the good work

  • @ma888u
    @ma888u 8 років тому +1

    There could be a little bit more explanation during the video about the practical use for one of the recent examples (falling stone, car movement, etc.) to better understand the meaning for the kalman filter

  • @andrewkelley8196
    @andrewkelley8196 2 роки тому +2

    Writing the covariance of x and y as sigma_x sigma_y is misleading, I think, because sigma_x sigma_y looks like the product of the standard deviations. If you want to use sigma rather than Cov(x,y), then I think you should write only one simga.

  • @bouthaina7846
    @bouthaina7846 5 років тому +1

    thank you so much, could you please do a course about principal components analysis (PCA)!

  • @Torvald80
    @Torvald80 8 років тому +2

    [sigma]x[sigma]y is not the same as multiplying the standard deviations together, because covariance may be negative (this is mostly a not for myself).

  • @meryemnaseerqureshi7691
    @meryemnaseerqureshi7691 3 роки тому

    Thank you for this. Amazingly explained :)

  • @absurdengineering
    @absurdengineering Рік тому +1

    Variance is covariance of the variable with itself :)

  • @patricksampaiodossantosbra7259
    @patricksampaiodossantosbra7259 4 роки тому

    Genious explanation

  • @ernest987987
    @ernest987987 9 років тому

    Same here very nice, althought I'm looking forward to the more complexe stuff :) (Always very good to provide this refresh though)

    • @Surftech09
      @Surftech09 8 років тому

      Have you done stuffs like tracking face in a video using k.f in the past? using matlab?

    • @ernest987987
      @ernest987987 8 років тому

      +sonic sonic I haven't unfortunately. I use the Kalman Filter mostly in Economics and Finance application, to estimate latent processes and stuff, with Matlab. So I'm not that advanced :) Sorry

  • @1bzoro206
    @1bzoro206 3 роки тому

    thank you very much Dr., what does the name of the refrence you depend on?

    • @MichelvanBiezen
      @MichelvanBiezen  3 роки тому

      I didn't use any particular reference, since I couldn't find a good one, so I developed this myself to enhance the understanding of the KF

  • @RESC_Eng
    @RESC_Eng 3 роки тому

    I hope you to be muslim , you may rewarded just from god because of this great job (teaching ) , you are change the world to be a better place by this knowledge , I took a look on your channel , it is imaginary , wow it is an amazing channel with a great person . Thank you so much , I wish you to be muslim .

  • @SuperKreyszig
    @SuperKreyszig 8 років тому +1

    I will donate money to you as soon as I can, meaning when I get a job :)

  • @darshuetube
    @darshuetube 2 роки тому +1

    where do the degrees of freedom or sample vs population come in here? should it be N-1 or N-2 for the covariance since we have 2 means?

    • @MichelvanBiezen
      @MichelvanBiezen  2 роки тому +1

      We have a playlist on variance and covariance that describe the details: COVARIANCE AND VARIANCE

  • @awadelrahman
    @awadelrahman 8 років тому +1

    is the covariance of two variables equal to the multiplication of the standard deviation of each variable? (sigmaX)*(sigmaY)? Thanks for the valuable illustrations!

    • @OttoFazzl
      @OttoFazzl 7 років тому

      No, you cannot just multiply standard deviations to get the covariance.

    • @loveforsberg530
      @loveforsberg530 6 років тому +1

      The notation does suggest that, which is why it is questionable. I would denote it by double indicies instead.

  • @ahmedmahdi8580
    @ahmedmahdi8580 8 років тому +1

    thanks pro this is what i need exactly

    • @MichelvanBiezen
      @MichelvanBiezen  8 років тому +2

      +Ahmed Mahdi Wow, you are watching all of them. Enjoy!

    • @ahmedmahdi8580
      @ahmedmahdi8580 8 років тому +1

      +Michel van Biezen :
      hello pro , I am wor;king on a robot project and I need to understand the Kalman filter , thank you so much.

  • @brilianto98
    @brilianto98 3 роки тому +1

    is variance-covariance matrix initialized first and will it be constant for every iteration?

    • @MichelvanBiezen
      @MichelvanBiezen  3 роки тому

      In most applications, the matrix is updated with every iteration

    • @brilianto98
      @brilianto98 3 роки тому

      @@MichelvanBiezen Thank you for your answer sir, does it mean the covariance matrix updated depend on it's updated measurement?

    • @MichelvanBiezen
      @MichelvanBiezen  3 роки тому

      Yes it does

  • @elchill684
    @elchill684 5 років тому +1

    Brilliant

  • @fishermanwithfishes2286
    @fishermanwithfishes2286 4 роки тому +1

    This is why my lab should pay for my Matlab license and UA-cam premium.

  • @airblue5312
    @airblue5312 8 років тому +1

    Thanks a lot

  • @ElPikacupacabra
    @ElPikacupacabra 4 роки тому

    You forgot a correlation coefficient for the off-diagonal terms in the covariance matrix. Otherwise, a nice sequence of videos.

  • @codyheiner3636
    @codyheiner3636 5 років тому +1

    Careful, the discussion of the relationship between variance and standard deviation is very wrong. Standard deviation tells us precisely how much data is contained within a distance from the mean. Variance is simply the standard deviation squared, and tells us nothing about how much data is inside that range.
    Simple example: std = 1, so variance = std and the same amount of data is inside the variance as the std. If std = 100, then the variance contains 100 standard deviations worth of data (almost all). If std = 1/100, then the variance contains 1/100th of a standard deviation of data (very little).
    TLDR: The variance is simply the standard deviation squared, don't get trapped into assuming more than that.

  • @Surftech09
    @Surftech09 8 років тому

    Prof. can you please show the 4 by 4 arrangement of this ??

    • @MichelvanBiezen
      @MichelvanBiezen  8 років тому +1

      +sonic sonic
      When I have some more time, I'll put a multi-dimensional example together and an extended Kalman Filter example as well. Right now I am working 3 jobs and have little time for it.

    • @Surftech09
      @Surftech09 8 років тому

      +Michel van Biezen yes you actually said how busy you are the last time. three more question prof.
      when tracking a human face in a video,
      (1)how do you get the initial values for for variance and standard deviation?
      (2) where does the values for measurement come from? or rather on what basis do you assume values for measurements y? for instance when implementing it in matlab. (3) what should be taken into account when assuming the values for initial position both for x and y position.
      these three questions will go a long way in my project. thanks

  • @nwsteg2610
    @nwsteg2610 2 роки тому +2

    It is better to write \sigma_{xy} for the covariance rather than \sigma_x\sigma_y. The product of the standard deviations is not equal to the covariance!

    • @MichelvanBiezen
      @MichelvanBiezen  2 роки тому +2

      Thank you for the feedback. Yes we realized afterwards there are some inconsistencies here, so we made a new series on explaining the variance and covariance matrix.

    • @nwsteg2610
      @nwsteg2610 2 роки тому

      @@MichelvanBiezen Thanks for all your great content!

  • @berndlucke1968
    @berndlucke1968 4 роки тому +4

    You souldn't write the covariance of x and y as sigma_x sigma_y! This suggests that it is equal to the product of the standard deviations. This is only the case if x and y are actually the SAME except for a shift of the mean value. If they are to independent random variables the covariance will be 0. You really sould write sigma_xy!

  • @alirezapakdaman7397
    @alirezapakdaman7397 8 років тому +1

    Hello, I looked to another literature and there , the is defined as follows ( N-1 instead of N in the formula)
    ci.columbia.edu/ci/premba_test/c0331/s7/s7_5.html

    • @MichelvanBiezen
      @MichelvanBiezen  8 років тому +3

      Yes, there are differences in the notation used, and it depends on how it is defined. In the end, it makes no difference and it comes down to what you are used to.

    • @elirox100
      @elirox100 8 років тому +1

      N-1 is used for estimating from a sample, so we really should be using it here

    • @OttoFazzl
      @OttoFazzl 7 років тому

      In practical applications with large samples, N - 1 and N converge rather quickly. But to be rigorous, yes, N - 1 is the way to go.

  • @imakill99
    @imakill99 4 роки тому +1

    sta302 unite

  • @rabiulislamsikder344
    @rabiulislamsikder344 3 роки тому

    Why life is so simple?

    • @MichelvanBiezen
      @MichelvanBiezen  3 роки тому

      This is from a friend of our, "Life is simple, but it's not easy."