cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-8204%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3Etrovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8204%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3ECiao%20a%20tutti%2C%3C%2FP%3E%3CP%3EVorrei%20produrre%20un%20sommario%20tabella%20che%20fornisce%20la%20modalit%C3%A0%20di%20una%20variabile%20per%20ogni%20categoria%20di%20un'altra%20variabile.%3C%2FP%3E%3CP%3Eidealmente%2C%20questo%20funzionerebbe%3A%3C%2FP%3E%3CP%3Edt%20%3D%20open%20(%22%24%20SAMPLE_DATA%20%2F%20Mail%20Messages.jmp%22)%3B%20%3CBR%20%2F%3E%20dt%20%26lt%3B%26lt%3B%20summary%20(Group%20(%3A%20From)%2C%20Mode%20(%3A%20To))%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Ein%20alternativa%2C%20impilar%C3%B2%20la%20tabella%20per%20%22Da%22%20e%20calcolerei%20la%20modalit%C3%A0%20su%20ciascuna%20riga.%20tuttavia%2C%20%22Modalit%C3%A0%22%20non%20%C3%A8%20un'opzione%20nel%20riepilogo%20tabella%20o%20nella%20formula%20della%20colonna.%3C%2FP%3E%3CP%3Etutte%20le%20idee%20che%20calcolano%20la%20modalit%C3%A0%20sono%20benvenute%20incluso%20nell'invio%20a%20SAS.%3C%2FP%3E%3CP%3Esto%20usando%20JMP%2010.%3C%2FP%3E%3CP%3Egrazie%2C%3C%2FP%3E%3CP%3ERon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-8215%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8215%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3EGrazie%20Brady%2C%3C%2FP%3E%3CP%3EQuesto%20%C3%A8%20di%20gran%20lunga%20lo%20script%20pi%C3%B9%20parsimonioso%20e%20robusto.%3C%2FP%3E%3CP%3EVorrei%20aggiungere%20una%20riga%20di%20codice%20opzionale%20per%20disabilitare%20la%20possibilit%C3%A0%20di%20valori%20mancanti%20come%20la%20modalit%C3%A0%3A%3C%2FP%3E%3CP%3Edt%20%3D%20open%20(%22%24%20SAMPLE_DATA%20%5C%20Cars.jmp%22)%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Edt2%20%3D%20dt%20%26lt%3B%26lt%3B%20summary%20(group%20(%3A%20Make%2C%3A%20R%20Leg))%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%2F%2F%20opzione%20per%20disabilitare%20la%20possibilit%C3%A0%20di%20valori%20mancanti%20come%20modalit%C3%A0%3C%2FP%3E%3CP%3Edt2%20%26lt%3B%26lt%3B%20Seleziona%20dove%20(IsMissing%20(%3A%20R%20Leg))%20%26lt%3B%26lt%3B%20Elimina%20righe%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Edt2%20%26lt%3B%26lt%3B%20selectwhere%20(colmaximum%20(%3A%20n%20rows%2C%3A%20make)!%20%3D%3A%20n%20rows)%20%26lt%3B%26lt%3B%20Elimina%20righe%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-8209%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8209%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3EGrazie%20mille.%3C%2FP%3E%3CP%3Eoccupandomi%20della%20modalit%C3%A0%20mi%20sono%20imbattuto%20in%20due%20problemi%20che%20sembrano%20guasti%20del%20programma%20JMP.%3C%2FP%3E%3CP%3E1.%20se%20c'%C3%A8%20solo%20un'osservazione%2C%20la%20piattaforma%20di%20distribuzione%20non%20fornisce%20affatto%20una%20modalit%C3%A0.%20Inoltre%2C%20anche%20in%20caso%20di%20frequenza%20legata%20di%201%20non%20viene%20restituito%20nulla.%20ci%C3%B2%20significa%20che%20la%20definizione%20nel%20file%20della%20guida%20non%20%C3%A8%20corretta%20quando%20vongola%20per%20portare%20il%20valore%20pi%C3%B9%20basso%20tra%20i%20pi%C3%B9%20frequenti.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20341px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225682_Untitled2.png%22%20style%3D%22width%3A%20304px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225682_Untitled2.png%22%20style%3D%22width%3A%20304px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225682_Untitled2.png%22%20style%3D%22width%3A%20304px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225682_Untitled2.png%22%20style%3D%22width%3A%20304px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225682_Untitled2.png%22%20style%3D%22width%3A%20304px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F318i83859E9B92404A4C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%225682_Untitled2.png%22%20alt%3D%225682_Untitled2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E2.%20quando%20la%20produzione%20di%20una%20tabella%20Frequenze%20per%20la%20larghezza%20della%20colonna%20%C3%A8%20lunga%20(ovvero%2012)%20la%20creazione%20di%20una%20tabella%20di%20dati%20non%20consente%20il%20recupero%20dell'intero%20numero.%20per%20qualche%20motivo%20produce%20una%20stringa%20di%20testo%20del%20numero%20abbreviato.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20532px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225680_Untitled.png%22%20style%3D%22width%3A%20335px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225680_Untitled.png%22%20style%3D%22width%3A%20335px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225680_Untitled.png%22%20style%3D%22width%3A%20335px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225680_Untitled.png%22%20style%3D%22width%3A%20335px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225680_Untitled.png%22%20style%3D%22width%3A%20335px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F319i1E6A374FDD27BBE0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%225680_Untitled.png%22%20alt%3D%225680_Untitled.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-8210%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8210%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3ENon%20sono%20sicuro%20che%20ci%C3%B2%20sia%20utile%2C%20ma%20sullo%20scambio%20di%20file%20JMP%20Brady%20Brady%20ha%20pubblicato%20un%20componente%20aggiuntivo%20che%20offre%20funzionalit%C3%A0%20estese%20di%20riepilogo%20delle%20statistiche%20tra%20cui%20la%20Modalit%C3%A0.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fsupport.sas.com%2Fdemosdownloads%2Fdownarea_t4.jsp%3FproductID%3D111731%26amp%3Bjmpflag%3DY%22%20title%3D%22http%3A%2F%2Fsupport.sas.com%2Fdemosdownloads%2Fdownarea_t4.jsp%3FproductID%3D111731%26amp%3Bjmpflag%3DY%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fsupport.sas.com%2Fdemosdownloads%2Fdownarea_t4.jsp%3FproductID%3D111731%26amp%3Bjmpflag%3DY%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20742px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F320i87DC9F097B635D5B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20alt%3D%225688_Screen%20Shot%202014-03-12%20at%203.30.34%20PM.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-8212%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8212%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3EGrazie%20mille%20MS.%20E%20'molto%20utile.%3C%2FP%3E%3CP%3EIn%20questo%20modo%20%C3%A8%20in%20realt%C3%A0%20pi%C3%B9%20%22onesto%22%20rispetto%20ad%20altre%20alternative%20menzionate%20in%20questa%20discussione%20poich%C3%A9%20valuta%20anche%20la%20frequenza%20dei%20dati%20mancanti.%20ad%20esempio%2C%20l'esecuzione%20del%20seguente%20script%20restituisce%20alcuni%20valori%20mancanti%20come%20modalit%C3%A0.%3C%2FP%3E%3CP%3Edt%20%3D%20open%20(%22%24%20SAMPLE_DATA%20%5C%20Cars.jmp%22)%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Emode_by_groups%20%3D%20Funzione%20(%7Bcollist%7D%2C%20%2F%2F%20elenco%20di%20nomi%20di%20colonna%3C%2FP%3E%3CP%3E%26nbsp%3B%20%2F%2F%20Trova%20la%20modalit%C3%A0%20dell'ultima%20colonna%20nel%20collist%3C%2FP%3E%3CP%3E%26nbsp%3B%20Riassumi%20(g%20%3D%20by%20(Eval%20(collist))%2C%20n%20%3D%20Count%20())%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20X%20%3D%20Design%20(g%20%5B1%5D)%3A%20*%20n%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20i%20%3D%20Loc%20(V%20max%20(Transpose%20(X%20%3D%3D%20Repeat%20(V%20max%20(X)%2C%20N%20Row%20(n)))))%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%2F%2F%20Aggiungi%20colonne%20di%20raggruppamento%20alla%20nuova%20tabella%3C%2FP%3E%3CP%3E%26nbsp%3B%20dt11%20%3D%20Nuova%20tabella%20(%22modalit%C3%A0%22)%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20Per%20(k%20%3D%201%2C%20k%20%26lt%3B%3D%20N%20articoli%20(collist)%20-%201%2C%20k%20%2B%2B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20dt11%20%26lt%3B%26lt%3B%20(Nuova%20colonna%20(carattere%20(collista%3CK%3E)%2C%20Carattere%2C%20imposta%20valori%20(g%3CK%3E%3CI%3E%20)))%3B%3C%2FI%3E%3C%2FK%3E%3C%2FK%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20)%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%2F%2F%20Aggiungi%20modalit%C3%A0%20e%20N%3C%2FP%3E%3CP%3E%26nbsp%3B%20dt11%20%26lt%3B%26lt%3B%20Nuova%20colonna%20(%22Modalit%C3%A0%20di%22%20%7C%7C%20char%20(collist%3CK%3E)%2C%20Carattere%2C%20imposta%20valori%20(g%3CK%3E%3CI%3E%20))%3B%3C%2FI%3E%3C%2FK%3E%3C%2FK%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20dt11%20%26lt%3B%26lt%3B%20Nuova%20colonna%20(%22N%22%2C%20imposta%20valori%20(n%20%3CI%3E%20))%3B%20%3C%2FI%3E%3C%2FP%3E%3CP%3E)%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Emode_by_groups%20(%7BMake%2C%20R%20Leg%7D)%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%225711_Untitled.png%22%20style%3D%22width%3A%20759px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225711_Untitled.png%22%20style%3D%22width%3A%20341px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225711_Untitled.png%22%20style%3D%22width%3A%20341px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225711_Untitled.png%22%20style%3D%22width%3A%20341px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225711_Untitled.png%22%20style%3D%22width%3A%20341px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225711_Untitled.png%22%20style%3D%22width%3A%20341px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F321i28037638F8FD2789%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%225711_Untitled.png%22%20alt%3D%225711_Untitled.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-8213%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-8213%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3ECredo%20che%20questo%20produrr%C3%A0%20anche%20il%20risultato%20previsto%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Edt%20%3D%20open%20(%22%24%20SAMPLE_DATA%20%5C%20Cars.jmp%22)%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Edt2%20%3D%20dt%20%26lt%3B%26lt%3B%20riepilogo%20(gruppo%20(%3A%20Make%2C%3A%20R%20Leg))%3B%3C%2FP%3E%3CP%3Edt2%20%26lt%3B%26lt%3B%20selectwhere%20(colma%20maximum%20(%3A%20n%20righe%2C%3A%20make)!%20%3D%3A%20n%20righe)%20%26lt%3B%26lt%3B%20Elimina%20righe%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ESaluti%2C%3C%2FP%3E%3CP%3EBrady%3C%2FP%3E%3C%2FLINGO-BODY%3E%0A%20%0A%20%0A%20%20%3CLINGO-SUB%20id%3D%22lingo-sub-8205%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%0A%20%20%3CLINGO-BODY%20id%3D%22lingo-body-8205%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%20font-size%3A%2010pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3ECIAO%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%22%3E-%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3Ela%20modalit%C3%A0%20%C3%A8%20l'elemento%20pi%C3%B9%20comune%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3Equindi%20stai%20cercando%20la%20persona%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20o%20presumibilmente%20le%20persone%20in%20caso%20di%20parit%C3%A0%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20che%20ha%20ricevuto%20il%20maggior%20numero%20di%20lettere%20da%20ciascun%20mittente%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%C3%A8%20corretto%3F%20Se%20s%C3%AC%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3EPenso%20che%20quanto%20segue%20dovrebbe%20bastare%2C%20anche%20se%20non%20ho%20dubbi%20che%20ci%20sia%20un%20modo%20molto%20pi%C3%B9%20elegante%20e%2Fo%20pi%C3%B9%20breve.%20Ho%20deliberatamente%20lasciato%20tutti%20i%20calcoli%20intermedi.%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3Ee%20ha%20nominato%20tutte%20le%20tabelle%20per%20lasciare%20una%20traccia%20di%20controllo%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%22%3E%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt1%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eaprire%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22%24SAMPLE_DATA%2FMessaggi%20di%20posta.jmp%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt1%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eimposta%20nome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22dt1%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt2%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt1%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3ERiepilogo%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20Gruppo%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDa%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20N%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3ESottogruppo%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3CSTRONG%3EA%20)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt2%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eimposta%20nome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22dt2%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EInviato%20da%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20dt2%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eottenere%20i%20nomi%20delle%20colonne%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Espettacolo%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EInviato%20%3CSTRONG%3Eda%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2F%2F%20Elimina%20i%20primi%20due%20elementi%20di%20questa%20lista%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Erimuovere%20da%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EInviato%20da%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E1%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSTRONG%3E%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E2%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%7D)%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Espettacolo%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EInviato%20%3CSTRONG%3Eda%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2F%2F%20Impilarli%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt3%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt2%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EPila%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20colonne%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Evalutazione%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EInviato%20%3CSTRONG%3Eda%20))%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EColonna%20etichetta%20sorgente%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22Etichetta%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EColonna%20dati%20impilata%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22Dati%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt3%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eimposta%20nome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22dt3%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2F%2F%20dt3%20ora%20contiene%20il%20numero%20di%20lettere%20inviate%20da%20ciascuna%20persona%20a%20ciascun%20destinatario%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt4%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt3%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3ERiepilogo%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20Gruppo%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDa%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EMassimo%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDati%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt4%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eimposta%20nome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22dt4%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2F%2F%20dt4%20ora%20contiene%20il%20numero%20massimo%20di%20lettere%20inviate%20da%20ciascuna%20persona%20a%20un%20singolo%20destinatario%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt5%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt4%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EUnisciti%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20con%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20dt3%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3ESelezionaCon%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDa%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EEtichetta%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDati%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EPer%20colonne%20corrispondenti%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDa%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDa%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3ENome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22Max(Dati)%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EDati%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EElimina%20i%20multipli%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E0%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E0%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3ENome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22Includi%20non%20corrispondenze%22%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3CSTRONG%3E)(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E0%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSTRONG%3E%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E0%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E)%3C%2FSPAN%3E%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3EMantieni%20l'ordine%20della%20tabella%20principale%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20teal%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E1%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%20%20%20%20%20%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt5%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eimposta%20nome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22dt5%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000dd%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Ecolonna%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt5%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22Etichetta%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Eimposta%20nome%20%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20purple%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%22Destinatario%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20font-size%3A%209pt%3B%20font-family%3A%20'Courier%20New'%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20navy%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%2F*%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E%20%20%20%20%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Edt5%20dovrebbe%20ora%20contenere%20il%20numero%20massimo%20di%20lettere%20inviate%20da%20ogni%20persona%20a%20qualsiasi%20destinatario%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3Ee%20il%20nome%20del%20destinatario%20(o%20dei%20destinatari%20in%20caso%20di%20parit%C3%A0)%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CSPAN%20style%3D%22color%3A%20green%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%209pt%3B%22%3E*%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3EQuesto%20dovrebbe%20darti%20che%20Ann%20ha%20inviato%204%20lettere%20a%20Michael%2C%20Jeff%20ha%20inviato%207%20lettere%20a%20Michael%2C%20John%20ha%20inviato%2012%20lettere%20a%20Michael%2C%20Katherine%20ha%20inviato%2012%20lettere%20a%20John%20e%20cos%C3%AC%20via.%20Vuoi%20provare%20e%20vedere%20se%20funziona%3F%20Per%20ottenere%20il%20numero%20massimo%20di%20lettere%20ricevute%20da%20un%20destinatario%20da%20un%20singolo%20mittente%2C%20basta%20invertire%20le%20colonne%20%3AA%20e%20%3ADa.%3C%2FP%3E%0A%20%20%3C%2FLINGO-BODY%3E%0A%20%0A%20%0A%20%20%3CLINGO-SUB%20id%3D%22lingo-sub-8206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%0A%20%20%3CLINGO-BODY%20id%3D%22lingo-body-8206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%20%20%20%3CP%3EGrazie%20Dodo%2C%3C%2FP%3E%0A%20%20%20%3CP%3Efunziona%20bene.%3C%2FP%3E%0A%20%20%3C%2FLINGO-BODY%3E%0A%20%0A%20%0A%20%20%3CLINGO-SUB%20id%3D%22lingo-sub-8207%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%0A%20%20%3CLINGO-BODY%20id%3D%22lingo-body-8207%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%20%20%20%3CP%3ECiao%20Dodo%20e%20tutti%2C%3C%2FP%3E%0A%20%20%20%3CP%3ELa%20soluzione%20di%20Dodo%20%C3%A8%20tecnicamente%20corretta%2C%20ma%20non%20%C3%A8%20utile%20quando%20si%20ha%20a%20che%20fare%20con%20i%20big%20data.%3C%2FP%3E%0A%20%20%20%3CP%3Eriflettendoci%20ho%20trovato%20una%20soluzione%20alternativa%20che%20%C3%A8%20scalabile.%3C%2FP%3E%0A%20%20%20%3CP%3Edt1%20%3D%20Open(%20%22%24SAMPLE_DATA%2FMessaggi%20di%20posta.jmp%22%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3Edt1%20%26lt%3B%26lt%3B%20imposta%20nome(%20%22dt1%22%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%2F%2F%20produce%20una%20distribuzione%20di%20revciver%20per%20mittenti%3C%2FP%3E%0A%20%20%20%3CP%3Edt1%20%26lt%3B%26lt%3B%20Nuovo%20script(%20%22Distribuzione%22%2C%20Distribuzione(%20Distribuzione%20nominale(%20Colonna(%20%3AA%20)%20)%2C%20Per(%20%3ADa%20)%20)%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3EDist%20%3D%20Dt1%20%26lt%3B%26lt%3B%20Esegui%20script(%20%22Distribuzione%22%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%2F%2F%20estrae%20le%20tabelle%20di%20frequenza%20come%20un'unica%20tabella%20dati.%3C%2FP%3E%0A%20%20%20%3CP%3Edt2%20%3D%20Report(%20dist%5B1%5D%20)%5B%22Frequenze%22%5D%5BTable%20Box(%201%20)%5D%20%26lt%3B%26lt%3B%20Crea%20tabella%20dati%20combinati%3B%3C%2FP%3E%0A%20%20%20%3CP%3Edt2%20%26lt%3B%26lt%3B%20imposta%20nome(%20%22dt2%22%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3Edist%20%26lt%3B%26lt%3B%20chiudi%20finestra%3B%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%2F%2F%20rimuovere%20le%20righe%20%22Totale%22%20dalla%20tabella%20dati%3A%20non%20rappresentano%20frequenze%20rilevanti%3C%2FP%3E%0A%20%20%20%3CP%3Eselezione%20%3D%20dt2%20%26lt%3B%26lt%3B%20Seleziona%20Dove(%20%3ALivello%20%3D%3D%20%22Totale%22%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3Eselezione%20%26lt%3B%26lt%3B%20Elimina%20righe%3B%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%2F%2F%20riepiloga%20per%20ottenere%20la%20modalit%C3%A0%20%22A%22%20per%20ogni%20%22Da%22%3C%2FP%3E%0A%20%20%20%3CP%3Edt3%20%3D%20Tabella%20dati(%20%22dt2%22%20)%20%26lt%3B%26lt%3B%20Riepilogo(%20Gruppo(%20%3ADa%20)%2C%20Max(%20%3AConteggio%20)%2C%20formato%20nome%20colonna%20statistiche(%20%22colonna%22%20)%2C%20Collegamento%20alla%20tabella%20dati%20originale(%200%20)%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3Edt3%20%26lt%3B%26lt%3B%20Imposta%20Nome(%20%22Modalit%C3%A0%22%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3E%2F%2F%20aggiorna%20la%20tabella%20di%20riepilogo%20per%20ottenere%20i%20valori%20di%20%22A%22%3C%2FP%3E%0A%20%20%20%3CP%3Edt3%20%26lt%3B%26lt%3B%20Aggiorna(%20Con(%20Tabella%20dati(%20%22dt2%22%20)%20)%2C%20Corrispondenza%20colonne(%20%3ADa%20%3D%20%3ADa%2C%20%3AConteggio%20%3D%20%3AConteggio%20)%2C%20Aggiungi%20colonne%20dalla%20tabella%20di%20aggiornamento(%20%3ALivello%20)%20)%3B%3C%2FP%3E%0A%20%20%20%3CP%3Edt2%20%26lt%3B%26lt%3B%20chiudi%20finestra%3B%3C%2FP%3E%0A%20%20%20%3CP%3EColonna(%20dt3%2C%20%22Livello%22%20)%20%26lt%3B%26lt%3B%20Imposta%20Nome(%20%22Modalit%C3%A0%22%20)%3B%3C%2FP%3E%0A%20%20%3C%2FLINGO-BODY%3E%0A%20%0A%20%0A%20%20%3CLINGO-SUB%20id%3D%22lingo-sub-8208%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20trovare%20la%20modalit%C3%A0%3C%2FLINGO-SUB%3E%0A%20%20%3CLINGO-BODY%20id%3D%22lingo-body-8208%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%20%20%20%3CP%3ESpesso%20ci%20sono%20diversi%20modi%20per%20eseguire%20un'attivit%C3%A0%20in%20JMP.%20Ho%20appena%20ricordato%20una%20funzione%20che%20ho%20scritto%20qualche%20tempo%20fa%2C%20piuttosto%20efficiente%20per%20trovare%20l'elemento%20pi%C3%B9%20comune%20raggruppato%20per%20una%20o%20pi%C3%B9%20colonne.%20La%20condivido%20qui%20come%20alternativa%20agli%20approcci%20precedenti.%20Il%20risultato%20%C3%A8%20simile%20a%20quello%20di%20Dodo%2C%20ovvero%20vengono%20restituite%20tutte%20le%20modalit%C3%A0%20%22tied%22%2C%20non%20solo%20l'ultima%20come%20nell'approccio%20di%20Ron%20che%20usa%20update().%3C%2FP%3E%0A%20%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Emode_by_groups%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EFunzione%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSTRONG%3E%7B%3C%2FSTRONG%3E%20collist%20%3CSTRONG%3E%7D%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%234c910b%3B%22%3E%2F%2F%20elenco%20dei%20nomi%20delle%20colonne%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%234c910b%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%20%3C%2FSPAN%3E%2F%2F%20Trova%20la%20modalit%C3%A0%20dell'ultima%20colonna%20in%20collist%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3ERiassumi%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20g%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20by%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EValutazione%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20collist%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20n%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EContare%3C%2FSPAN%3E%20%3CSTRONG%3E()%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3EX%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EProgettazione%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20g%20%3CSTRONG%3E%5B%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E1%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSTRONG%3E%5D%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3A*%3C%2Fimg%3E%3C%2FSPAN%3E%20n%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Ei%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EPosto%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EV%20Max%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3ETrasponi%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20X%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3ERipeti%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EV%20Max%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20X%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EN%20Riga%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20n%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%234c910b%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%20%3C%2FSPAN%3E%2F%2FAggiungi%20colonne%20di%20raggruppamento%20alla%20nuova%20tabella%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Edt1%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3ENuova%20tabella%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%22modalit%C3%A0%22%3C%2FSPAN%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EPer%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20k%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E1%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20k%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%26lt%3B%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EN%20elementi%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20collist%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E-%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23509092%3B%22%3E%3CSTRONG%3E1%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20k%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2B%2B%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Edt1%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3CSTRONG%3ENuova%20colonna%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3Ecarattere%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20collist%20%3CSTRONG%3E%5B%3C%2FSTRONG%3E%20k%20%3CSTRONG%3E%5D)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20Carattere%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20imposta%20valori%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20g%20%3CSTRONG%3E%5B%3C%2FSTRONG%3E%20k%20%3CSTRONG%3E%5D%5B%3C%2FSTRONG%3E%20i%20%3CSTRONG%3E%5D%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E))%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%20%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%234c910b%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%20%3C%2FSPAN%3E%2F%2FAggiungi%20modalit%C3%A0%20e%20N%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Edt1%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3CSTRONG%3ENuova%20colonna%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%22Modalit%C3%A0%20di%22%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%7C%7C%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3Ecarattere%3C%2FSPAN%3E%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20collist%20%3CSTRONG%3E%5B%3C%2FSTRONG%3E%20k%20%3CSTRONG%3E%5D)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20Character%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20set%20values%20%3CSTRONG%3E%E2%80%8B%E2%80%8B(%3C%2FSTRONG%3E%20g%20%3CSTRONG%3E%5B%3C%2FSTRONG%3E%20k%20%3CSTRONG%3E%5D%5B%3C%2FSTRONG%3E%20i%20%3CSTRONG%3E%5D%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%20%20dt1%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3CSTRONG%3ENuova%20colonna%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23801392%3B%22%3E%22N%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20set%20values%3CSTRONG%3E(%3C%2FSTRONG%3E%20n%3CSTRONG%3E%5B%3C%2FSTRONG%3Ei%3CSTRONG%3E%5D%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%234c910b%3B%22%3E%2F%2FEsempi%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EApri%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22%24SAMPLE_DATA%2FMail%20Messages.jmp%22%20%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Emode_by_groups%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSTRONG%3E%7B%3C%2FSTRONG%3E%20Da%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20A%20%3CSTRONG%3E%7D%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3EAprire%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%22%24SAMPLE_DATA%2FConsumer%20Preferences.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%20%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Emode_by_groups%20%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSTRONG%3E%7B%3C%2FSTRONG%3E%20Genere%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20Stato%20di%20celibe%20%2F%20nubile%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%2C%3C%2FSPAN%3E%20Anno%20di%20nascita%20%3CSTRONG%3E%7D%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%20%20%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
ron_horne
Super User (Alumni)

finding the mode

hi everyone,

i would like to produce a table summery that gives the mode of a variable for each category of another variable.

ideally, this would work:

dt = open ("$SAMPLE_DATA/Mail Messages.jmp");
dt << summary ( Group ( :From ), Mode (:To) );

alternatively, i would stack the table by "From" and calculate the mode at each row. yet, "Mode" is not an option in Table summary or column formula.

any ideas calculating the mode are welcome including in sending to SAS.

i am using JMP 10.

thank you,

Ron

1 ACCEPTED SOLUTION

Accepted Solutions
ron_horne
Super User (Alumni)

Re: finding the mode

Thank you Brady,

This is by far the most parsimonious and robust script.

I would like to add one optional line of code to disable the possibility of missing values as the mode:

dt = open ("$SAMPLE_DATA\Cars.jmp");

dt2 = dt << summary(group(:Make, :R Leg));

// option to disable the possibility of missing values as modes

dt2 << Select Where ( IsMissing (:R Leg)) << Delete Rows;

dt2 << selectwhere(colmaximum(:n rows, :make) != :n rows) << Delete Rows;

View solution in original post

11 REPLIES 11

Re: finding the mode

Hi - the mode is the most common item, so you're after the person (or presumably persons if there's a tie) who received the most number of letters from each sender, is that right?  If so, I think the following ought to do it, although I've no doubt there's a much more elegant and/or shorter way.  I've deliberately left all the intermediate calculations, and named all the tables to leave an audit trail:

dt1 = open ("$SAMPLE_DATA/Mail Messages.jmp");

dt1 << set name("dt1");

dt2 = dt1 << Summary( Group( :From ), N, Subgroup( :To ) );

dt2 << set name("dt2");

Sent_From = (dt2 << get column names);

show(Sent_From);

// Throw away the first two elements of this list;

remove from(Sent_From, {1, 2});

show(Sent_From);

// Stack them up;

dt3 = dt2 << Stack(columns(eval(Sent_From)), Source Label Column( "Label" ), Stacked Data Column( "Data" ));

dt3 << set name("dt3");

// dt3 now contains the number of letters sent from each person to each recipient;

dt4 = dt3 << Summary( Group( :From ), Max( :Data ) );

dt4 << set name("dt4");

// dt4 now contains the maximum number of letters sent from each person to any one recipient;

dt5 = dt4 << Join( With( dt3 ),

       SelectWith(:From, :Label, :Data ),

       By Matching Columns( :From = :From, :Name( "Max(Data)" ) = :Data ),

       Drop multiples( 0, 0 ),

       Name("Include non-matches" )(0, 0),

       Preserve main table order( 1 )

       );

dt5 << set name("dt5");

column(dt5, "Label") << set name("Recipient");

/*

     dt5 should now contain the maximum number of letters sent from each person to anyone recipient

     and the name of that recipient (or recipients in the event of a tie)

*/

That should give you that Ann sent 4 letters to Michael, Jeff sent 7 letters to Michael, John sent 12 letters to Michael, Katherine sent 12 letters to John and so on.  Would you like to try that out and see if it does what you need?  To get the maximum number of letters received by any recipient from any one sender, just swap over the :To and :From columns.

ron_horne
Super User (Alumni)

Re: finding the mode

Thank you Dodo,

it works fine.

ron_horne
Super User (Alumni)

Re: finding the mode

hi Dodo and all,

Dodo's solution is technically correct but is not useful when dealing with big data.

thinking it over i have an alternative solution which is scalable.

dt1 = Open( "$SAMPLE_DATA/Mail Messages.jmp" );

dt1 << set name( "dt1" );

// produce a distribution of revcivers by senders

dt1 << New Script( "Distribution", Distribution( Nominal Distribution( Column( :To ) ), By( :From ) ) );

Dist = Dt1 << Run Script( "Distribution" );

// extract the frequency tables as one data table.

dt2 = Report( dist[1] )["Frequencies"][Table Box( 1 )] << Make Combined Data Table;

dt2 << set name( "dt2" );

dist << close window;

// remove the "Total" rows from the data table - they do not represent relevant Frequencies

selection = dt2 << Select Where( :Level == "Total" );

selection << Delete Rows;

// summarize to get the mode "To" for each "From"

dt3 = Data Table( "dt2" ) << Summary( Group( :From ), Max( :Count ), statistics column name format( "column" ), Link to original data table( 0 ) );

dt3 << Set Name( "Mode" );

// update the summary table to get the values of "To"

dt3 << Update( With( Data Table( "dt2" ) ), Match Columns( :From = :From, :Count = :Count ), Add Columns from Update table( :Level ) );

dt2 << close window;

Column( dt3, "Level" ) << Set Name( "Mode" );

ms
Super User (Alumni) ms
Super User (Alumni)

Re: finding the mode

There are often several ways to perform a task in JMP. I just recalled a function I wrote some time ago that's quite efficient for finding the most common item grouped by one a or more columns. I share it here as an alternative to the above approaches. The result is similar to Dodo's, i.e. all "tied" modes are returned, not only the last as in Ron's approach using update().

mode_by_groups = Function( {collist}, // list of column names

  // Find mode of last column in collist

  Summarize( g = by( Eval( collist ) ), n = Count() );

  X = Design( g[1] ) :* n;

  i = Loc( V Max( Transpose( X == Repeat( V Max( X ), N Row( n ) ) ) ) );

  //Add grouping columns to new table

  dt1 = New Table( "modes" );

  For( k = 1, k <= N Items( collist ) - 1, k++,

  dt1 << (New Column( char(collist[k]), Character, set values( g[k][i] ) ));

  );

  //Add Mode and N

  dt1 << New Column( "Mode of " || char(collist[k]), Character, set values( g[k][i] ) );

  dt1 << New Column( "N", set values( n[i] ) );

);

//Examples

Open( "$SAMPLE_DATA/Mail Messages.jmp" );

mode_by_groups( {From, To} );

Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );

mode_by_groups( {Gender, Single Status, Birth Year} );

ron_horne
Super User (Alumni)

Re: finding the mode

Thank you very much.

dealing with the mode i came across two issues that look like faults of the JMP program.

1. if there is only one observation the distribution platform does not provide a mode at all. Furthermore, in case of tied frequency of 1 nothing is returned either. this means that the definition in the help file is incorrect when it clams to bring the lower value among the most frequent.

5682_Untitled2.png

2. when producing a Frequencies table for the column width is long (i.e. 12) making a data table does not allow for recovering the whole number. for some reason it produces a text string of the abbreviated number.

5680_Untitled.png

louv
Staff (Retired)

Re: finding the mode

Not sure if this is helpful but on the JMP File Exchange Brady Brady has posted an add-in that gives extended summary statistics capability including the Mode.

http://support.sas.com/demosdownloads/downarea_t4.jsp?productID=111731&jmpflag=Y

5688_Screen Shot 2014-03-12 at 3.30.34 PM.png

ron_horne
Super User (Alumni)

Re: finding the mode

Thank you LouV

this is defiantly useful yet not perfect.

Brady's Add-in is only accessible by the GUI and not by script - if it is please let me know.

the N Rows column that shows up is the number of occurrences in each Group and not the frequency of the mode itself. further more i didn't see built in option to get that frequency - if there is please let me know.

otherwise it is powerful and scalable. Brady's add-in aught to be part of the program and not a patch.

Re: finding the mode

Hi Ron,

I believe that the reason JMP reports no mode when a) only one observation exists and 2) when all observations occur only once is that each of these is consistent with the way the mode is defined in many textbooks. i.e., if no element appears more than once, no mode exists.

Cheers,

Brady

ron_horne
Super User (Alumni)

Re: finding the mode

Thank you very much MS. it is very useful.

This way is actually more "honest" than other alternatives mentioned in this discussion since it also assesses the frequency of missing data. for example, running the following script returns some missing values as the mode.

dt = open ("$SAMPLE_DATA\Cars.jmp");

mode_by_groups = Function( {collist}, // list of column names

  // Find mode of last column in collist

  Summarize( g = by( Eval( collist ) ), n = Count() );

  X = Design( g[1] ) :* n;

  i = Loc( V Max( Transpose( X == Repeat( V Max( X ), N Row( n ) ) ) ) );

  //Add grouping columns to new table

  dt11 = New Table( "modes" );

  For( k = 1, k <= N Items( collist ) - 1, k++,

  dt11 << (New Column( char(collist), Character, set values( g ) ));

  );

  //Add Mode and N

  dt11 << New Column( "Mode of " || char(collist), Character, set values( g ) );

  dt11 << New Column( "N", set values( n ) );

);

mode_by_groups( {Make , R Leg } );

5711_Untitled.png

Recommended Articles