In some sources 1 one reads that the frailty model expands on the cox proportional hazards model $$h_i(t|x_i)=h_0(t)\exp(\beta x_i)$$ by adding a frailty term $z$ like so $$h_i(t|x_i,z_i)=h_0(t)\exp(\beta x_i+z_i)$$
In other sources I see frailty figuring as a factor “acting multiplicatively” 2 on the baseline hazard function $h_0(t)$ $$h_i(t|x_i,z_i)=z_ih_0(t)\exp(\beta x_i)$$
How are individual frailty and shared frailty correctly expressed?
1: Predicting Horse Race Winners Using Advanced Statistical Methods