<?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 Re: How to save report as a text file? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368490#M61836</link>
    <description>&lt;P&gt;If I am interpreting your question correctly, I believe you are not understanding what is contained in a JMP .rpt file.&amp;nbsp; It does not contain the results of your logistic analysis.&amp;nbsp; It only contains the script, and possibly the data table that when run will rerun the logistic analysis.&lt;/P&gt;
&lt;P&gt;What I think you want to do, is available directly from the Output Display from the logistic analysis, without having to save it as a file. The following script creates a Logistic Fit and then strips off the Chi Square value and prints it to the log&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");

lg = Logistic( Y( :sex ), X( :height ), Target Level( "M" ) );

chiSQ = (report(lg)["Whole Model Test"][numbercolbox(3)]&amp;lt;&amp;lt;get)[1];

show( chiSQ );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lg.PNG" style="width: 425px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31310i28FFF67D996DD620/image-size/large?v=v2&amp;amp;px=999" role="button" title="lg.PNG" alt="lg.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The log output&lt;/P&gt;
&lt;PRE&gt;chiSQ = 5.50032691715703;&lt;/PRE&gt;
&lt;P&gt;The Logistic output does not have to be displayed in order to parse the values.&lt;/P&gt;
&lt;P&gt;If what you are after, is actually parsing through the script that generates the above you can also request from the output report, to extract the script using&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt; get script&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 04:54:26 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-03-17T04:54:26Z</dc:date>
    <item>
      <title>How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368452#M61835</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script to run a logistics regression. I then want to save it as a text file, akin to doing a Ctrl+s with that report open, selecting "txt file" in "Save as type", then saving it. Is there a way to script this last saving part? I've tried Save(), SaveAs(), Save Text File() and none of them seem to work. I'm intending to then use a separate bash script to parse through that text file for the exact numbers I need. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:08:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368452#M61835</guid>
      <dc:creator>jcashida</dc:creator>
      <dc:date>2023-06-09T22:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368490#M61836</link>
      <description>&lt;P&gt;If I am interpreting your question correctly, I believe you are not understanding what is contained in a JMP .rpt file.&amp;nbsp; It does not contain the results of your logistic analysis.&amp;nbsp; It only contains the script, and possibly the data table that when run will rerun the logistic analysis.&lt;/P&gt;
&lt;P&gt;What I think you want to do, is available directly from the Output Display from the logistic analysis, without having to save it as a file. The following script creates a Logistic Fit and then strips off the Chi Square value and prints it to the log&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");

lg = Logistic( Y( :sex ), X( :height ), Target Level( "M" ) );

chiSQ = (report(lg)["Whole Model Test"][numbercolbox(3)]&amp;lt;&amp;lt;get)[1];

show( chiSQ );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lg.PNG" style="width: 425px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31310i28FFF67D996DD620/image-size/large?v=v2&amp;amp;px=999" role="button" title="lg.PNG" alt="lg.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The log output&lt;/P&gt;
&lt;PRE&gt;chiSQ = 5.50032691715703;&lt;/PRE&gt;
&lt;P&gt;The Logistic output does not have to be displayed in order to parse the values.&lt;/P&gt;
&lt;P&gt;If what you are after, is actually parsing through the script that generates the above you can also request from the output report, to extract the script using&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt; get script&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 04:54:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368490#M61836</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-17T04:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368497#M61837</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here is a script that showcases the use of Save MSWord () command that may meet your requirements&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here (1);

