cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Learn some foundational elements of JMP Scripting Language (JSL) and how to extend point & click automation into repeatable, shareable routines. Register. June 26, 2 p.m. US Eastern Time.

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