Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- querying and modifying value of Kernel Std values in Bivariate Fit Nonpar Densit...

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

querying and modifying value of Kernel Std values in Bivariate Fit Nonpar Density

Jun 27, 2019 11:37 AM
(1920 views)

Hello all ... I am trying to write a JSL script which sets a JSL variable to the value of default Kernel Std in Quantile Density Contours in the Nonpar Density for a Bivariate Fit. I know that this can be done with Kernel Control in red triangle menu using sliders.

For instance, I want to run a Nonpar Density, and then rerun after multiplying the default Kernel Std values by 0.5 or 2.0 or ...

Thanks in advance

3 REPLIES 3

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: querying and modifying value of Kernel Std values in Bivariate Fit Nonpar Density

The values you want to set are available via the sliders. And the sliders are in a Table Box(). The below code will change the first slider in the output, but I can not figure out how to change the second slider. I hope someone in the Discussion Group will know the answer

```
names default to here(1);
dt=open("%SAMPLE_DATA/semiconductor capability.jmp");
biv=Bivariate(
Y( :NPN1 ),
X( :PNP1 ),
Nonpar Density(
{Kernel Control( 1 ), Set Kernel( 0.01, 0.39541281110805 ),
Color Theme( "Spectral" )}
)
);
report(biv)["Quantile Density Contours"][SliderBox(1)]<<set(20);
```

Jim

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: querying and modifying value of Kernel Std values in Bivariate Fit Nonpar Density

thank you for “part one” of answer 😁

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: querying and modifying value of Kernel Std values in Bivariate Fit Nonpar Density

thank you again ...

just to clarify, I need to query the current value of each kernel std value ... post-query I want to modify it and then set it accordingly

Article Labels

There are no labels assigned to this post.