<?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: Unable to Create ODS table LatentScoresRegCoef from PROC CALIS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330917#M17480</link>
    <description>&lt;P&gt;I have two thoughts, but both are little more than guesses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Even though you have maxiter=1000, the procedure may not have converged. &amp;nbsp;What does the iteration history look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You may be overfitting the data. The first fits four paths, with no more than 4 variables per path. &amp;nbsp;The second fits 6 paths, and at least one looks to me like it could be redundant (factor 6 looks a lot like factor 2, with the addition of a variable that is likely a near alias for two of the variables in factor 2). &amp;nbsp;With near collinearity, you could have a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 17:27:11 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2017-02-08T17:27:11Z</dc:date>
    <item>
      <title>Unable to Create ODS table LatentScoresRegCoef from PROC CALIS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330894#M17479</link>
      <description>&lt;P&gt;I have two data sets which I am using to run confirmatory factor analyses in PROC CALIS.&amp;nbsp; I am trying to output the Factor Scores Regression Coefficients using the ODS table "LatentScoresRegCoef".&amp;nbsp; In the analyses with one data set, this works fine.&amp;nbsp; In the analyses with the second data set, the following warning is produced:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Output 'LatentScoresRegCoef' was not created.&amp;nbsp; Make sure that the output object name, label, or path is spelled&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; correctly.&amp;nbsp; Also, verify that the appropriate procedure options are used to produce the requested output object.&amp;nbsp; For&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; example, verify that the NOPRINT option is not used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Factor Scores Regression Coefficients output appears in each analysis but the ODS table is only created in one.&amp;nbsp; Since the code for the second data set parallels the code from the first (and was largely copied from the first), I can see no reason it will not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;[Version 13.1 SAS/STAT]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First analysis code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ODS output LatentScoresRegCoef=fac_scrs&amp;nbsp; ;&lt;BR /&gt;proc calis data=tmp_for_CFA maxiter=1000 platcov ;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; path factor1&amp;nbsp; ===&amp;gt;&amp;nbsp; rac_ethn_hispanic speak_eng_home US_citzn US_birth ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor2&amp;nbsp; ===&amp;gt;&amp;nbsp; age_grp50 age_grp60 age_grp70 age_grp80 medicare&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor3&amp;nbsp; ===&amp;gt;&amp;nbsp; ordnl_food_worry ordnl_food_run_out ordnl_inc__pov_lvl ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor4&amp;nbsp; ===&amp;gt;&amp;nbsp; age_grp30 age_grp40 age_grp50 age_grp60 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; pvar&amp;nbsp; factor1=1.0,&amp;nbsp; factor2=1.0,&amp;nbsp; factor3=1.0,&amp;nbsp; factor4=1.0 ;&lt;BR /&gt;&amp;nbsp;run ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second analysis code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ODS output LatentScoresRegCoef=fac_scrs ;&lt;BR /&gt;proc calis data=tmp_for_CFA maxiter=1000&amp;nbsp;platcov ;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; factor&amp;nbsp; factor1&amp;nbsp; ===&amp;gt;&amp;nbsp; rac_ethn_hispanic rac_ethn_other US_birth speak_eng_home US_citzn ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;factor2&amp;nbsp; ===&amp;gt;&amp;nbsp; often_run_out_food sometimes_run_out_food often_worry_no_food sometimes_worry_no_food ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor3&amp;nbsp; ===&amp;gt;&amp;nbsp; age_grp50 age_grp60 age_grp70 age_grp80 medicare ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor4&amp;nbsp; ===&amp;gt;&amp;nbsp; age_grp30 age_grp40 age_grp50 age_grp60 ,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor5&amp;nbsp; ===&amp;gt;&amp;nbsp; educ_HS_grad_only educ_coll_grad educ_some_coll educ_HS_no_HS_grad incm_pov_lvl_LE1_30 ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor6&amp;nbsp; ===&amp;gt;&amp;nbsp; sometimes_run_out_food sometimes_worry_no_food incm_pov_lvl_LE1_30 ;&lt;BR /&gt;&amp;nbsp; pvar&amp;nbsp;&amp;nbsp;&amp;nbsp; factor1&amp;nbsp; =&amp;nbsp; 1.0,&amp;nbsp; factor2&amp;nbsp; =&amp;nbsp; 1.0,&amp;nbsp; factor3&amp;nbsp; =&amp;nbsp; 1.0,&amp;nbsp; factor4&amp;nbsp; =&amp;nbsp; 1.0,&amp;nbsp; factor5&amp;nbsp; =&amp;nbsp; 1.0,&amp;nbsp; factor6&amp;nbsp; =&amp;nbsp; 1.0&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp; run ;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 16:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330894#M17479</guid>
      <dc:creator>kraemerd</dc:creator>
      <dc:date>2017-02-08T16:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create ODS table LatentScoresRegCoef from PROC CALIS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330917#M17480</link>
      <description>&lt;P&gt;I have two thoughts, but both are little more than guesses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Even though you have maxiter=1000, the procedure may not have converged. &amp;nbsp;What does the iteration history look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You may be overfitting the data. The first fits four paths, with no more than 4 variables per path. &amp;nbsp;The second fits 6 paths, and at least one looks to me like it could be redundant (factor 6 looks a lot like factor 2, with the addition of a variable that is likely a near alias for two of the variables in factor 2). &amp;nbsp;With near collinearity, you could have a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330917#M17480</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2017-02-08T17:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create ODS table LatentScoresRegCoef from PROC CALIS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330929#M17481</link>
      <description>&lt;P&gt;Steve, thank you for the thoughts.&amp;nbsp; The analyses both converged and both produced the factor scores in the output with no indications of any issues.&amp;nbsp; That is, there were no warnings in the log (other than the LatentScoresRegCoef data set not being output) or in the output.&amp;nbsp; The problem is that the first one produced the ODS LatentScoresRegCoef table while the second one did not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 18:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330929#M17481</guid>
      <dc:creator>kraemerd</dc:creator>
      <dc:date>2017-02-08T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create ODS table LatentScoresRegCoef from PROC CALIS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330932#M17482</link>
      <description>&lt;P&gt;Well two bad guesses then...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried naming them differently, such as fac_scores1 for the first and fac_scores2 for the second? &amp;nbsp;I was just thinking that some kind of lock may be going on so that when the second run is made, ODS can't write to the file. &amp;nbsp;Frankly, I don't have much hope for this approach, but who knows?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see a contact with Tech Support in your near future...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 18:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330932#M17482</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2017-02-08T18:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create ODS table LatentScoresRegCoef from PROC CALIS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330999#M17486</link>
      <description>&lt;P&gt;I don't use CALIS myself, but is it an interactive procedure? &amp;nbsp;This sounds like an issue that can occur when you put the ODS statement OUTSIDE of an interactive procedure. &amp;nbsp; For the issue I am thinking of, see the article&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2013/04/08/pointcounterpoint-ods-select.html" target="_self"&gt;"Point/Counterpoint: Where should you put ODS SELECT and ODS OUTPUT statements?"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try putting the ODS OUTPUT statement after the PROC CALIS statement in both calls. &amp;nbsp;It won't hurt and it is a good programming practice to adopt.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 21:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Unable-to-Create-ODS-table-LatentScoresRegCoef-from-PROC-CALIS/m-p/330999#M17486</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-02-08T21:47:30Z</dc:date>
    </item>
  </channel>
</rss>

