Datasets

Replication Files

Software

Fama-French industry classifications in Stata

Convert SIC, NAICS, ISIC Revision 4, or NACE Revision 2 codes to Fama-French industries. All four commands support the 5, 10, 12, 17, 30, 38, 48, and 49 industry schemes. Version 1.1 is available on SSC.

Choose a command for your input classification. Examples generate FF48 classifications.
CommandYour inputExample: FF48
sic_to_ffSICsic_to_ff sic, gen(ff48) scheme(48)
naics_to_ffNAICSnaics_to_ff naics, gen(ff48) scheme(48)
isic_to_ffISIC Rev. 4isic_to_ff isic4, gen(ff48) scheme(48)
nace_to_ffNACE Rev. 2nace_to_ff nace2, gen(ff48) scheme(48)
ssc install sic_to_ff
ssc install naics_to_ff

The naics_to_ff package includes isic_to_ff, nace_to_ff, and their mapping files. Replace sic, naics, isic4, or nace2 in the examples with your variable name.

sic_to_ff
2,153 SSC download equivalents
naics_to_ff
752.3 SSC download equivalents

December 2025 to August 2026. Includes updates and repeat downloads.

Monthly downloads

sic_to_ff

naics_to_ff

FewerMore

Hover, focus, or tap a square for its monthly count.

SSC adjusts file downloads to package equivalents, so some counts are fractional. These are not unique-user counts. ISIC and NACE commands are included in the naics_to_ff package.

Source: SSC monthly download files. Both packages use the same colour scale.

Checked 12 September 2026.