Page 1 of 1
Coefplot binomial logistic regression
Posted: Tue Jun 18, 2024 7:54 am
by JMRM
Hello to all of you!
I am fascinated by Jamovi. After years of working with SPSS, I found this software and my life changed
However, I have encountered a problem that I can't solve. I need to generate a coefficient plot of a binary logistic regression.
I try to do it by R syntax, but I can't. Any help on the process?
Thanks a lot!!
Re: Coefplot binomial logistic regression
Posted: Tue Jun 18, 2024 11:28 am
by mcfanda@gmail.com
hi,
what do you mean by coefficient plot. What would you like to plot?
Re: Coefplot binomial logistic regression
Posted: Tue Jun 18, 2024 3:04 pm
by JMRM
Hi! I attach an example. I want to plot the regression coefficients of each variable in a binomial logistic regression.
https://repec.sowi.unibe.ch/stata/coefp ... arted.html
Thanks for your response.
Re: Coefplot binomial logistic regression
Posted: Wed Jun 19, 2024 9:46 am
by mcfanda@gmail.com
In Rj editor, you can estimate your model and then make a plot using ggplot2.
Re: Coefplot binomial logistic regression
Posted: Thu Jun 20, 2024 7:57 pm
by MAgojam
Hey @JMRM,
I attach a screenshot with some code as a complement to Marcello's suggestion to use Rj.
Here there is a linear regression with the "auto" data from Stata (as in your reference link) and on what the
jmv:linReg() function returns (which is an
object of class R6) a tibble of the coefficients is created and generated their plot.
I hope it helps to adapt it to your needs.

- Rj_coef_plot.png (317.64 KiB) Viewed 9563 times
Cheers,
Maurizio
https://www.jamovi.org/about.html