<?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: Fit index issues when running PROC CALIS for path analysis - Chi Square = 0 and Missing &amp;quot;.&amp;amp; in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873691#M43223</link>
    <description>&lt;PRE&gt;data import_test; 
set work.import7; 

*creating interaction effect between frequency of fitness-related use and PA info seeking; 
fitness_freq_infoseeking = fitness_freq*infoseeking ;

PAmodvig = PAmod_open + PAvig_open; 
PAtotal = PAlight_open + PAmod_open + PAvig_open; 

*re-coding exercise self-schema categories; 
if (8 =&amp;lt; exreg_describe and 8 =&amp;lt; staysfit_describe) or (8 =&amp;lt; exreg_describe and 8 =&amp;lt; PA_describe) or (8 =&amp;lt; staysfit_describe and 8 =&amp;lt; PA_describe) then exschem_DESCRIBE = 1; *exerciser schematic for describe; 
else if (1 =&amp;lt; exreg_describe =&amp;lt; 4 and 1 =&amp;lt; staysfit_describe =&amp;lt; 4) or (1 =&amp;lt; exreg_describe =&amp;lt; 4 and 1 =&amp;lt; PA_describe =&amp;lt; 4) or (1 =&amp;lt; staysfit_describe =&amp;lt;4 and 1 =&amp;lt; PA_DESCRIBE =&amp;lt; 4) then exschem_DESCRIBE = 2; *exerciser non-schematic for describe; 
else if (5 =&amp;lt; exreg_describe =&amp;lt; 7 and 5 =&amp;lt; staysfit_describe =&amp;lt; 7) or (5 =&amp;lt; exreg_describe =&amp;lt; 7 and 5 =&amp;lt; PA_describe =&amp;lt; 7) or (5 =&amp;lt; staysfit_describe =&amp;lt;7 and 5 =&amp;lt; PA_DESCRIBE =&amp;lt; 7) then exschem_DESCRIBE = 3; *exerciser aschematic for describe;
else if exreg_describe = "." and PA_describe = "." and staysfit_describe = "." then exschem_describe = ".";  *missing values; 
else exschem_DESCRIBE = 4; *non-classifiable, don't meet any of the outlined criteria above; 

if (8 =&amp;lt; exreg_important =&amp;lt;11 and 8 =&amp;lt; staysfit_important =&amp;lt;11) or (8 =&amp;lt; exreg_important =&amp;lt;11 and 8 =&amp;lt; PA_important =&amp;lt;11) or (8 =&amp;lt; staysfit_important =&amp;lt;11 and 8 =&amp;lt; PA_important =&amp;lt;11) then exschem_IMPORTANT = 1; *exerciser schematic for important &amp;amp; exerciser non-schematic for important; 
else if (7 =&amp;gt; exreg_important =&amp;lt;11 and 7 =&amp;gt; staysfit_important =&amp;lt;11) or (7 =&amp;gt; exreg_important =&amp;lt;11 and 7 =&amp;gt; PA_important =&amp;lt;11) or (7 =&amp;gt; staysfit_important =&amp;lt;11 and 7 =&amp;gt; PA_important =&amp;lt;11) then exschem_IMPORTANT = 2; *exerciser aschematic for important; 
else if exreg_important = "." and PA_important = "." and staysfit_important = "." then exschem_important = "."; *missing values; 
else exschem_important = 3; *non-classifiable, don't meet any of the outlined criteria above; 

if exschem_DESCRIBE = 1 and exschem_IMPORTANT = 1 then exschem = 4; 
else if exschem_DESCRIBE = 2 and exschem_IMPORTANT = 1 then exschem = 3; 
else if exschem_DESCRIBE = 3 and exschem_IMPORTANT = 2 then exschem = 2; 
*else if exschem_DESCRIBE = 4 and exschem_IMPORTANT = 3 then exschem = 1; 
else if exschem_DESCRIBE = "." or exschem_IMPORTANT = "." then exschem = "."; 
else exschem = 1; 

if exschem = 1 then exschem_collapsed = 1; else 
if exschem = 2 then exschem_collapsed = 1; else 
if exschem = 3 then exschem_collapsed = 1; else 
if exschem = 4 then exschem_collapsed = 2;


