Scénario de test & Cas d'usage
Network analysis and graph algorithms.
Discover all actions of optNetworkCreation of a transaction link table representing shared identifiers between accounts. Accounts A, B, C, and D form a fully connected fraud ring.
| 1 | |
| 2 | DATA mycas.fraud_links; |
| 3 | INPUT acc_from $ acc_to $; |
| 4 | DATALINES; |
| 5 | AccA AccB AccA AccC AccA AccD AccB AccC AccB AccD AccC AccD AccE AccF AccF AccG; |
| 6 | |
| 7 | RUN; |
| 8 |
| 1 | |
| 2 | PROC CAS; |
| 3 | ACTION optNetwork.clique / links={name='fraud_links', vars={from='acc_from', to='acc_to'}} cliqueNumber=TRUE out={name='suspect_groups', replace=true}; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | |
| 2 | PROC CAS; |
| 3 | PRINT 'Largest Fraud Ring Size: ' || find(results, 'cliqueNumber'); |
| 4 | |
| 5 | RUN; |
| 6 |
The action should identify one major clique {AccA, AccB, AccC, AccD} as a suspect group. The 'cliqueNumber' result should return 4, indicating the size of the largest collusion ring.