Coefplot binomial logistic regression

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
JMRM
Posts: 2
Joined: Mon Jun 17, 2024 12:22 pm

Coefplot binomial logistic regression

Post 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 :grinning:

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!!
User avatar
mcfanda@gmail.com
Posts: 562
Joined: Thu Mar 23, 2017 9:24 pm

Re: Coefplot binomial logistic regression

Post by mcfanda@gmail.com »

hi,
what do you mean by coefficient plot. What would you like to plot?
JMRM
Posts: 2
Joined: Mon Jun 17, 2024 12:22 pm

Re: Coefplot binomial logistic regression

Post 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.
User avatar
mcfanda@gmail.com
Posts: 562
Joined: Thu Mar 23, 2017 9:24 pm

Re: Coefplot binomial logistic regression

Post by mcfanda@gmail.com »

In Rj editor, you can estimate your model and then make a plot using ggplot2.
User avatar
MAgojam
Posts: 449
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Coefplot binomial logistic regression

Post 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
Rj_coef_plot.png (317.64 KiB) Viewed 9569 times
Cheers,
Maurizio
https://www.jamovi.org/about.html
Post Reply