<?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: Categorical Variables and SEM in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Categorical-Variables-and-SEM/m-p/931298#M108812</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;You&amp;nbsp; have two options for your &lt;U&gt;&lt;STRONG&gt;first question&lt;/STRONG&gt;&lt;/U&gt;, the first is to do multiple-group analysis (MGA) with cohort as the grouping variable. This option is helpful if you want to examine closely potential group differences across cohorts. Here are some resources to learn more about MGA in SEM:&lt;/P&gt;
&lt;P&gt;Blog post:&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="207px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="207.281px" height="54px"&gt;&lt;A href="https://community.jmp.com/t5/JMP-Blog/Multiple-Group-Analysis-in-Structural-Equation-Modeling/ba-p/604714" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Blog/Multiple-Group-Analysis-in-Structural-Equation-Modeling/ba-p/604714&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Example in JMP Documentation:&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="413px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="438.766px"&gt;&lt;A href="https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/example-of-multiple-group-analysis.shtml#ww676033" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/example-of-multiple-group-analysis.shtml#ww676033&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Video demonstration:&lt;/P&gt;
&lt;P&gt;- MGA with regression analysis starts @&amp;nbsp;minute 13:00 and ends @ 22:20&lt;/P&gt;
&lt;P&gt;- MGA with latent growth curves starts&amp;nbsp;@ minute 29:30 and ends&amp;nbsp;@ 39:20&lt;/P&gt;
&lt;TABLE width="167"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="167"&gt;&lt;A href="https://community.jmp.com/t5/Discovery-Summit-Europe-2023/Exploring-Group-Differences-and-Other-New-Features-in-Structural/ta-p/572689" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/Discovery-Summit-Europe-2023/Exploring-Group-Differences-and-Other-New-Features-in-Structural/ta-p/572689&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Alternatively, if you just want to control for cohort, you can do this by creating dummy coded variables--the same way you would do it in regression analysis (i.e., with three levels, you just need two variables). Then add those variables as predictors in your model.&lt;/P&gt;
&lt;P&gt;For your &lt;STRONG&gt;&lt;U&gt;second question&lt;/U&gt;&lt;/STRONG&gt;, definitely look in the Model Shortcuts menu under "Longitudinal Analysis &amp;gt; Multivariate Latent Growth Curve" --use this prior to entering your categorical variable into the analysis. It'll allow you to understand the growth trajectories before anything else.&lt;/P&gt;
&lt;P&gt;The same video link I posted above shows how to fit a parallel process model at minute 39:30.&lt;/P&gt;
&lt;P&gt;We're working on handling endogenous categorical variables in a future release of the product, however, that feature isn't available yet. With that said, I'm curious what your 3 levels are for HS graduation? I'd expect 2 levels: yes, no, and perhaps missing values. If so, there are two options for this...&lt;/P&gt;
&lt;P&gt;(1) you could add the binary variable (with missing data) into the analysis and specify it as an outcome (perhaps an outcome of intercepts and slopes in your multivariate growth curve?). You can use maximum likelihood as your estimator (the default) and the point estimate will be accurate--however, the standard error for the prediction of the categorical variable won't be. This can be addressed by going to the main red triangle menu and selecting "Inference &amp;gt; Robust Inference." You could also do bootstrap if you prefer.&lt;/P&gt;
&lt;P&gt;(2) You could specify your model as described in option 1, but then go to the main red triangle menu to select: "Generate R Code" --this will produce a script that you can tweak to specify the categorical variable as and "ordered" variable and get proper standard errors that way.&lt;/P&gt;
&lt;P&gt;Lastly, if you want to explore potential group differences in longitudinal trajectories, you could simply treat high school graduation as a grouping variable and follow the same ideas that are shown in the video link.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2026 16:42:55 GMT</pubDate>
    <dc:creator>LauraCS</dc:creator>
    <dc:date>2026-02-17T16:42:55Z</dc:date>
    <item>
      <title>Categorical Variables and SEM</title>
      <link>https://community.jmp.com/t5/Discussions/Categorical-Variables-and-SEM/m-p/930889#M108783</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have 2 questions on using categorical variables with SEM. I am running an SEM analysis, where I would like to model 2 continuous variables while controlling for a categorical variable (in this case, nominal, cohort 1, 2, or 3). How would I control for cohort when running the analysis?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2nd question: I am trying to run a parallel growth curve model with 3 time points, and predicting high school graduation, a categorical variable with 3 possible values. Is it possible to run SEM with continuous variables to predict a categorical variable at a 4th time point?&lt;/P&gt;
