Copulas 5.1 - using R to fit Archimedean Copulas

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Back to copulas! In this video, I look at how we can use R to fit copulas, starting with Archimedean copulas, with the help of a sample data set.

КОМЕНТАРІ • 8

  • @christelswift6892
    @christelswift6892 8 місяців тому

    thanks so much for these videos. Would it be possible to get the slides used in the videos after the intro, and also the example dataset showed in this video please?

    • @PaulSweeting
      @PaulSweeting  8 місяців тому +1

      The data's a bit tricky, but I'm planning on sharing the slides on LinkedIn over the coming weeks - you can find me there at linkedin.com/in/profpaulsweeting

  • @Jobhelpodia
    @Jobhelpodia 4 місяці тому

    Sir how to add covariates to these models?

  • @NidaSiddiqui-x4t
    @NidaSiddiqui-x4t 10 місяців тому

    How do I compare different Archimedian copula models to see which one is better fit if I am using "itau" or "irho" method as there is no Liklihood function?

    • @PaulSweeting
      @PaulSweeting  10 місяців тому

      I'm not sure it's easy in R, as I fitcopula only calculates the likelihood if the approach used is maximum likelihood. You can see this because using (e.g.) the AIC function on the copula object throws up an "NA". You could calculate it directly from the copula density function, but these are quite unwieldy for Archimedean copulas. So probably easiest to just use the maximum likelihood estimation approach if you want to compare likelihoods...

  • @rafetbaskaza786
    @rafetbaskaza786 10 місяців тому

    why are we only using the columns 2 to 4? and which columns do i use when i have 4 columns in total? (min 14)

    • @PaulSweeting
      @PaulSweeting  10 місяців тому

      Hi! The only reason I used columns 2 to 4 was to show how you can fit a copula to a subset of the data. If you wanted to use just (say) the first 4 columns of 6, it would be retsum_u[,1:4], whereas if you had only 4 columns and you wanted to use them all, it would just be retsum_u (i.e. no brackets needed)

    • @mathysferriere3987
      @mathysferriere3987 9 місяців тому

      Thanks for the video @@PaulSweeting
      Is there any way to "check" if our fit is correct by using this colum 1 ?