<?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 Creating Categorical Variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-Categorical-Variable/m-p/279263#M54140</link>
    <description>&lt;P&gt;I am trying to create a categorical variable (a third variable) from two categorical variables.&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 20:37:33 GMT</pubDate>
    <dc:creator>schreiberj</dc:creator>
    <dc:date>2023-06-10T20:37:33Z</dc:date>
    <item>
      <title>Creating Categorical Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-Categorical-Variable/m-p/279263#M54140</link>
      <description>&lt;P&gt;I am trying to create a categorical variable (a third variable) from two categorical variables.&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:37:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-Categorical-Variable/m-p/279263#M54140</guid>
      <dc:creator>schreiberj</dc:creator>
      <dc:date>2023-06-10T20:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Categorical Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-Categorical-Variable/m-p/279272#M54141</link>
      <description>&lt;P&gt;Your request is quite vague in what the new column is supposed to contain, so I will assume you want to concatenate the two columns together.&amp;nbsp; To do this,&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Move your cursor to the column header you want the new column to be created next to and right click and select "Insert Column"&lt;/LI&gt;
&lt;LI&gt;Right click on the new column's header, and select "Column Info"&lt;/LI&gt;
&lt;LI&gt;In the Column Info window, type in your new column's name and change the Modeling Type to Character.&lt;/LI&gt;
&lt;LI&gt;Click on OK&lt;/LI&gt;
&lt;LI&gt;Once again place right click on the new column's header and select "Formula"&lt;/LI&gt;
&lt;LI&gt;Click on the first column name of the two columns you want to be concatenated.&lt;/LI&gt;
&lt;LI&gt;Now click on the Character category on the left column of the window, and select "Concat"&lt;/LI&gt;
&lt;LI&gt;Click on the second column name of the two columns you want to be concatenated&lt;/LI&gt;
&lt;LI&gt;The JMP Formula Builder should now have built a formula that looks something like
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;firstcolname || secondcolname&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Click on OK and the formula will be applied to the new column&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I strongly suggest that you go through the Discovering JMP and Using JMP documents from the JMP Documentation Library&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;JMP Documentation Library&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 16:30:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-Categorical-Variable/m-p/279272#M54141</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-15T16:30:52Z</dc:date>
    </item>
  </channel>
</rss>

