When, for example, to make an analysis (5)
I believe the answer is:
assay
'an analysis' is the definition.
(thesaurus)
'when for example' is the wordplay.
'when' becomes 'as'.
'for example' becomes 'say' (I've seen this before).
'as'+'say'='ASSAY'
'to make' acts as a link.
(Other definitions for assay that I've seen before include "Test of substance" , "Test, check" , "Test (a metal or ore)" , "Put to the proof" , "Test, or say, to establish quality" .)