<?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: Monte Carlo simulation in structural equation modeling in SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740829#M80544</link>
    <description>&lt;P&gt;Thank you so much for your response. I would like to compare the following two non-nested models. I do not want simulate a data set. Please, what is the best way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/****MODEL WITH SEPSIS, SURGERY AND ED_DISPO*****/
   PROC LOGISTIC DATA=Averasepsis_data10C3b OUTEST=_LNLIKE4_ DESC;
  CLASS  triage_pulse2(ref='&amp;lt;96') Lactate1_cat(ref='&amp;lt;2')  mode_arrival(ref='private tranp') bmi2(ref='&amp;lt;18.5') total_sofa1_ed2(ref='&amp;lt;4') pmh_copd(ref='No') 
pmh_cirrhosis(ref='No')  pmh_transplant(ref='No') pmh_cancer(ref='No') Age2(ref='&amp;lt;30') pmh_diabetes(ref='No') pmh_dialysis(ref='No') infection_ed_source3(ref='resp_pnuem')
 sex2(ref='Male') RUCA2(ref='Two') ed_provider_type2(ref='Physician') ICU_yn(ref='No') sepsis_septic_diag(ref='No') sepsis_septic_diag(ref='No')ed_dispo(ref='Admit') surgery(ref='No');
	MODEL telemed_use (Event='Yes') =  triage_pulse2 Lactate1_cat triage_systolic mode_arrival delta_SOFA bmi2 citypop_2019
EDVolume_2019 totalbeds transferdist sex2 RUCA2 ed_provider_type2 ICU_yn sepsis_septic_diag ed_dispo surgery/lackfit rsquare;
  RUN;

  /****MODEL WITH SEPSIS and SURGERY*****/
   PROC LOGISTIC DATA=Averasepsis_data10C3b OUTEST=_LNLIKE5_ DESC;
  CLASS  triage_pulse2(ref='&amp;lt;96') Lactate1_cat(ref='&amp;lt;2')  mode_arrival(ref='private tranp') bmi2(ref='&amp;lt;18.5') total_sofa1_ed2(ref='&amp;lt;4') pmh_copd(ref='No') 
pmh_cirrhosis(ref='No')  pmh_transplant(ref='No') pmh_cancer(ref='No') Age2(ref='&amp;lt;30') pmh_diabetes(ref='No') pmh_dialysis(ref='No') infection_ed_source3(ref='resp_pnuem')
 sex2(ref='Male') RUCA2(ref='Two') ed_provider_type2(ref='Physician') ICU_yn(ref='No') sepsis_septic_diag(ref='No') sepsis_septic_diag(ref='No') surgery(ref='No');
	MODEL telemed_use (Event='Yes') =  triage_pulse2 Lactate1_cat triage_systolic mode_arrival delta_SOFA bmi2 citypop_2019
EDVolume_2019 totalbeds transferdist sex2 RUCA2 ed_provider_type2 ICU_yn sepsis_septic_diag surgery/lackfit rsquare;
  RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 May 2021 15:28:03 GMT</pubDate>
    <dc:creator>UcheOkoro</dc:creator>
    <dc:date>2021-05-12T15:28:03Z</dc:date>
    <item>
      <title>Compare two non-nested models</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740265#M80534</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, I need to compare two non nested&amp;nbsp; models. Please, I need help with SAS code for Monte Carlo simulation in structural equation modeling to do this comparison.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 14:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740265#M80534</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2021-05-15T14:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Monte Carlo simulation in structural equation modeling in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740448#M80535</link>
      <description>&lt;P&gt;As a starter, you need to know how to simulate multivariate normal data and data for a linear regression model. If you have a moderately complicated model with multivariate relationships, I suggest you use SAS/IML software rather than the DATA step in Base SAS. Here are some tips to get you started:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2011/01/12/sampling-from-the-multivariate-normal-distribution.html" target="_self"&gt;How to generate MVN data with SAS/IML&lt;/A&gt;&amp;nbsp; &amp;nbsp;(If you don't have SAS/IML, you can &lt;A href="https://blogs.sas.com/content/iml/2017/09/25/simulate-multivariate-normal-data-sas-simnormal.html" target="_self"&gt;use PROC SIMNORMAL&lt;/A&gt;.)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2014/06/27/simulate-many-samples-from-a-logistic-regression-model.html" target="_self"&gt;How to generate data for a LOGISTIC regression model in SAS/IML&lt;/A&gt; (just omit the logistic transformation to get a linear model). If you don't have SAS/IML, &lt;A href="https://blogs.sas.com/content/iml/2017/01/25/simulate-regression-model-sas.html" target="_self"&gt;you can use the DATA step to simulate regression data&lt;/A&gt;.)&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings15/SAS1387-2015.pdf" target="_self"&gt;General tips for data simulation in SAS&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;SEM models are fairly complicated, so be sure to master the basics before you attempt SEM.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 12:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740448#M80535</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-05-11T12:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Monte Carlo simulation in structural equation modeling in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740829#M80544</link>
      <description>&lt;P&gt;Thank you so much for your response. I would like to compare the following two non-nested models. I do not want simulate a data set. Please, what is the best way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/****MODEL WITH SEPSIS, SURGERY AND ED_DISPO*****/
   PROC LOGISTIC DATA=Averasepsis_data10C3b OUTEST=_LNLIKE4_ DESC;
  CLASS  triage_pulse2(ref='&amp;lt;96') Lactate1_cat(ref='&amp;lt;2')  mode_arrival(ref='private tranp') bmi2(ref='&amp;lt;18.5') total_sofa1_ed2(ref='&amp;lt;4') pmh_copd(ref='No') 