dt = New Table( "TEST for REPORT", // PRODUCES DUMMY DATA (not impprotant to the Script)
	Add Rows( 100 ),
	New Column( "X1",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values(
			[-1.75737689252763, -0.764592545628707, 0.0510173405612358,
			0.296947452630042, 1.07254119757705, -0.457175811296141, 2.2967706289395,
			-2.03142875936277, -0.363048769682677, -0.5070633105302,
			0.154495773405026, 0.369788925828579, 0.597166128844207,
			-1.07960670306945, -1.30872421085908, 0.130645965468011,
			-0.412897094133047, 0.9255870864491, -1.8301802424961, -1.7841388270802,
			1.09327584758963, 0.182884026871625, 0.424531175652736,
			0.0556158029054966, -0.640709634446687, 0.418565044637002,
			0.116564045292701, -2.12143236669799, -0.331469472169104,
			-1.24179988452203, 0.155735483143868, -0.00138870426949338,
			0.466001490590278, 1.36589200985638, -3.22275463841887,
			-0.800508277125038, -1.78007607611038, -1.21967208140065,
			1.30176200548787, -0.480892428153654, 0.158765967966113,
			-0.127576464285864, 0.252459427763925, -1.68598410912989,
			-0.1970956676386, 1.55034428468064, -1.22708700695268,
			-0.0605279865915366, -1.49250653248953, -0.162256456084438,
			-0.0652649037086258, 0.00797946402916947, -1.35256879313255,
			-0.652285809936282, -0.934510673918681, -1.05100651980935,
			-0.791137119509579, -0.204256037124367, 0.870279762249423,
			-0.445336826845759, 0.795010489801338, 0.0995886571396687,
			-0.416148453467265, -2.01017021764025, -1.81678701825346,
			1.69323861834956, 0.143536807692393, -0.0336633898898059,
			-1.09589423234423, 0.80081362059253, 0.934714505656128, 1.2393741198206,
			0.33824576332954, -0.292203308012728, 0.505302707503523,
			-1.00205691512905, 0.0466520972335475, 0.223145974635781,
			-0.624589588016431, 1.28323068510501, 0.50670682478464,
			0.0700531578104748, -2.50121391459843, 1.05477568536072,
			-0.0969894453114527, -3.13034948200876, -0.772134746161867,
			-1.16109167197385, 1.35393467256404, -0.232421055502557,
			-0.28636706790363, 0.434413591597962, 0.742704293993728,
			-0.646790477388557, -1.64641063868416, 1.2771435491761,
			0.639487960805282, 1.747183899193, 0.585001038344993, 0.930693565426168]
		)
	),
	New Column( "X2",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values(
			[6.0198103129928, 7.20091205222843, 4.65070026886468, 3.17670690687595,
			5.03355092227052, 6.30151380427266, 5.24386848221495, 6.90048447961645,
			9.20918236706509, 4.41506689039341, 7.73943697235743, 4.99394902047945,
			3.65679903427308, 4.83267420173453, 6.74796638714244, 5.38200291743643,
			2.94085457642222, 6.23822904145476, 3.79435790981074, 2.98732948494231,
			7.90936901554754, 3.82084295664395, 4.93889136576797, 4.867614989468,
			6.79411638520983, 4.63770841913521, 5.72297568708847, 5.67278210743382,
			2.87898040841589, 4.77794431031051, 6.69989934770925, 4.18010020602993,
			4.28229869222054, 6.47325820610683, 5.73193412972703, 0.836060701792944,
			4.37959357272853, 4.48982482007942, 4.09977961461508, 4.96013142226247,
			6.45031157468394, 3.18557718923309, 5.28451580294059, 5.44547778148437,
			8.83919395262557, 6.08940873455808, 5.40325273508031, 5.43500364366441,
			3.07766204858337, 4.89637627661071, 6.14412510760593, -0.485587355920933,
			6.20311099333472, 5.09962057513129, 0.983662156370214, 4.56520333800937,
			3.40784971252274, 6.6538883206875, 6.00252057357039, 7.97238557914813,
			2.71015418553192, 3.96580809447913, 7.78900888660749, 4.28555518962493,
			6.01393747682294, 5.94907034495602, 9.84611706857246, 5.79850505627085,
			5.67541478004717, 4.30408910278679, 5.40321729312776, 5.85341408571007,
			4.94639447712469, 4.34708559266172, 4.73871246438279, 3.19787036834528,
			1.00957590923624, 2.47971892470545, 6.20071963231195, 6.97684170194268,
			9.22965462317164, 6.53609378001856, 5.81203830009249, 10.5481367361956,
			6.16969124017285, 4.21970045748313, 5.07606287078316, 2.52494896388046,
			8.31352516884491, 3.71846400818337, 4.02334289547053, 5.86633070726614,
			4.88813438851164, 2.8026412414906, 2.93427614698916, 4.14856696486954,
			3.65940024812031, 7.15564460250633, 4.31207256865605, 5.1138900371015]
		)
	),
	New Column( "Y",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Formula( :X1 + :X2 + Random Normal( 0, 0.5 ) ),
		Set Selected
	)
);
fm = dt &amp;lt;&amp;lt; Fit Model(			// SIMPLE ANALYSIS TO GENERATE A REPORT
			Y( :Y ),
			Effects( :X1, :X2, :X1 * :X2 ),
			Personality( "Standard Least Squares" ),
			Emphasis( "Effect Leverage" ),
			Run(
				:Y &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
				Parameter Estimates( 1 ), Lack of Fit( 0 ), Scaled Estimates( 0 ),
				Plot Actual by Predicted( 1 ), Plot Regression( 0 ),
				Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
				Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ),
				Box Cox Y Transformation( 0 )}
			)
		);


// THAT'S THE PART THAT YOU ARE LOOKING FOR

fmr = fm &amp;lt;&amp;lt; report;

fmr &amp;lt;&amp;lt; Save MSWord (""); // Use this if you need to enter the path and name manually

//or

fmr &amp;lt;&amp;lt; Save MSWord ("path and name of file") // Use this if you know the path and name of the file 
											//	(replace the string with your desired location)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Let us know if that works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 05:13:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368497#M61837</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-03-17T05:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368498#M61838</link>
      <description>&lt;P&gt;I have a script that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcashida_2-1615957787445.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31313iC4E556AE7B553AF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcashida_2-1615957787445.png" alt="jcashida_2-1615957787445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which if I run, I get a window like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcashida_1-1615957756432.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31312i119FD602D631BE7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcashida_1-1615957756432.png" alt="jcashida_1-1615957756432.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at which point if I press Ctrl+s, pops up a window&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcashida_3-1615957891908.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31314i56D2F08F0A904A65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcashida_3-1615957891908.png" alt="jcashida_3-1615957891908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to change the red underlined option to txt. The content of this txt file is basically every output in the report, minus the plots. I'm hoping there's a way to add lines to the script so that it can do the saving-as-txt part for me as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running JMP 9.0.0&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 05:13:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368498#M61838</guid>
      <dc:creator>jcashida</dc:creator>
      <dc:date>2021-03-17T05:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368501#M61839</link>
      <description>This is very close to what I am looking for. However, it seems "Save MSWord' tries to save the entire content of the report, and thus not suitable to save as a txt format. Trying to open the txt file saved via this method in a text editor causes errors because of binary data.</description>
      <pubDate>Wed, 17 Mar 2021 05:27:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368501#M61839</guid>
      <dc:creator>jcashida</dc:creator>
      <dc:date>2021-03-17T05:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368509#M61841</link>
      <description>&lt;P&gt;Can you be more specific on what you are attempting to extract from your parsing of the saved text file?&amp;nbsp; &amp;nbsp;And, why does it have to be in a text file form?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are not interested in extracting the data directly from the Output Display Tree you can save it in an outline format&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");

