cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Grouped Interpolate

While writing the post
https://community.jmp.com/t5/Discussions/Difference-of-lines/m-p/691643/highlight/true#M87740 

I was reminded of a question that a colleague of mine had some while ago:

 

Is there a grouped Interpolate function in JSL?

Interpolate(myheight, :height, :weight, by(:sex), for({"F","M"}))

which returns {weightF, weightM} @ myheight for F & M after separately interpolating :weight vs. :height for the 2 subgroups?

2 REPLIES 2
jthi
Super User

Re: Grouped Interpolate

I think when I did this, I did write my own function(s).

I'm fairly sure I have seen some wish list items regarding using by/group with matrix operations. This is the Matrix Operations with By variables 

 

-Jarmo
hogi
Level XIII

Re: Grouped Interpolate

here is a wish to add a GroupBy option to Interpolate:

Group by - sooo useful!!! how about Interpolate? 

Recommended Articles