cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP 19 is here! See the new features at jmp.com/new.
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
Choose Language Hide Translation Bar
susanho1225
Level I

multiple column mean

See attached, I tried to add a new column for mean from 3 other columns by "col mean( col1, col2, col3)". But the mean seems a little bit off, and I used "(col1+col2+col3)/3" to verify, and it gives me the correct result. What is the possible cause of this? Screen Shot 2025-07-08 at 14.57.44.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: multiple column mean

You don't want the Col Mean() function, you just want the Mean() function

 
Jim

View solution in original post

Re: multiple column mean

Expanding on @txnelson's suggestion, the Col Mean() function uses the additional arguments after the first to group the data. This behavior is very convenient, but, as he said, not what you want this time.

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: multiple column mean

You don't want the Col Mean() function, you just want the Mean() function

 
Jim

Re: multiple column mean

Expanding on @txnelson's suggestion, the Col Mean() function uses the additional arguments after the first to group the data. This behavior is very convenient, but, as he said, not what you want this time.

Recommended Articles