stocks_tree: Hierarchical tree based on NAICS for companies in the stocks...

stocks_treeR Documentation

Hierarchical tree based on NAICS for companies in the stocks dataset

Description

A list of length-702 that stores the tree structure (referred to as hc_list format in the package) for the 2538 stocks. The ith item in the list contains the child nodes of the ith node in the tree. The negative values in the list indicate leaf nodes and the positive values correspond to interior nodes. The tree structure is formed based on North American Industry Classification System (NAICS).

Usage

stocks_tree

Format

An object of class list of length 702.

Source

Information of North American Industry Classification System available at https://www.census.gov/naics/?58967?yearbck=2017. Company's NAICS code from CRSP/Compustat merged database.


simone0628/hat documentation built on June 1, 2024, 9 a.m.