Inverse Transform Sampling | Triangular Distribution

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 14

  • @mahmoudel-khalil3328
    @mahmoudel-khalil3328 Год назад +1

    Thank you, you saved my life. Your videos are awesome.

  • @robertwright4906
    @robertwright4906 2 года назад +1

    Amazing work!

  • @MisterRay15
    @MisterRay15 3 года назад +1

    What do I do if I have 3 unknown points for the triangle, minimum, maximum and mode?

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi Год назад

    In 3:11 there is a problem. You say that a CDF must be >=0, but when you invert a CDF, you are not getting a CDF, you are getting a random variable, which can be (and in the general case will be) also negative. For example, if I have a normal distribution, its quantiles are from -infinity to +infinity. In this case it counfuses me when to take the infimum (you do it in the second case, but not in the first). Even though its correct, again, the argument that the inverse must return positive values is not right.

  • @syh1414
    @syh1414 2 года назад

    Could you show the R coding at the end? Thank you!

  • @RafiqulIslam-dy8cm
    @RafiqulIslam-dy8cm 2 года назад

    Could you please give an example of order statistics

  • @hashbrowncookie8444
    @hashbrowncookie8444 3 года назад

    Just like the other comment said, can you please give a rough idea of how you would be writing this using R? Please.

    • @hashbrowncookie8444
      @hashbrowncookie8444 3 года назад

      I am not sure how you would include the limits of y in your code? I am having difficulties figuring out that part.

  • @JoseVinicius-fe3vk
    @JoseVinicius-fe3vk Год назад

    it is supposed to be 1/2 + 2x - x^2/2 -1

  • @samalkayedktaishat9927
    @samalkayedktaishat9927 3 года назад +1

    hello , how do i do this using R ??

    • @muhannadobeidat
      @muhannadobeidat 3 года назад +1

      Here is my solution for R: Define function for the new CDF. Pass array of uniform distribution output from 0,1 for 1000 samples, apply the CDF for each input and plot output.
      calculateY

    • @farkas5572
      @farkas5572 2 года назад

      @@muhannadobeidat Shouldn't it be x

    • @alf2954
      @alf2954 Год назад +1

      @@muhannadobeidat Bro, you've saved one hour of my life

  • @뚜둥-b8e
    @뚜둥-b8e 3 года назад

    코딩 안하고 딱 끝나버린 이유는 뭐냐 ?