cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

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