This work usually being done by I-bank or S-company, which involves the AP(asset pricing) process. So, in other words, not only P/E, capital gain, dividend and PV will be took into account, other factors like Risk-Premium, interest rate, floating cost,ect are also heavily measured!