lg = Logistic( Y( :sex ), X( :height ), Target Level( "M" ) );

chiSQ = (report(lg)["Whole Model Test"][numbercolbox(3)]&amp;lt;&amp;lt;get)[1];

show( chiSQ );

report(lg)&amp;lt;&amp;lt;journal;
txtVal = char( current journal()&amp;lt;&amp;lt;get script);

Save Text File("your path", txtVal );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The output looks like this:&lt;/P&gt;
&lt;PRE&gt;"New Window(\!"Untitled\!", &amp;lt;&amp;lt;Journal, Journal Box(\!"ListBox(vertical,near,sub(
OwnerBox(sub(
OutlineBox(
open(1),title(\!\!\!"Response Y\!\!\!"),rerun(Fit Model(Y(:Y), Effects(:X1, :X2, :X1 * :X2), Personality(\!\!\!"Standard Least Squares\!\!\!"), Emphasis(\!\!\!"Effect Leverage\!\!\!"), Run(:Y &amp;lt;&amp;lt; {Summary of Fit(1), Analysis of Variance(1), Parameter Estimates(1), Lack of Fit(0), Scaled Estimates(0), Plot Actual by Predicted(1), Plot Regression(0), Plot Residual by Predicted(1), Plot Studentized Residuals(0), Plot Effect Leverage(1), Plot Residual by Normal Quantiles(0), Box Cox Y Transformation(0)}))),Context({Y(\!\!\!"Y\!\!\!")}),default font id(2),helpKey(\!\!\!"FitLS\!\!\!"),sub(
WrapListBox(sub(
OutlineBox(
open(1),title(\!\!\!"Whole Model\!\!\!"),default font id(2),helpKey(\!\!\!"FitLS Whole\!\!\!"),sub(
OutlineBox(
open(1),title(\!\!\!"Actual by Predicted Plot\!\!\!"),default font id(2),helpKey(\!\!\!"Fit YByPred\!\!\!"),sub(
PictureBox(sub(
BorderBox(top(8),left(5),bottom(8),right(14),sides(16384),options(0),xmin(0),ymin(0),sub(
ScaleBox(id(1),axis(scaleType(0),scaleOrig(-2),scaleWidth(14),widthMajor(2),
nbin(7),nminor(0),timeCode(0),ndec(0),ndecSpec(99),FieldWidth(9),
MinInitInt(-2),MaxInitInt(12),LinearInit,MajorInit(2),MinorInit(0),NObsInit(100),
options(prohibitLogScale,showMajorTicks,showMinorTicks,showLabels,noMinorTickLabelsOnLogAxis,),scaleTypeOptions(),nLabelRows(1),labelRows(LabelRowNumeric(default font id(7),),),labelRows12(LabelRowContinuous(options(0),Automatic Font Size(0),Automatic Tick Marks(0),Inside Ticks(0),Label Alignment(\!\!\!"Near\!\!\!"),Label Buffer Scale(1),Label Orientation(\!\!\!"Horizontal\!\!\!"),Lax Label Range(0),Line Color(2147483647),Line Width(1),Major Grid Line Color(-14145495),Minimum Depth(0),Minimum Font Size(7),Minor Grid Line Color(-15790320),Show Major Grid(0),Show Major Labels(1),Show Major Ticks(1),Show Minor Grid(0),Show Minor Labels(0),Show Minor Ticks(1),Tick Offset(0),Truncate format to interval(1),Wrap Lines(0),default font id(7),),),),length(266),baselength(266),sub(
ScaleBox(id(2),axis(scaleType(0),scaleOrig(-2),scaleWidth(14),widthMajor(2),
nbin(7),nminor(0),timeCode(0),ndec(0),ndecSpec(99),FieldWidth(9),
MinInitInt(-2),MaxInitInt(12),LinearInit,MajorInit(2),MinorInit(0),NObsInit(100),
options(showMajorTicks,showMinorTicks,showLabels,noMinorTickLabelsOnLogAxis,),scaleTypeOptions(),nLabelRows(1),labelRows(LabelRowNumeric(default font id(7),),),labelRows12(LabelRowContinuous(options(0),Automatic Font Size(0),Automatic Tick Marks(0),Inside Ticks(0),Label Alignment(\!\!\!"Near\!\!\!"),Label Buffer Scale(1),Label Orientation(\!\!\!"Horizontal\!\!\!"),Lax Label Range(0),Line Color(2147483647),Line Width(1),Major Grid Line Color(-14145495),Minimum Depth(0),Minimum Font Size(7),Minor Grid Line Color(-15790320),Show Major Grid(0),Show Major Labels(1),Show Major Ticks(1),Show Minor Grid(0),Show Minor Labels(0),Show Minor Ticks(1),Tick Offset(0),Truncate format to interval(1),Wrap Lines(0),default font id(7),),),),length(200),baselength(200),sub(
ListBox(horizontal,near,sub(
AxisBox(side(R),size(44,200),locked(false),scales(0,2,0,2),sub(
TextEditBox(\!\!\!"Y Actual\!\!\!",default font id(9),wrapWidth(200),justification(1),vjustification(1),left,minSize(16,43),maxSize(16,43),BaseSize(0,0),sizeID(0,-1),))),
ListBox(vertical,near,sub(
FrameBox(size(266,200),border(12303),flags(0),markerSize(-1),ndisallow(1),disallow(\!\!\!"Background Map\!\!\!"),scales(1,2,1,2),seg(
,LineSeg(description(\!\!\!"Line of Mean\!\!\!"),properties(color(5), width(2), transparency(0.75)),n(2),x(-9,22.5),y(4.910450521166,4.910450521166),log curve(false),selectable(false),selectionMode(0),),IfSeg(description(\!\!\!"0.05 Significance Curve\!\!\!"),sub(
PolySeg(n(174),
x(-9,-8.5078125,-8.015625,-7.5234375,-7.03125,-6.5390625,-6.046875,-5.5546875,-5.0625,-4.5703125,
-4.078125,-3.5859375,-3.09375,-2.6015625,-2.109375,-1.6171875,-1.125,-0.6328125,-0.140625,0.10546875,
0.3515625,0.59765625,0.84375,1.08984375,1.3359375,1.58203125,1.828125,2.07421875,2.3203125,2.56640625,
2.8125,3.05859375,3.3046875,3.55078125,3.796875,4.04296875,4.2890625,4.53515625,4.78125,5.02734375,
5.2734375,5.51953125,5.765625,6.01171875,6.2578125,6.50390625,6.75,6.99609375,7.2421875,7.48828125,
7.734375,7.98046875,8.2265625,8.47265625,8.71875,8.96484375,9.2109375,9.45703125,9.703125,9.94921875,
10.1953125,10.44140625,10.6875,11.1796875,11.671875,12.1640625,12.65625,13.1484375,13.640625,14.1328125,
14.625,15.1171875,15.609375,16.1015625,16.59375,17.0859375,17.578125,18.0703125,18.5625,19.0546875,
19.546875,20.0390625,20.53125,21.0234375,21.515625,22.0078125,22.5,22.5,22.0078125,21.515625,
21.0234375,20.53125,20.0390625,19.546875,19.0546875,18.5625,18.0703125,17.578125,17.0859375,16.59375,
16.1015625,15.609375,15.1171875,14.625,14.1328125,13.640625,13.1484375,12.65625,12.1640625,11.671875,
11.1796875,10.6875,10.44140625,10.1953125,9.94921875,9.703125,9.45703125,9.2109375,8.96484375…&lt;/PRE&gt;
&lt;P&gt;Also, the output can be saved in an XML data structure&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;xmlVal = char(report(lg)&amp;lt;&amp;lt;get xml);
Save Text File("your path", xmlVal );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's output looks like&lt;/P&gt;
&lt;PRE&gt;&amp;lt;OutlineBox width=\!"418\!" height=\!"697\!" helpKey=\!"Logistic Report\!" isOpen=\!"true\!"&amp;gt;Logistic Fit of sex By height&amp;lt;IfBox leftOffset=\!"12\!" topOffset=\!"25\!" width=\!"405\!" height=\!"319\!" isTrue=\!"true\!"&amp;gt;
    &amp;lt;PictureBox width=\!"405\!" height=\!"319\!"&amp;gt;
      &amp;lt;BorderBox width=\!"405\!" height=\!"319\!"&amp;gt;
        &amp;lt;ScaleBox leftOffset=\!"5\!" topOffset=\!"5\!" width=\!"395\!" height=\!"309\!" charID=\!"1\!" ID=\!"1\!"&amp;gt;
          &amp;lt;ScaleBox width=\!"395\!" height=\!"309\!" charID=\!"2\!" ID=\!"2\!"&amp;gt;
            &amp;lt;ScaleBox width=\!"395\!" height=\!"309\!" charID=\!"3\!" ID=\!"3\!"&amp;gt;
              &amp;lt;ListBox width=\!"395\!" height=\!"309\!"&amp;gt;
                &amp;lt;AxisBox width=\!"56\!" height=\!"269\!" charID=\!"2\!"&amp;gt;
                  &amp;lt;DropBox leftOffset=\!"0\!" topOffset=\!"126\!" width=\!"18\!" height=\!"16\!"&amp;gt;
                    &amp;lt;TextEditBox width=\!"18\!" height=\!"16\!"&amp;gt;sex&amp;lt;/TextEditBox&amp;gt;
                  &amp;lt;/DropBox&amp;gt;
                &amp;lt;/AxisBox&amp;gt;
                &amp;lt;ListBox leftOffset=\!"56\!" topOffset=\!"0\!" width=\!"321\!" height=\!"309\!"&amp;gt;
                  &amp;lt;FrameBox width=\!"321\!" height=\!"269\!" helpKey=\!"FitNom Plot\!"&amp;gt;
                    &amp;lt;SegPlaceholder description=\!"Grid Lines\!"/&amp;gt;
                    &amp;lt;SegPlaceholder description=\!"Reference Lines\!"/&amp;gt;
                    &amp;lt;IfSeg description=\!"Probability Curves\!" isTrue=\!"true\!"&amp;gt;
                      &amp;lt;LineSeg/&amp;gt;
                    &amp;lt;/IfSeg&amp;gt;
                    &amp;lt;IfSeg isTrue=\!"true\!"&amp;gt;
                      &amp;lt;MarkerSeg/&amp;gt;
                    &amp;lt;/IfSeg&amp;gt;
                    &amp;lt;IfSeg isTrue=\!"false\!"&amp;gt;
                      &amp;lt;LineSeg description=\!"Rate Curve\!"/&amp;gt;
                    &amp;lt;/IfSeg&amp;gt;
                  &amp;lt;/FrameBox&amp;gt;
                  &amp;lt;AxisBox leftOffset=\!"0\!" topOffset=\!"269\!" width=\!"321\!" height=\!"40\!" charID=\!"1\!"&amp;gt;
                    &amp;lt;DropBox leftOffset=\!"143\!" topOffset=\!"24\!" width=\!"35\!" height=\!"16\!"&amp;gt;
                      &amp;lt;TextEditBox width=\!"35\!" height=\!"16\!"&amp;gt;height&amp;lt;/TextEditBox&amp;gt;
                    &amp;lt;/DropBox&amp;gt;
                  &amp;lt;/AxisBox&amp;gt;
                &amp;lt;/ListBox&amp;gt;
                &amp;lt;AxisBox leftOffset=\!"377\!" topOffset=\!"0\!" width=\!"18\!" height=\!"269\!" charID=\!"3\!"/&amp;gt;
              &amp;lt;/ListBox&amp;gt;
            &amp;lt;/ScaleBox&amp;gt;
          &amp;lt;/ScaleBox&amp;gt;
        &amp;lt;/ScaleBox&amp;gt;
      &amp;lt;/BorderBox&amp;gt;
    &amp;lt;/PictureBox&amp;gt;
  &amp;lt;/IfBox&amp;gt;
  &amp;lt;OutlineBox leftOffset=\!"12\!" topOffset=\!"344\!" width=\!"94\!" height=\!"25\!" helpKey=\!"Logistic Iterations Report\!" isOpen=\!"false\!"&amp;gt;Iterations&amp;lt;TableBox leftOffset=\!"12\!" topOffset=\!"25\!"&amp;gt;
      &amp;lt;NumberColBox&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Iter&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;1&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;2&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;3&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;4&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Objective&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;27.725887222&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;24.82346039&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;24.775518767&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;24.775389091&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;24.77538909&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Relative Gradient&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;2.3440989376&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.3046124766&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0160880971&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0000491383&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;4.622843e-10&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Norm Gradient&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;155.01290269&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;6.4687304657&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0335930795&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0003601736&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;5.6284711e-9&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
    &amp;lt;/TableBox&amp;gt;
  &amp;lt;/OutlineBox&amp;gt;
  &amp;lt;OutlineBox leftOffset=\!"12\!" topOffset=\!"369\!" width=\!"374\!" height=\!"182\!" helpKey=\!"FitNom Whole\!" isOpen=\!"true\!"&amp;gt;Whole Model Test&amp;lt;TableBox leftOffset=\!"12\!" topOffset=\!"25\!" width=\!"361\!" height=\!"70\!"&amp;gt;
      &amp;lt;StringColBox width=\!"61\!" height=\!"68\!"&amp;gt;
        &amp;lt;StringColBoxHeader&amp;gt;Model&amp;lt;/StringColBoxHeader&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Difference&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Full&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Reduced&amp;lt;/StringColBoxItem&amp;gt;
      &amp;lt;/StringColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"61\!" topOffset=\!"0\!" width=\!"95\!" height=\!"68\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;-LogLikelihood&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;2.750163&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;24.775389&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;27.525553&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"156\!" topOffset=\!"0\!" width=\!"58\!" height=\!"34\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;DF&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;1&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"214\!" topOffset=\!"0\!" width=\!"68\!" height=\!"34\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;ChiSquare&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;5.500327&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"282\!" topOffset=\!"0\!" width=\!"78\!" height=\!"34\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Prob&amp;amp;gt;ChiSq&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0190*&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
    &amp;lt;/TableBox&amp;gt;
    &amp;lt;TextBox leftOffset=\!"12\!" topOffset=\!"95\!" width=\!"6\!" height=\!"16\!"&amp;gt;&amp;lt;/TextBox&amp;gt;
    &amp;lt;TableBox leftOffset=\!"12\!" topOffset=\!"111\!" width=\!"208\!" height=\!"70\!"&amp;gt;
      &amp;lt;StringColBox width=\!"155\!" height=\!"68\!"&amp;gt;
        &amp;lt;StringColBoxHeader&amp;gt;&amp;lt;/StringColBoxHeader&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;RSquare (U)&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;AICc&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;BIC&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Observations (or Sum Wgts)&amp;lt;/StringColBoxItem&amp;gt;
      &amp;lt;/StringColBox&amp;gt;
      &amp;lt;ColStackBox leftOffset=\!"155\!" topOffset=\!"0\!" width=\!"52\!" height=\!"68\!"&amp;gt;
        &amp;lt;ColStackBoxHeader&amp;gt;&amp;lt;/ColStackBoxHeader&amp;gt;
        &amp;lt;NumberColBox width=\!"52\!" height=\!"17\!"&amp;gt;
          &amp;lt;NumberColBoxHeader&amp;gt;&amp;lt;/NumberColBoxHeader&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.0999&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;/NumberColBox&amp;gt;
        &amp;lt;NumberColBox leftOffset=\!"0\!" topOffset=\!"17\!" width=\!"52\!" height=\!"17\!"&amp;gt;
          &amp;lt;NumberColBoxHeader&amp;gt;&amp;lt;/NumberColBoxHeader&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;53.8751&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;/NumberColBox&amp;gt;
        &amp;lt;NumberColBox leftOffset=\!"0\!" topOffset=\!"34\!" width=\!"52\!" height=\!"17\!"&amp;gt;
          &amp;lt;NumberColBoxHeader&amp;gt;&amp;lt;/NumberColBoxHeader&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;56.9285&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;/NumberColBox&amp;gt;
        &amp;lt;NumberColBox leftOffset=\!"0\!" topOffset=\!"51\!" width=\!"52\!" height=\!"17\!"&amp;gt;
          &amp;lt;NumberColBoxHeader&amp;gt;&amp;lt;/NumberColBoxHeader&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;40&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;/ColStackBox&amp;gt;
    &amp;lt;/TableBox&amp;gt;
  &amp;lt;/OutlineBox&amp;gt;
  &amp;lt;OutlineBox leftOffset=\!"12\!" topOffset=\!"551\!" width=\!"96\!" height=\!"25\!" isOpen=\!"false\!"&amp;gt;Fit Details&amp;lt;TableBox leftOffset=\!"12\!" topOffset=\!"25\!"&amp;gt;
      &amp;lt;StringColBox&amp;gt;
        &amp;lt;StringColBoxHeader&amp;gt;Measure&amp;lt;/StringColBoxHeader&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Entropy RSquare&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Generalized RSquare&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Mean -Log p&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;RASE&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Mean Abs Dev&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Misclassification Rate&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;N&amp;lt;/StringColBoxItem&amp;gt;
      &amp;lt;/StringColBox&amp;gt;
      &amp;lt;ColStackBox&amp;gt;
        &amp;lt;ColStackBoxHeader&amp;gt;&amp;lt;/ColStackBoxHeader&amp;gt;
        &amp;lt;NumberColBox&amp;gt;
          &amp;lt;NumberColBoxHeader&amp;gt;Training&amp;lt;/NumberColBoxHeader&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.0999&amp;lt;/NumberColBoxItem&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.1719&amp;lt;/NumberColBoxItem&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.6194&amp;lt;/NumberColBoxItem&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.4617&amp;lt;/NumberColBoxItem&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.4286&amp;lt;/NumberColBoxItem&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;0.3500&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;/NumberColBox&amp;gt;
        &amp;lt;NumberColBox&amp;gt;
          &amp;lt;NumberColBoxHeader&amp;gt;&amp;lt;/NumberColBoxHeader&amp;gt;
          &amp;lt;NumberColBoxItem&amp;gt;40&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;/ColStackBox&amp;gt;
      &amp;lt;StringColBox&amp;gt;
        &amp;lt;StringColBoxHeader&amp;gt;Definition&amp;lt;/StringColBoxHeader&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;1-Loglike(model)/Loglike(0)&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;(1-(L(0)/L(model))^(2/n))/(1-L(0)^(2/n))&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;∑ -Log(ρ[j])/n&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;√ ∑(y[j]-ρ[j])²/n&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;∑ |y[j]-ρ[j]|/n&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;∑ (ρ[j]≠ρMax)/n&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;n&amp;lt;/StringColBoxItem&amp;gt;
      &amp;lt;/StringColBox&amp;gt;
    &amp;lt;/TableBox&amp;gt;
  &amp;lt;/OutlineBox&amp;gt;
  &amp;lt;OutlineBox leftOffset=\!"12\!" topOffset=\!"576\!" width=\!"350\!" height=\!"120\!" helpKey=\!"FitNom ParmEst\!" isOpen=\!"true\!"&amp;gt;Parameter Estimates&amp;lt;TableBox leftOffset=\!"12\!" topOffset=\!"25\!" width=\!"337\!" height=\!"53\!"&amp;gt;
      &amp;lt;StringColBox width=\!"54\!" height=\!"51\!"&amp;gt;
        &amp;lt;StringColBoxHeader&amp;gt;Term&amp;lt;/StringColBoxHeader&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;Intercept&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;height&amp;lt;/StringColBoxItem&amp;gt;
      &amp;lt;/StringColBox&amp;gt;
      &amp;lt;StringColBox leftOffset=\!"54\!" topOffset=\!"0\!" width=\!"0\!" height=\!"51\!"&amp;gt;
        &amp;lt;StringColBoxHeader&amp;gt;~Bias&amp;lt;/StringColBoxHeader&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;&amp;lt;/StringColBoxItem&amp;gt;
        &amp;lt;StringColBoxItem&amp;gt;&amp;lt;/StringColBoxItem&amp;gt;
      &amp;lt;/StringColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"54\!" topOffset=\!"0\!" width=\!"71\!" height=\!"51\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Estimate&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;-12.267957&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.19939641&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"125\!" topOffset=\!"0\!" width=\!"65\!" height=\!"51\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Std Error&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;5.9870108&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0954697&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"190\!" topOffset=\!"0\!" width=\!"68\!" height=\!"51\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;ChiSquare&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;4.20&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;4.36&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
      &amp;lt;NumberColBox leftOffset=\!"258\!" topOffset=\!"0\!" width=\!"78\!" height=\!"51\!"&amp;gt;
        &amp;lt;NumberColBoxHeader&amp;gt;Prob&amp;amp;gt;ChiSq&amp;lt;/NumberColBoxHeader&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0405*&amp;lt;/NumberColBoxItem&amp;gt;
        &amp;lt;NumberColBoxItem&amp;gt;0.0367*&amp;lt;/NumberColBoxItem&amp;gt;
      &amp;lt;/NumberColBox&amp;gt;
    &amp;lt;/TableBox&amp;gt;
    &amp;lt;IfBox leftOffset=\!"12\!" topOffset=\!"78\!" isTrue=\!"false\!" isVisible=\!"false\!"&amp;gt;
      &amp;lt;TextBox&amp;gt;&amp;lt;/TextBox&amp;gt;
    &amp;lt;/IfBox&amp;gt;
    &amp;lt;TextBox leftOffset=\!"12\!" topOffset=\!"78\!" width=\!"107\!" height=\!"16\!"&amp;gt;For log odds of M/F&amp;lt;/TextBox&amp;gt;
    &amp;lt;OutlineBox leftOffset=\!"12\!" topOffset=\!"94\!" width=\!"191\!" height=\!"25\!" helpKey=\!"Logistic Covariance\!" isOpen=\!"false\!"&amp;gt;Covariance of Estimates&amp;lt;MatrixBox leftOffset=\!"12\!" topOffset=\!"25\!"&amp;gt;Cov
        &amp;lt;MatrixBoxRowName&amp;gt;Intercept&amp;lt;/MatrixBoxRowName&amp;gt;
        &amp;lt;MatrixBoxRowName&amp;gt;height&amp;lt;/MatrixBoxRowName&amp;gt;
        &amp;lt;MatrixBoxColName&amp;gt;Intercept&amp;lt;/MatrixBoxColName&amp;gt;
        &amp;lt;MatrixBoxColName&amp;gt;height&amp;lt;/MatrixBoxColName&amp;gt;
        &amp;lt;MatrixBoxCell&amp;gt;35.844&amp;lt;/MatrixBoxCell&amp;gt;
        &amp;lt;MatrixBoxCell&amp;gt;-0.571&amp;lt;/MatrixBoxCell&amp;gt;
        &amp;lt;MatrixBoxCell&amp;gt;-0.571&amp;lt;/MatrixBoxCell&amp;gt;
        &amp;lt;MatrixBoxCell&amp;gt;0.0091&amp;lt;/MatrixBoxCell&amp;gt;
      &amp;lt;/MatrixBox&amp;gt;
    &amp;lt;/OutlineBox&amp;gt;
  &amp;lt;/OutlineBox&amp;gt;
&amp;lt;/OutlineBox&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Mar 2021 05:58:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368509#M61841</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-17T05:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368512#M61842</link>
      <description>&lt;P&gt;I forgot an additional text output.&amp;nbsp; You can output HTML form of the display, and since HTML is a text file, you can parse it&lt;/P&gt;
&lt;PRE&gt;&amp;lt;!doctype html public "-//W3C//DTD HTML 4.0//EN"&amp;gt;
&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;
JMP Report
&amp;lt;/title&amp;gt;&amp;lt;style&amp;gt;
body { font-family: Arial, sans-serif; font-size: 12px; padding: 0; margin: 10px; }
table { border-color: #a9a9a9; border-collapse: collapse; }
td,th { border-color: #a9a9a9; }
img { border: 1px solid #a9a9a9; }
h1,h2,h3,h4,h5 { padding: 0; margin: 5px 0px; }
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;

&amp;lt;h2&amp;gt;Logistic Fit of sex By height&amp;lt;/h2&amp;gt;
&amp;lt;img src="gfx/image36987882241.png" width=410 height=324&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;

&amp;lt;h3&amp;gt;Whole Model Test&amp;lt;/h3&amp;gt;

&amp;lt;table border=1 cellpadding=2 cellspacing=1&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;th bgcolor=#D9D9D9 align=left&amp;gt;Model&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt; -LogLikelihood&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;DF&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;ChiSquare&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;Prob&amp;amp;gt;ChiSq&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;Difference&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2.750163&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5.500327&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;font COLOR="#f03246"&amp;gt;0.0190*&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;Full&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;24.775389&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;Reduced&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;27.525553&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;

&amp;lt;table border=1 cellpadding=2 cellspacing=1&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;RSquare (U)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.0999&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;AICc&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;53.8751&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;BIC&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;56.9285&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;Observations (or Sum Wgts)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;40&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;

&amp;lt;h3&amp;gt;Parameter Estimates&amp;lt;/h3&amp;gt;

&amp;lt;table border=1 cellpadding=2 cellspacing=1&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;th bgcolor=#D9D9D9 align=left&amp;gt;Term&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;Estimate&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;Std Error&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;ChiSquare&amp;lt;/th&amp;gt;&amp;lt;th bgcolor=#D9D9D9&amp;gt;Prob&amp;amp;gt;ChiSq&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;Intercept&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt; -12.267957&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5.9870108&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4.20&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;font COLOR="#f03246"&amp;gt;0.0405*&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;tr style="vertical-align:top" align=right&amp;gt;&amp;lt;td style="text-align:left"&amp;gt;height&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.19939641&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0.0954697&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4.36&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;font COLOR="#f03246"&amp;gt;0.0367*&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;
&amp;lt;span style="font-size:9pt"&amp;gt;For log odds of M/F&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;

&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Mar 2021 06:19:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368512#M61842</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-17T06:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368525#M61845</link>
      <description>&lt;P&gt;Two answers.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bv = Bivariate(
	Y( :weight ),
	X( :height ),
	Fit Line( {Line Color( {212, 73, 88} )} )
);

showproperties(bv);

rep = report(bv);

showproperties(rep);

rep&amp;lt;&amp;lt;savetext("$desktop/rep.txt"); // &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; this one&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The bv is the platform object. The rep is the display box object. The displayboxes can save their text the way you want. The showproperties() shows all the messages that can be sent to an object. (The platform object is live and takes messages to add and remove analyses. The display boxes in the report hold static output.)&lt;/P&gt;&lt;P&gt;The second answer is what most of the other answers are suggesting: do some of the heavy lifting in JMP rather than parsing the text output later. I'd break it apart like this:&lt;/P&gt;&lt;P&gt;JMP --- JSON --- OtherProgram&lt;/P&gt;&lt;P&gt;Make JMP find and save the parameters in a standard file format, and make the other program read them that way.&lt;/P&gt;&lt;P&gt;Now you have a way to swap out programs on both ends as long as they produce/consume the same format. And when you upgrade from JMP 9 to 15 (soon 16), if the text has changed you don't have to rewrite OtherProgram, just (maybe) touch the JSL to extract the values into JSON. Or, if you choose a different platform in JMP to get the statistics, that works too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 11:52:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368525#M61845</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-03-17T11:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file via script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368699#M61856</link>
      <description>Hi,&lt;BR /&gt;I now better understand what you are looking for. Based on this, could I suggest another approach: instead of saving the outputs of your analysis in a text file and then extract back what you need with another script, would it be more efficient to directly get the desired output from the report directly? If this is what you are trying to do, there are a couple of approaches I'd suggest:&lt;BR /&gt;1) Run your analyses and capture all your outputs into a single Journal. Then, manually, select the first table containing the results of interest and right-click on it and select "Make Combined Data Table"&lt;BR /&gt;2) Extract the content of the output report automatically via a script pointing to the desired element (use View Tree Structure to identify the right tables in your report). &lt;BR /&gt;If this is closer to what you are trying to obtain, I think that the JMP community could help you with the initial steps option #2,&lt;BR /&gt;Best,&lt;BR /&gt;TS</description>
      <pubDate>Wed, 17 Mar 2021 16:36:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368699#M61856</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-03-17T16:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to save report as a text file?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368705#M61857</link>
      <description>&lt;P&gt;I do not have JMP 9 installed.&amp;nbsp; The earliest version I have is JMP 11.&amp;nbsp; In JMP 11, when you save the JMP report to a .jrp file, you only get something like:&lt;/P&gt;
&lt;PRE&gt;Open("C:\Program Files\SAS\JMPEA\16\Samples\Data\Big Class.jmp");
Logistic(Y(:sex), X(:height));&lt;/PRE&gt;
&lt;P&gt;In JMP 9, do you seem to be indicating that you get a different structure.&lt;/P&gt;
&lt;P&gt;It does not appear that there is any direct way to generate the .jrp file in JSL.&amp;nbsp; The various responses&amp;nbsp; have all approached the ways you can save the output, but in different formats, that can be read as txt files.&lt;/P&gt;
&lt;P&gt;If you can provide the reason you need to have the output in a text file format......that is, what you are going to do with the information you want to read in from the txt file, it would be helpful in guiding the community members in helping you with a response.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 17:21:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-report-as-a-text-file-via-script/m-p/368705#M61857</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-17T17:21:29Z</dc:date>
    </item>
  </channel>
</rss>

