<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to extract a numberical value from &amp;quot;Distribution&amp;quot; display box? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-extract-a-numberical-value-from-quot-Distribution-quot/m-p/214#M214</link>
    <description>Hi, all&lt;BR /&gt;&lt;BR /&gt;I met a problem in extracing a numeric value from a display box object. &lt;BR /&gt;It is very tricky and could not figure it out.&lt;BR /&gt;I have following table "Data.jmp", and try to fit its distribution using following JSL code:&lt;BR /&gt;&lt;BR /&gt;dt = CurrentDataTable();&lt;BR /&gt;div = Distribution( Stack( 1 ), &lt;BR /&gt;  Continuous Distribution(Column( :Value ), Horizontal Layout( 1 ), Vertical( 0 ),&lt;BR /&gt;        Fit Distribution( Normal(Goodness of Fit( 1 ))), More Moments(1) ),&lt;BR /&gt;  SendToReport( Dispatch( {"Value"}, "Distrib Outlier Box", FrameBox, Marker Drawing Mode( "Fast" )) )&lt;BR /&gt;   );&lt;BR /&gt;r = div &amp;lt;&amp;lt; Report; &lt;BR /&gt;skewness = r["Value"]["Moments"][NumberColBox(2)] &amp;lt;&amp;lt; get(10);&lt;BR /&gt;&lt;BR /&gt;But the code cannot run, because the error message: "Can't subscript Display Box in access or evaluation of 'Subscript' , r["Value"]["Moments"][Number Col Box( 2 )]"&lt;BR /&gt;&lt;BR /&gt;Would you please advise me how to refer to the "Skewness" value in this display window?&lt;BR /&gt;&lt;BR /&gt;Appreciate your kind help and effort.&lt;BR /&gt;Fred&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table: "DATA.jmp"&lt;BR /&gt;-------------------------------&lt;BR /&gt;Value&lt;BR /&gt;5.2185061&lt;BR /&gt;6.6833499&lt;BR /&gt;5.3100586&lt;BR /&gt;4.5776369&lt;BR /&gt;3.3874512&lt;BR /&gt;4.943848&lt;BR /&gt;6.6833499&lt;BR /&gt;5.9509278&lt;BR /&gt;6.1340333&lt;BR /&gt;5.6762697&lt;BR /&gt;7.5988771&lt;BR /&gt;5.7678227&lt;BR /&gt;6.6833499&lt;BR /&gt;5.5847171&lt;BR /&gt;4.4860839&lt;BR /&gt;5.8593752&lt;BR /&gt;6.9580079&lt;BR /&gt;5.6762697&lt;BR /&gt;4.2114259&lt;BR /&gt;5.0354005&lt;BR /&gt;6.2255863&lt;BR /&gt;5.0354005&lt;BR /&gt;5.4016116&lt;BR /&gt;5.8593752&lt;BR /&gt;6.2255863&lt;BR /&gt;6.6833499&lt;BR /&gt;4.7607425&lt;BR /&gt;4.3945314&lt;BR /&gt;6.6833499&lt;BR /&gt;7.0495609&lt;BR /&gt;6.0424807&lt;BR /&gt;5.2185061&lt;BR /&gt;6.5917973&lt;BR /&gt;4.7607425&lt;BR /&gt;7.4157716&lt;BR /&gt;3.7536623&lt;BR /&gt;5.3100586&lt;BR /&gt;6.4086918&lt;BR /&gt;6.5002443&lt;BR /&gt;4.943848</description>
    <pubDate>Mon, 09 Mar 2009 18:21:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-03-09T18:21:57Z</dc:date>
    <item>
      <title>How to extract a numberical value from "Distribution" display box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-extract-a-numberical-value-from-quot-Distribution-quot/m-p/214#M214</link>
      <description>Hi, all&lt;BR /&gt;&lt;BR /&gt;I met a problem in extracing a numeric value from a display box object. &lt;BR /&gt;It is very tricky and could not figure it out.&lt;BR /&gt;I have following table "Data.jmp", and try to fit its distribution using following JSL code:&lt;BR /&gt;&lt;BR /&gt;dt = CurrentDataTable();&lt;BR /&gt;div = Distribution( Stack( 1 ), &lt;BR /&gt;  Continuous Distribution(Column( :Value ), Horizontal Layout( 1 ), Vertical( 0 ),&lt;BR /&gt;        Fit Distribution( Normal(Goodness of Fit( 1 ))), More Moments(1) ),&lt;BR /&gt;  SendToReport( Dispatch( {"Value"}, "Distrib Outlier Box", FrameBox, Marker Drawing Mode( "Fast" )) )&lt;BR /&gt;   );&lt;BR /&gt;r = div &amp;lt;&amp;lt; Report; &lt;BR /&gt;skewness = r["Value"]["Moments"][NumberColBox(2)] &amp;lt;&amp;lt; get(10);&lt;BR /&gt;&lt;BR /&gt;But the code cannot run, because the error message: "Can't subscript Display Box in access or evaluation of 'Subscript' , r["Value"]["Moments"][Number Col Box( 2 )]"&lt;BR /&gt;&lt;BR /&gt;Would you please advise me how to refer to the "Skewness" value in this display window?&lt;BR /&gt;&lt;BR /&gt;Appreciate your kind help and effort.&lt;BR /&gt;Fred&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table: "DATA.jmp"&lt;BR /&gt;-------------------------------&lt;BR /&gt;Value&lt;BR /&gt;5.2185061&lt;BR /&gt;6.6833499&lt;BR /&gt;5.3100586&lt;BR /&gt;4.5776369&lt;BR /&gt;3.3874512&lt;BR /&gt;4.943848&lt;BR /&gt;6.6833499&lt;BR /&gt;5.9509278&lt;BR /&gt;6.1340333&lt;BR /&gt;5.6762697&lt;BR /&gt;7.5988771&lt;BR /&gt;5.7678227&lt;BR /&gt;6.6833499&lt;BR /&gt;5.5847171&lt;BR /&gt;4.4860839&lt;BR /&gt;5.8593752&lt;BR /&gt;6.9580079&lt;BR /&gt;5.6762697&lt;BR /&gt;4.2114259&lt;BR /&gt;5.0354005&lt;BR /&gt;6.2255863&lt;BR /&gt;5.0354005&lt;BR /&gt;5.4016116&lt;BR /&gt;5.8593752&lt;BR /&gt;6.2255863&lt;BR /&gt;6.6833499&lt;BR /&gt;4.7607425&lt;BR /&gt;4.3945314&lt;BR /&gt;6.6833499&lt;BR /&gt;7.0495609&lt;BR /&gt;6.0424807&lt;BR /&gt;5.2185061&lt;BR /&gt;6.5917973&lt;BR /&gt;4.7607425&lt;BR /&gt;7.4157716&lt;BR /&gt;3.7536623&lt;BR /&gt;5.3100586&lt;BR /&gt;6.4086918&lt;BR /&gt;6.5002443&lt;BR /&gt;4.943848</description>
      <pubDate>Mon, 09 Mar 2009 18:21:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-extract-a-numberical-value-from-quot-Distribution-quot/m-p/214#M214</guid>
      <dc:creator />
      <dc:date>2009-03-09T18:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a numberical value from "Distribution" display box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-extract-a-numberical-value-from-quot-Distribution-quot/m-p/215#M215</link>
      <description>Your script got mangled, but I could get the skewness by replacing the last line with:&lt;BR /&gt;&lt;BR /&gt;skewness = r["Moments"][NumberColBox(1)][10];</description>
      <pubDate>Wed, 11 Mar 2009 16:03:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-extract-a-numberical-value-from-quot-Distribution-quot/m-p/215#M215</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2009-03-11T16:03:14Z</dc:date>
    </item>
  </channel>
</rss>

