Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
Ashraff09
Level I

Excluding Rows based on Row Character in a Column Formula

Hello Everyone 

 

I would like to calculate the column standard deviation ,but I would like to exclude a certain rows depending another row value. 

 

For example, in Excel, my formula in excel will be as follows, i.e the formula for each cell will calculate the standard deviation for other than the row :Columns value. 

 

e.g this is standard deviation formula when Columns == B is excluded 

Ashraff09_0-1589251564845.png

 

e.g this is standard deviation formula when Columns == C is excluded

Ashraff09_1-1589251666989.png

 

How can i do this in JMP using Column Formula? 

I have tried to use this Formula but, the result does not match with the excel Formula ?

 

Col Std Dev( :Value, :Columns, Excluded State( :Columns ) )

thank you in advance for reading my post and please let me know if there is an elegant solution for this.. 

 

Regards

Ashraff 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Excluding Rows based on Row Character in a Column Formula

What your Excel formulas are saying, is to exclude all of the rows from the calculation that have the same value of column Columns.  Here is the formula 

curColumns = :Columns;
Col Std Dev( If( :Columns == curColumns, ., :Value ) );
Jim

View solution in original post

2 REPLIES 2
Highlighted
txnelson
Super User

Re: Excluding Rows based on Row Character in a Column Formula

What your Excel formulas are saying, is to exclude all of the rows from the calculation that have the same value of column Columns.  Here is the formula 

curColumns = :Columns;
Col Std Dev( If( :Columns == curColumns, ., :Value ) );
Jim

View solution in original post

Highlighted
Ashraff09
Level I

Re: Excluding Rows based on Row Character in a Column Formula

Hi Txnelson. 

 

thank you very much. This is very helpfull

Article Labels

    There are no labels assigned to this post.