RUN; &lt;/PRE&gt;&lt;P&gt;Above is my data step and recoding of the variables in this analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I've included the log messages as screenshots below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grace130_1-1683132451239.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83560iB12CDCCA6E79B733/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grace130_1-1683132451239.png" alt="grace130_1-1683132451239.png" /&gt;&lt;/span&gt;&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="grace130_0-1683132426914.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83559iD6AFDB8F00773D95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grace130_0-1683132426914.png" alt="grace130_0-1683132426914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 16:48:05 GMT</pubDate>
    <dc:creator>grace130</dc:creator>
    <dc:date>2023-05-03T16:48:05Z</dc:date>
    <item>
      <title>Fit index issues when running PROC CALIS for path analysis - Chi Square = 0 and Missing "." RMSEA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873671#M43220</link>
      <description>&lt;P&gt;Hi SAS community! I'm running into an issue when generating fit indices for a PROC CALIS procedure. The RMSEA is missing (".") and chi-square = 0. See screenshot included below. I use SAS OnDemand.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grace130_0-1683127317826.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83558iEF665B4C0685E082/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grace130_0-1683127317826.png" alt="grace130_0-1683127317826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm running a simple path analysis. The SAS code shown below.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc calis method=fiml data=import_test;&lt;BR /&gt;fitindex on(only) = [chisq df probchi bentlernnfi cfi rmsea rmsea_ll rmsea_ul probclfit srmsr caic sbc]; &lt;BR /&gt;	path 				/*specification of path model*/&lt;BR /&gt;	PAmodvig &amp;lt;- fitness_freq, &lt;BR /&gt;	PAmodvig &amp;lt;- exschem_collapsed, &lt;BR /&gt;	exschem_collapsed &amp;lt;- fitness_freq; &lt;BR /&gt;	effpart 				/*for direct and indirect effects*/&lt;BR /&gt;	PAmodvig &amp;lt;- fitness_freq;  &lt;BR /&gt;	pathdiagram notitle fitindex=[chisq df probchi cfi rmsea srmsr caic sbc];&lt;BR /&gt;run; &lt;/PRE&gt;&lt;P&gt;where PAmodvig is continuous and fitness_freq and exschem_collapsed are categorical. The data include 247 participants, with only two missing values for the PROC CALIS procedure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help you can provide. Please note I am a relatively novice SAS user... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 15:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873671#M43220</guid>
      <dc:creator>grace130</dc:creator>
      <dc:date>2023-05-03T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fit index issues when running PROC CALIS for path analysis - Chi Square = 0 and Missing ".&amp;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873684#M43222</link>
      <description>&lt;P&gt;When asking questions about specific code results best practice is to include example data in form of data step code so can see everything involved. If that isn't practical/possible it helps to include the LOG from running the procedure. Copy the text from the log with the code and ALL the messages generated from that log. Then on the forum open a text box using the &amp;lt;/&amp;gt; icon that appears above the main message window then paste the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Often there are diagnostic messages that help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 16:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873684#M43222</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-03T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fit index issues when running PROC CALIS for path analysis - Chi Square = 0 and Missing ".&amp;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873691#M43223</link>
      <description>&lt;PRE&gt;data import_test; 
set work.import7; 

*creating interaction effect between frequency of fitness-related use and PA info seeking; 
fitness_freq_infoseeking = fitness_freq*infoseeking ;

PAmodvig = PAmod_open + PAvig_open; 
PAtotal = PAlight_open + PAmod_open + PAvig_open; 

