cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • 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!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

Discussions

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

Variability chart column switcher : report summary in variables

HI All,

i am using variability plateform with column switcher and reading median values from variability report into a variable.

it works fine for first, but when i switch click any other column in column switcher it generates error: "Cannot find item "Variability Chart for height" in outline context {"Variability Chart for height"}".

 

any workaround for this error. Thanks in advance.

-Ram

 

 

dt=Open( "$SAMPLE_DATA/Big Class.jmp");
new window("",
Hlistbox(
varcollist=dt<<get column names(string);
varobj=Variability Chart(
  Y( :height ),
  X( :age, :sex ),
  Max Iter( 100 ),
  Conv Limit( 0.00000001 ),
  Number Integration Abscissas( 128 ),
  Number Function Evals( 65536 ),
  Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
  Show Range Bars( 0 ),
  Show Cell Means( 0 ),
  Std Dev Chart( 0 ),
  Show Box Plots( 1 ),
  Variability Summary Report( 1 )

);
reportvar = varobj << Report;
try(Number Col Box("", stringval));
Try(string=reportvar[StringColBox(1)] << Get());
Try(stringval=reportvar[NumberColBox(9)] << Get()),
String Col Box("", string);
show(string);
));
csobj=varobj<<Column Switcher( :height,  varcollist );

 

1 REPLY 1
msharp
Super User (Alumni)

Re: Variability chart column switcher : report summary in variables

What version of jmp are you using?  I don't have any errors when running the script. 

I should note that you try to add columns :age and :sex which is impossible since they are both x variables and can't be added to the Y for a variability chart.  Doesn't make much sense to try and compare X to X.  It's uninteresting results.  I'm using JMP 12 Pro and it automatically filtered out those columns in the switcher.  It would have been nice if it automatically filtered the :name column as well since the nominal data is invalid.

Recommended Articles