Bonjour,

J'essaie d'exporter le "mean" et "median" de plusieurs variables var1, var2, var3 etc.. par SECURITY et EVENT_WINDOW, 2 autres variables dont je dispose. je voudrais faire quelque chose comme ca:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
EVENT_WINDOW(1)
           mean(var1) median(var1)  mean(var2) mean(var2) ...  
SECURITY(1)
SECURITY(2)
SECURITY(3)
etc
SECURITY(N)
 
EVENT_WINDOW(2)
                 mean(var1) median(var1)  mean(var2) mean(var2) ...  
SECURITY(1)
SECURITY(2)
SECURITY(3)
etc
SECURITY(N)
......
EVENT_WINDOW(N)
                 mean(var1) median(var1)  mean(var2) mean(var2) ...  
SECURITY(1)
SECURITY(2)
SECURITY(3)
etc
SECURITY(N)
J'ai essaye ca, mais ca ne marche pas:

tabout security event_window using test.txt, ///
cells(mean var1 median var1 mean var2 median var2) ///
replace

A l'aide . Merci d'avance!