pmh_cirrhosis(ref='No')  pmh_transplant(ref='No') pmh_cancer(ref='No') Age2(ref='&amp;lt;30') pmh_diabetes(ref='No') pmh_dialysis(ref='No') infection_ed_source3(ref='resp_pnuem')
 sex2(ref='Male') RUCA2(ref='Two') ed_provider_type2(ref='Physician') ICU_yn(ref='No') sepsis_septic_diag(ref='No') sepsis_septic_diag(ref='No')ed_dispo(ref='Admit') surgery(ref='No');
	MODEL telemed_use (Event='Yes') =  triage_pulse2 Lactate1_cat triage_systolic mode_arrival delta_SOFA bmi2 citypop_2019
EDVolume_2019 totalbeds transferdist sex2 RUCA2 ed_provider_type2 ICU_yn sepsis_septic_diag ed_dispo surgery/lackfit rsquare;
  RUN;

  /****MODEL WITH SEPSIS and SURGERY*****/
   PROC LOGISTIC DATA=Averasepsis_data10C3b OUTEST=_LNLIKE5_ DESC;
  CLASS  triage_pulse2(ref='&amp;lt;96') Lactate1_cat(ref='&amp;lt;2')  mode_arrival(ref='private tranp') bmi2(ref='&amp;lt;18.5') total_sofa1_ed2(ref='&amp;lt;4') pmh_copd(ref='No') 
pmh_cirrhosis(ref='No')  pmh_transplant(ref='No') pmh_cancer(ref='No') Age2(ref='&amp;lt;30') pmh_diabetes(ref='No') pmh_dialysis(ref='No') infection_ed_source3(ref='resp_pnuem')
 sex2(ref='Male') RUCA2(ref='Two') ed_provider_type2(ref='Physician') ICU_yn(ref='No') sepsis_septic_diag(ref='No') sepsis_septic_diag(ref='No') surgery(ref='No');
	MODEL telemed_use (Event='Yes') =  triage_pulse2 Lactate1_cat triage_systolic mode_arrival delta_SOFA bmi2 citypop_2019
EDVolume_2019 totalbeds transferdist sex2 RUCA2 ed_provider_type2 ICU_yn sepsis_septic_diag surgery/lackfit rsquare;
  RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 May 2021 15:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740829#M80544</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2021-05-12T15:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Monte Carlo simulation in structural equation modeling in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740838#M80548</link>
      <description>&lt;P&gt;I'm confused. The title of your post is "Monte Carlo simulation in structural equation modeling in SAS." But now you are asking about how to compare two logistic models.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to compare two logistic models, one way is to compare the area under their ROC curves (C statistic). See&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/how-to-compare-two-models/td-p/121251" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/how-to-compare-two-models/td-p/121251&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For other options, see&amp;nbsp;&lt;A href="https://www.lexjansen.com/mwsug/2016/AA/MWSUG-2016-AA19.pdf" target="_blank"&gt;https://www.lexjansen.com/mwsug/2016/AA/MWSUG-2016-AA19.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 15:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/740838#M80548</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-05-12T15:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monte Carlo simulation in structural equation modeling in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/741453#M80553</link>
      <description>&lt;P&gt;Thank you so much, Rick_SAS. This was very helpful!&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 14:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compare-two-non-nested-models/m-p/741453#M80553</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2021-05-14T14:13:52Z</dc:date>
    </item>
  </channel>
</rss>

