Navigating Investments: A Deep Dive into Security Valuation, Portfolio Selection, and Asset Allocation