&lt;P&gt;Thank you for taking the time to answer my questions!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 17:45:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Categorical-Variables-and-SEM/m-p/930889#M108783</guid>
      <dc:creator>OmegaOkapi125</dc:creator>
      <dc:date>2026-02-13T17:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Categorical Variables and SEM</title>
      <link>https://community.jmp.com/t5/Discussions/Categorical-Variables-and-SEM/m-p/931298#M108812</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;You&amp;nbsp; have two options for your &lt;U&gt;&lt;STRONG&gt;first question&lt;/STRONG&gt;&lt;/U&gt;, the first is to do multiple-group analysis (MGA) with cohort as the grouping variable. This option is helpful if you want to examine closely potential group differences across cohorts. Here are some resources to learn more about MGA in SEM:&lt;/P&gt;
&lt;P&gt;Blog post:&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="207px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="207.281px" height="54px"&gt;&lt;A href="https://community.jmp.com/t5/JMP-Blog/Multiple-Group-Analysis-in-Structural-Equation-Modeling/ba-p/604714" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Blog/Multiple-Group-Analysis-in-Structural-Equation-Modeling/ba-p/604714&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Example in JMP Documentation:&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="413px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="438.766px"&gt;&lt;A href="https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/example-of-multiple-group-analysis.shtml#ww676033" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/example-of-multiple-group-analysis.shtml#ww676033&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Video demonstration:&lt;/P&gt;
&lt;P&gt;- MGA with regression analysis starts @&amp;nbsp;minute 13:00 and ends @ 22:20&lt;/P&gt;
&lt;P&gt;- MGA with latent growth curves starts&amp;nbsp;@ minute 29:30 and ends&amp;nbsp;@ 39:20&lt;/P&gt;
&lt;TABLE width="167"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="167"&gt;&lt;A href="https://community.jmp.com/t5/Discovery-Summit-Europe-2023/Exploring-Group-Differences-and-Other-New-Features-in-Structural/ta-p/572689" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/Discovery-Summit-Europe-2023/Exploring-Group-Differences-and-Other-New-Features-in-Structural/ta-p/572689&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Alternatively, if you just want to control for cohort, you can do this by creating dummy coded variables--the same way you would do it in regression analysis (i.e., with three levels, you just need two variables). Then add those variables as predictors in your model.&lt;/P&gt;
&lt;P&gt;For your &lt;STRONG&gt;&lt;U&gt;second question&lt;/U&gt;&lt;/STRONG&gt;, definitely look in the Model Shortcuts menu under "Longitudinal Analysis &amp;gt; Multivariate Latent Growth Curve" --use this prior to entering your categorical variable into the analysis. It'll allow you to understand the growth trajectories before anything else.&lt;/P&gt;
&lt;P&gt;The same video link I posted above shows how to fit a parallel process model at minute 39:30.&lt;/P&gt;
&lt;P&gt;We're working on handling endogenous categorical variables in a future release of the product, however, that feature isn't available yet. With that said, I'm curious what your 3 levels are for HS graduation? I'd expect 2 levels: yes, no, and perhaps missing values. If so, there are two options for this...&lt;/P&gt;
&lt;P&gt;(1) you could add the binary variable (with missing data) into the analysis and specify it as an outcome (perhaps an outcome of intercepts and slopes in your multivariate growth curve?). You can use maximum likelihood as your estimator (the default) and the point estimate will be accurate--however, the standard error for the prediction of the categorical variable won't be. This can be addressed by going to the main red triangle menu and selecting "Inference &amp;gt; Robust Inference." You could also do bootstrap if you prefer.&lt;/P&gt;
&lt;P&gt;(2) You could specify your model as described in option 1, but then go to the main red triangle menu to select: "Generate R Code" --this will produce a script that you can tweak to specify the categorical variable as and "ordered" variable and get proper standard errors that way.&lt;/P&gt;
&lt;P&gt;Lastly, if you want to explore potential group differences in longitudinal trajectories, you could simply treat high school graduation as a grouping variable and follow the same ideas that are shown in the video link.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 16:42:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Categorical-Variables-and-SEM/m-p/931298#M108812</guid>
      <dc:creator>LauraCS</dc:creator>
      <dc:date>2026-02-17T16:42:55Z</dc:date>
    </item>
  </channel>
</rss>

