<?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: PROC FMM: Test Parameters Across Mixtures in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930648#M46380</link>
    <description>&lt;P&gt;You can use the &lt;A href="http://support.sas.com/kb/58775" target="_self"&gt;NLEST macro&lt;/A&gt;&amp;nbsp;after saving the parameter estimates table and the covariance matrix table (which must be requested with the COV option). As described in the macro documentation, when using the inest= and incovb= options, as is required here since FMM does not support the STORE statement, it is important to make the parameter estimates and covariance matrix data sets compatible. You can see by examining them that this requires dropping the last row and column of the covariance matrix data set. And the extraneous numeric variables in that data set must also be dropped, which can be done with the covdrop= option. So, the following makes the comparison you want.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fmm data=assay cov;
   model num = dose logd / dist=Poisson k = 2;
   ods output parameterestimates=pe cov=cov(where=(modelno=1));
run;
%nlest(inest=pe,incovb=cov,covdrop=modelno component col7,f=b_p2-b_p5)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 03 Jun 2024 17:03:39 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2024-06-03T17:03:39Z</dc:date>
    <item>
      <title>PROC FMM: Test Parameters Across Mixtures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930527#M46370</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a two-component mixture model via PROC FMM, and want to compare the coefficient of a variable from the first component to the coefficient of the same variable in the second component. I noticed PROC FMM does not have an ESTIMATE or CONTRAST statement available, and I am wondering if it is otherwise possible to implement this comparison. Using the example below, I would like to compare the coefficient for 'dose' in component 1 to the coefficient for 'dose' in component 2 (and ideally get a confidence interval as well). I appreciate any suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data assay;
   label dose = 'Dose of quinoline (microg/plate)'
         num  = 'Observed number of colonies';
   input dose @;
   logd = log(dose+10);
   do i=1 to 3; input num@; output; end;
   datalines;
   0  15 21 29
  10  16 18 21
  33  16 26 33
 100  27 41 60
 333  33 38 41
1000  20 27 42
;
run;

proc fmm data=assay;
   model num = dose logd / dist=Poisson k = 2;
run;&lt;/PRE&gt;</description>
      <pubDate>Sat, 01 Jun 2024 16:17:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930527#M46370</guid>
      <dc:creator>jl4443</dc:creator>
      <dc:date>2024-06-01T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FMM: Test Parameters Across Mixtures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930648#M46380</link>
      <description>&lt;P&gt;You can use the &lt;A href="http://support.sas.com/kb/58775" target="_self"&gt;NLEST macro&lt;/A&gt;&amp;nbsp;after saving the parameter estimates table and the covariance matrix table (which must be requested with the COV option). As described in the macro documentation, when using the inest= and incovb= options, as is required here since FMM does not support the STORE statement, it is important to make the parameter estimates and covariance matrix data sets compatible. You can see by examining them that this requires dropping the last row and column of the covariance matrix data set. And the extraneous numeric variables in that data set must also be dropped, which can be done with the covdrop= option. So, the following makes the comparison you want.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fmm data=assay cov;
   model num = dose logd / dist=Poisson k = 2;
   ods output parameterestimates=pe cov=cov(where=(modelno=1));
run;
%nlest(inest=pe,incovb=cov,covdrop=modelno component col7,f=b_p2-b_p5)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Jun 2024 17:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930648#M46380</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-06-03T17:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FMM: Test Parameters Across Mixtures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930999#M46387</link>
      <description>&lt;P&gt;This is exactly what I was looking for. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 18:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-FMM-Test-Parameters-Across-Mixtures/m-p/930999#M46387</guid>
      <dc:creator>jl4443</dc:creator>
      <dc:date>2024-06-05T18:00:59Z</dc:date>
    </item>
  </channel>
</rss>

