<?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 Asymptotic covariance matrix in Proc calis in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34789#M8523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, and sorry for my english !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the proc Calis to run confirmatory factor analysis, using the lineqs statement. Data contains categorical variables, representing answers (1, 2, 3 or 4) of some items of a scale.&lt;/P&gt;&lt;P&gt;So, i want to analyze polychoric correlations with the WLS method, and not with the maximum likelihood one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem under SAS with proc calis, polychoric correlations and WLS estimation method, is the need of an asymptotic covariance matrix (in the INWGT option).&lt;/P&gt;&lt;P&gt;The error on SAS is : "ERROR: You need either a DATA= raw data set or an INWGT= data set to compute WLS or DWLS estimators."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i compute this asymptotic covariance matrix ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2011 13:21:39 GMT</pubDate>
    <dc:creator>jeanda</dc:creator>
    <dc:date>2011-07-21T13:21:39Z</dc:date>
    <item>
      <title>Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34789#M8523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, and sorry for my english !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the proc Calis to run confirmatory factor analysis, using the lineqs statement. Data contains categorical variables, representing answers (1, 2, 3 or 4) of some items of a scale.&lt;/P&gt;&lt;P&gt;So, i want to analyze polychoric correlations with the WLS method, and not with the maximum likelihood one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem under SAS with proc calis, polychoric correlations and WLS estimation method, is the need of an asymptotic covariance matrix (in the INWGT option).&lt;/P&gt;&lt;P&gt;The error on SAS is : "ERROR: You need either a DATA= raw data set or an INWGT= data set to compute WLS or DWLS estimators."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i compute this asymptotic covariance matrix ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 13:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34789#M8523</guid>
      <dc:creator>jeanda</dc:creator>
      <dc:date>2011-07-21T13:21:39Z</dc:date>
    </item>
    <item>
      <title>Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34790#M8524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely outside of my area of expertise, but see if the following page provides what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="http://people.ku.edu/~preacher/interact/acov.htm"&gt;http://people.ku.edu/~preacher/interact/acov.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 14:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34790#M8524</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-07-21T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34791#M8525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already seen this page, but with the proc reg, i dont't know how to have this asymptotic covariance model because i have no variable to "explain" (latent variables) and so i can't put anything in the Model statement of this proc (model y= x1 x2 x3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 16:15:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34791#M8525</guid>
      <dc:creator>jeanda</dc:creator>
      <dc:date>2011-07-21T16:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34792#M8526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you get the covariance matrix from PROC CORR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc corr data=indata pearson;&lt;/P&gt;&lt;P&gt;var x1 x2 x3;&lt;/P&gt;&lt;P&gt;ods output covar=cov;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dataset work.covar should have the covariances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, create a dummy response variable (say dummy=1 for all records), and use PROC REG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc reg data=indata;&lt;/P&gt;&lt;P&gt;model dummy=x1 x2 x3/acov;&lt;/P&gt;&lt;P&gt;ods output acov=acovest;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the dataset work.acov would have what you could use.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&amp;nbsp; I will be curious if either method gives what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 11:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34792#M8526</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2011-07-22T11:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34793#M8527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bur with the proc corr procedure, ot's not the asymptotic covariance matrix which is compute but the covariance matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And with the proc reg with the variable of 1, it doesn't work: it computes a matrix with zeros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 14:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34793#M8527</guid>
      <dc:creator>jeanda</dc:creator>
      <dc:date>2011-07-22T14:56:51Z</dc:date>
    </item>
    <item>
      <title>Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34794#M8528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Well.&amp;nbsp; So much for the easy way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PROC CALIS makes a lot of references to what I would call two pass analyses.&amp;nbsp; You run it once, and get several output matrices, then use those as inputs.&amp;nbsp; One that is prominent is OUTWGT= which should give you the weightings you need to start the second pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am somewhat concerned by the error statement, and what I tracked down in the documentation.&amp;nbsp; You should be able to do a weighted least squares analysis without specifying INWGT=.&amp;nbsp; Since the error statement also mentions DATA=, check your syntax in the PROC CALIS statement to make sure that you are correctly specifying the input data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34794#M8528</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2011-07-25T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Asymptotic covariance matrix in Proc calis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34795#M8529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your recommandations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But are you sure that the data that contains the OUTWGT output is the asymptotic covariance matrix ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning the error, i use in the DATA= a polychoric correlation matrix, so the error is normal. The WLS analysis is possible when raw data is specified in DATA=, and it is also possible when a correlation matrix is specified in DATA=, but in this case the INWGT option is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 14:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Asymptotic-covariance-matrix-in-Proc-calis/m-p/34795#M8529</guid>
      <dc:creator>jeanda</dc:creator>
      <dc:date>2011-07-25T14:06:08Z</dc:date>
    </item>
  </channel>
</rss>