*re-coding exercise self-schema categories; 
if (8 =&amp;lt; exreg_describe and 8 =&amp;lt; staysfit_describe) or (8 =&amp;lt; exreg_describe and 8 =&amp;lt; PA_describe) or (8 =&amp;lt; staysfit_describe and 8 =&amp;lt; PA_describe) then exschem_DESCRIBE = 1; *exerciser schematic for describe; 
else if (1 =&amp;lt; exreg_describe =&amp;lt; 4 and 1 =&amp;lt; staysfit_describe =&amp;lt; 4) or (1 =&amp;lt; exreg_describe =&amp;lt; 4 and 1 =&amp;lt; PA_describe =&amp;lt; 4) or (1 =&amp;lt; staysfit_describe =&amp;lt;4 and 1 =&amp;lt; PA_DESCRIBE =&amp;lt; 4) then exschem_DESCRIBE = 2; *exerciser non-schematic for describe; 
else if (5 =&amp;lt; exreg_describe =&amp;lt; 7 and 5 =&amp;lt; staysfit_describe =&amp;lt; 7) or (5 =&amp;lt; exreg_describe =&amp;lt; 7 and 5 =&amp;lt; PA_describe =&amp;lt; 7) or (5 =&amp;lt; staysfit_describe =&amp;lt;7 and 5 =&amp;lt; PA_DESCRIBE =&amp;lt; 7) then exschem_DESCRIBE = 3; *exerciser aschematic for describe;
else if exreg_describe = "." and PA_describe = "." and staysfit_describe = "." then exschem_describe = ".";  *missing values; 
else exschem_DESCRIBE = 4; *non-classifiable, don't meet any of the outlined criteria above; 

if (8 =&amp;lt; exreg_important =&amp;lt;11 and 8 =&amp;lt; staysfit_important =&amp;lt;11) or (8 =&amp;lt; exreg_important =&amp;lt;11 and 8 =&amp;lt; PA_important =&amp;lt;11) or (8 =&amp;lt; staysfit_important =&amp;lt;11 and 8 =&amp;lt; PA_important =&amp;lt;11) then exschem_IMPORTANT = 1; *exerciser schematic for important &amp;amp; exerciser non-schematic for important; 
else if (7 =&amp;gt; exreg_important =&amp;lt;11 and 7 =&amp;gt; staysfit_important =&amp;lt;11) or (7 =&amp;gt; exreg_important =&amp;lt;11 and 7 =&amp;gt; PA_important =&amp;lt;11) or (7 =&amp;gt; staysfit_important =&amp;lt;11 and 7 =&amp;gt; PA_important =&amp;lt;11) then exschem_IMPORTANT = 2; *exerciser aschematic for important; 
else if exreg_important = "." and PA_important = "." and staysfit_important = "." then exschem_important = "."; *missing values; 
else exschem_important = 3; *non-classifiable, don't meet any of the outlined criteria above; 

if exschem_DESCRIBE = 1 and exschem_IMPORTANT = 1 then exschem = 4; 
else if exschem_DESCRIBE = 2 and exschem_IMPORTANT = 1 then exschem = 3; 
else if exschem_DESCRIBE = 3 and exschem_IMPORTANT = 2 then exschem = 2; 
*else if exschem_DESCRIBE = 4 and exschem_IMPORTANT = 3 then exschem = 1; 
else if exschem_DESCRIBE = "." or exschem_IMPORTANT = "." then exschem = "."; 
else exschem = 1; 

if exschem = 1 then exschem_collapsed = 1; else 
if exschem = 2 then exschem_collapsed = 1; else 
if exschem = 3 then exschem_collapsed = 1; else 
if exschem = 4 then exschem_collapsed = 2;


RUN; &lt;/PRE&gt;&lt;P&gt;Above is my data step and recoding of the variables in this analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I've included the log messages as screenshots below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grace130_1-1683132451239.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83560iB12CDCCA6E79B733/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grace130_1-1683132451239.png" alt="grace130_1-1683132451239.png" /&gt;&lt;/span&gt;&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="grace130_0-1683132426914.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83559iD6AFDB8F00773D95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grace130_0-1683132426914.png" alt="grace130_0-1683132426914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 16:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873691#M43223</guid>
      <dc:creator>grace130</dc:creator>
      <dc:date>2023-05-03T16:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fit index issues when running PROC CALIS for path analysis - Chi Square = 0 and Missing ".&amp;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873858#M43237</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The fit statistics values you got are not unusual. It is typically from a just-identified model -- you have the same number of parameters as the total number of means and covariance elements.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jill&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 13:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fit-index-issues-when-running-PROC-CALIS-for-path-analysis-Chi/m-p/873858#M43237</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2023-05-04T13:16:15Z</dc:date>
    </item>
  </channel>
</rss>

