Name the purpose (control/substantive/dual) and assertion related to the test:
Calculate an estimate of the allowance for doubtful accounts using prior relations of write-offs and sales.
a) Control; Existence
b) Substantive; Valuation
c) Dual; Completeness
d) Control; Rights and obligations