Ciao a tutti,
Ho ricevuto alcune descrizioni da JMP, incluso nell'output era: N Rows, ho pensato che fosse utile ne avrei avuto bisogno in seguito, sfortunatamente questo è un conteggio delle righe effettive e non n, dato che ho alcuni dati mancanti, c'è una semplice riga di codice in JMP che posso ottenere l'effettivo n e non contare i dati mancanti, simile a na.rm = TRUE, per gruppi, il codice che ho usato è il seguente:
dt3 << Summary(
Group( :Scale Area, :Process Step, :Subtype, Quality Attribute ),
Mean( :Data ),
Std Dev( :Data ),
Std Err(:Data),
Freq( "None" ),
Weight( "None" ),
Output Table( "Descriptives" ),
Link to original data table(0)
);
dt4 = Data Table( "Descriptives" ) << Split(
Split By( :Scale Area ),
Split( :"Mean(Data)"n, :"Std Dev(Data)"n, :N Rows, :"Std Err(Data)"n ),
Group( :Process Step, :Subtype, :Quality Attribute ),
Remaining Columns( Drop All ),
Output Table( "Mean Ratio"),
Sort by Column Property
);
Qualsiasi suggerimento sarebbe apprezzato.
Grazie,
Mick.