Following up on this question: Yield of a risky bond, what is the definition of clean and dirty prices for a risky (defaultable, catastrophe, etc.) bond?
I would think the dirty price should basically be the discounted cashflows. Then the clean price should be dirtyPrice-accruedAmount. What is the accruedAmount though? At what rate does it accrue?