Network and hierarchical models