<?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 script for multivariate report in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/642993#M83968</link>
    <description>&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;any help would be really appreciated.&lt;/P&gt;&lt;P&gt;I am writing a script to automatically create a multivariate report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column names inside&amp;nbsp; Y&amp;nbsp; ( Multivatiate (&lt;STRONG&gt;Y( col1,col2,col3, ...)&amp;nbsp; ....) will be changing, therefore I am trying to&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;feed Y with a list of column names .&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;///
num_table= df &amp;lt;&amp;lt; Subset( ( num_col_select ),
Output Table Name( "numerical columns only- the only use for this table is to feed the multiv analysis" )
);

//num_table_columns = num_table &amp;lt;&amp;lt; Select Columns(all);
num_table_columns = num_table &amp;lt;&amp;lt; Get Column Names(all);
print(num_table_column s);

//execute the MULTIV analysis
multi = num_table &amp;lt;&amp;lt; Multivariate(&lt;FONT color="#FF0000"&gt;Y(num_table_columns)&lt;/FONT&gt;,   //   &amp;lt;---- the num_table_columns are all continuous 
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Pairwise Correlations( 1 ));
///&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 15 Jun 2023 16:31:44 GMT</pubDate>
    <dc:creator>dimitris</dc:creator>
    <dc:date>2023-06-15T16:31:44Z</dc:date>
    <item>
      <title>script for multivariate report</title>
      <link>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/642993#M83968</link>
      <description>&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;any help would be really appreciated.&lt;/P&gt;&lt;P&gt;I am writing a script to automatically create a multivariate report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column names inside&amp;nbsp; Y&amp;nbsp; ( Multivatiate (&lt;STRONG&gt;Y( col1,col2,col3, ...)&amp;nbsp; ....) will be changing, therefore I am trying to&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;feed Y with a list of column names .&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;///
num_table= df &amp;lt;&amp;lt; Subset( ( num_col_select ),
Output Table Name( "numerical columns only- the only use for this table is to feed the multiv analysis" )
);

//num_table_columns = num_table &amp;lt;&amp;lt; Select Columns(all);
num_table_columns = num_table &amp;lt;&amp;lt; Get Column Names(all);
print(num_table_column s);

//execute the MULTIV analysis
multi = num_table &amp;lt;&amp;lt; Multivariate(&lt;FONT color="#FF0000"&gt;Y(num_table_columns)&lt;/FONT&gt;,   //   &amp;lt;---- the num_table_columns are all continuous 
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Pairwise Correlations( 1 ));
///&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jun 2023 16:31:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/642993#M83968</guid>
      <dc:creator>dimitris</dc:creator>
      <dc:date>2023-06-15T16:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: script for multivariate report</title>
      <link>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/643017#M83974</link>
      <description>&lt;P&gt;The below small modification to your script should do what you want.&lt;/P&gt;
&lt;P&gt;I don't believe you need to create a subset of the data if you use the qualifier "numeric" on the "Get Column Names".&lt;/P&gt;
&lt;P&gt;All you need to do to get the generated list to work is to request the list be evaluated within the specification for the Multivariate.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;///
/*num_table = df &amp;lt;&amp;lt; Subset(
	(num_col_select),
	Output Table Name( "numerical columns only- the only use for this table is to feed the multiv analysis" )
);*/
num_table=current data table();
//num_table_columns = num_table &amp;lt;&amp;lt; Select Columns(all);
num_table_columns = num_table &amp;lt;&amp;lt; Get Column Names( numeric );
Print( num_table_column s );

//execute the MULTIV analysis
multi = num_table &amp;lt;&amp;lt; Multivariate(
	Y( eval(num_table_columns) ),   //   &amp;lt;---- the num_table_columns are all continuous 
	Estimation Method( "Row-wise" ),
	Scatterplot Matrix( 1 ),
	Pairwise Correlations( 1 )
);
///&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jun 2023 16:58:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/643017#M83974</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-06-15T16:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: script for multivariate report</title>
      <link>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/643427#M84007</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 16:06:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/script-for-multivariate-report/m-p/643427#M84007</guid>
      <dc:creator>dimitris</dc:creator>
      <dc:date>2023-06-16T16:06:13Z</dc:date>
    </item>
  </channel>
</rss>

