Forest plot / Confidence Interval plot for Logistic Regression in Stata
use "D:\abc\MyData.dta", clear
*--Simple logistic regression
logistic bmiCAT ib0.toilet2, cluster( v021 )
logistic bmiCAT ib1.v025, cluster( v021 )
logistic bmiCAT ib0.DV, cluster( v021 )
logistic bmiCAT ib1.anc2, cluster( v021 )
logistic bmiCAT v012, cluster( v021 )
logistic bmiCAT ib1.edu, cluster( v021 )
*
*---Multiple logistic regression
logistic bmiCAT ib5.v190 ib1.v025 ib0.DV ib1.anc2 v012 ib1.edu ib8.v024, cluster( v021 )
*
coefplot, drop(_cons) xline(1) eform
Are you passionate about data science, bio-statistics, and epidemiology? Dive into our channel, where we break down complex concepts and empower you with the knowledge to excel in regression analysis and beyond. Learn the latest techniques, explore real-world applications, and stay ahead in your field. Whether you're a beginner or an expert, our engaging content will elevate your understanding and skills. Subscribe now and transform your career with the power of data!
21 окт 2024