<?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 Prediction Formula for Generalized Regression Using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36663#M21533</link>
    <description>&lt;P&gt;The Save Prediction Formula needs to be part of the Fit syntax&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Fitness.JMP" ) ; //open sample data

//Fit model with variable reduction
lasso = dt &amp;lt;&amp;lt; Fit Model(
	Y( :Oxy ),
	Effects( :Age, :Weight, :Runtime, :RunPulse, :RstPulse, :MaxPulse ),
	Personality( "Generalized Regression" ),
	Generalized Distribution( "Normal" ),
	Run(
		Fit(
			Estimation Method( Lasso( Adaptive ) ),
			Validation Method( AICc),
			Save Prediction Formula(1) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Mar 2017 16:49:36 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-03-02T16:49:36Z</dc:date>
    <item>
      <title>How to Save Prediction Formula for Generalized Regression Using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36650#M21526</link>
      <description>&lt;P&gt;In partitions or linear regressions either 'Prediction Formula' or 'Save Prediction Formula' creates a new column in the data table.&amp;nbsp; In the generalized regression platform neither work.&amp;nbsp;&amp;nbsp;In the example below, I&amp;nbsp;suspect this is because I actually want to send a message to the 'Adaptive Lasso with AICc Validation' part of the Generalized Regression report instead of the top level&amp;nbsp;'Generalized Regression for Oxy'.&amp;nbsp; Any idea how to do this?&lt;/P&gt;&lt;PRE&gt;dt = Open( "$SAMPLE_DATA/Fitness.JMP" )  //open sample data

//Fit model with variable reduction
lasso = dt &amp;lt;&amp;lt; Fit Model(
	Y( :Oxy ),
	Effects( :Age, :Weight, :Runtime, :RunPulse, :RstPulse, :MaxPulse ),
	Personality( "Generalized Regression" ),
	Generalized Distribution( "Normal" ),
	Run(
		Fit(
			Estimation Method( Lasso( Adaptive ) ),
			Validation Method( AICc )
		)
	)
);

//Save the prediction formula to the table
lasso &amp;lt;&amp;lt; Save Prediction Formula;
lasso &amp;lt;&amp;lt; Prediction Formula;
lasso &amp;lt;&amp;lt; Get Prediction Formula;
//None of these work, the log returns 'Fit Generalized[]' for each.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:05:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36650#M21526</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-03-02T14:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Save Prediction Formula for Generalized Regression Using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36663#M21533</link>
      <description>&lt;P&gt;The Save Prediction Formula needs to be part of the Fit syntax&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Fitness.JMP" ) ; //open sample data

//Fit model with variable reduction
lasso = dt &amp;lt;&amp;lt; Fit Model(
	Y( :Oxy ),
	Effects( :Age, :Weight, :Runtime, :RunPulse, :RstPulse, :MaxPulse ),
	Personality( "Generalized Regression" ),
	Generalized Distribution( "Normal" ),
	Run(
		Fit(
			Estimation Method( Lasso( Adaptive ) ),
			Validation Method( AICc),
			Save Prediction Formula(1) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:49:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36663#M21533</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-03-02T16:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Save Prediction Formula for Generalized Regression Using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36703#M21551</link>
      <description>&lt;P&gt;Perfect, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:15:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Save-Prediction-Formula-for-Generalized-Regression-Using/m-p/36703#M21551</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-03-03T13:15:27Z</dc:date>
    </item>
  </channel>
</rss>

