The invention provides compounds (Ia), (Ib) and (Ic), pharmaceutical compositions comprising such compounds and methods of using such compounds to treat or prevent diseases or disorders associated with the activity of the Peroxisome Proliferator-Activated Receptor (PPAR) families.