<?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: Multivariate logistic regression: univariate regression to select variables? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578551#M13373</link>
    <description>&lt;P&gt;My supervisor insists that choosing variables to enter into the final multivariate model by doing univariate analysis is the standard in medical research for risk predictors.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 19:45:48 GMT</pubDate>
    <dc:creator>michellemabelle</dc:creator>
    <dc:date>2019-08-01T19:45:48Z</dc:date>
    <item>
      <title>Multivariate logistic regression: univariate regression to select variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/577845#M13269</link>
      <description>&lt;P&gt;How do I do univariate analysis for variable selection, say p&amp;lt;0.1, to enter into the final multivariate model?&lt;/P&gt;&lt;P&gt;Do I simply run it one by one per variable, and choose? Or is there a way to loop the variables, or to integrate it into proc logistic (eg, stepwise?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=outfiles.trial2_miout descending;
	class AGE_above65 SEX BMI_obese ASACLASS_above4 FNSTATUS2 SMOKE HxDYSPNEA HYPERMED STEROID BLEEDDIS HxDIABETES HxCAD HxNEURO HxCHF HxRENALFAIL HxCOPD HxPVD ASCITES DISCANCR WNDINF TRANSFUS;
	model majormorbid=AGE_above65 SEX BMI_obese ASACLASS_above4 FNSTATUS2 SMOKE HxDYSPNEA HYPERMED STEROID BLEEDDIS HxDIABETES HxCAD HxNEURO HxCHF HxRENALFAIL HxCOPD HxPVD ASCITES DISCANCR WNDINF TRANSFUS;
	by _imputation_;
	ods output ParameterEstimates=outfiles.trial2_logistic_parms;
run;

proc mianalyze parms=trial2_logistic_parms;
	class AGE_above65 SEX BMI_obese ASACLASS_above4 FNSTATUS2 SMOKE HxDYSPNEA HYPERMED STEROID BLEEDDIS HxDIABETES HxCAD HxNEURO HxCHF HxRENALFAIL HxCOPD HxPVD ASCITES DISCANCR WNDINF TRANSFUS;
	modeleffects age_above65 sex bmi_obese asaclass_above4 smoke etoh diabetes_n steroid bleeddis cadhx_n neurohx_n neuro_deficit hxchf
	acuterenalfail Fnstatus2 HYPERMED DYSPNEA_n HXCOPD ascites discancr pvd_n wndinf_n transfus_n;
	ods output parameterestimates = trial2_mianalyze_parms;
run;

data outfiles.trial2_ORs;
	set trial2_mianalyze_parms;
	OR=exp(estimate);
	LCL_OR=exp(LCLMean);
	UCL_OR=exp(UCLMean);

proc print;
	var  OR LCL_OR UCL_OR;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/577845#M13269</guid>
      <dc:creator>michellemabelle</dc:creator>
      <dc:date>2019-07-31T13:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate logistic regression: univariate regression to select variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578021#M13288</link>
      <description>&lt;P&gt;Check PROC HPGENSELECT .&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 12:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578021#M13288</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-31T12:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate logistic regression: univariate regression to select variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578089#M13294</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;SPAN&gt;Do I simply run HPGENSELECT one by one per variable, and choose those with p&amp;lt;0.1? Or is there a way to loop the variables, or to integrate it into proc logistic (eg, stepwise?)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also notice that HPGENSELECT is done through linear regression. My outcome variable is binary, eg. complication or no complication, so I thought logistic would be most appropriate. Regarding the convention for variable selection, I understand I need to run a univariate analysis first - would this be a univariate logistic regression or a univariate linear regression?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578089#M13294</guid>
      <dc:creator>michellemabelle</dc:creator>
      <dc:date>2019-07-31T14:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate logistic regression: univariate regression to select variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578333#M13337</link>
      <description>&lt;P&gt;No. You should put all the variables together. PROC HPGENSELECT also can handle logistic model .&lt;/P&gt;
&lt;P&gt;Why do you want to do univariate analysis ? you should also consider the interaction effect between them .&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 11:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578333#M13337</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-08-01T11:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate logistic regression: univariate regression to select variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578551#M13373</link>
      <description>&lt;P&gt;My supervisor insists that choosing variables to enter into the final multivariate model by doing univariate analysis is the standard in medical research for risk predictors.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578551#M13373</guid>
      <dc:creator>michellemabelle</dc:creator>
      <dc:date>2019-08-01T19:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate logistic regression: univariate regression to select variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578666#M13380</link>
      <description>&lt;P&gt;I think your supervisor want you to do some description statistic , like : max min , outlier&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and if it conform to Normal distribution ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 11:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Multivariate-logistic-regression-univariate-regression-to-select/m-p/578666#M13380</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-08-02T11:31:20Z</dc:date>
    </item>
  </channel>
</rss>

