Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stata command to create Fama-French industry classifications based on SIC codes

    Hi,

    I have a dataset with SIC codes and I want to create the 48 Fama-French industry classifications from it. I'm not sure how to proceed. I've read that there are some packages available for download that can assist with creating the 48 SIC codes.

    Can anyone guide me on how to do this?

    Thanks!

  • #2
    HTML Code:
    https://ideas.repec.org/c/boc/bocode/s458381.html

    Comment


    • #3
      please professor could you give me some guidance on how to apply this code, from the website you provide

      the name of SIC code variable in my data base is
      SIC_WRDS_1

      Comment


      • #4
        do you have 4-digit sic? it requires it.

        Comment


        • #5
          HTML Code:
          https://www.statalist.org/forums/forum/general-stata-discussion/general/1295492-fama-french-12-industries-classification-in-stata
          see post #4.

          I think this will do it in one shot, where the other requires you do it sic by sic.

          Comment


          • #6
            yes professor i have 4-digit sic in my database but im not sure the steps to run the code ? can you give me some guidance on how to apply these code

            thanks

            Comment


            • #7
              copy the ffind.ado file to you ...ado/personal folder.

              Code:
              destring sic, g(sicnum)  //destring the sic code if necessary
              ffind sicnum , g(ffind) type(48)  // creates the 48 industries.

              Comment


              • #8
                Thanks a lot prof Geroge. it work

                Comment

                Working...
                X