Im looking for marginal effects in my bivariate probit model in R. For the univariate case via
model <- glm(formula, family=binomal(link="probit"))
its clear how to get them: simply take
margins(model)
But now I have a model estimated with the gjrm package. My example looks like:
library(Zelig)
data("sanction")
liste_biprob <- list(import ~ coop + cost, export ~ cost + target)
mr <- c("probit", "probit")
biprobit_1 <- gjrm(liste_biprob, data=sanction, Model="B", margins=mr)
From this model I want to extract the marginal effects now. margins() doesnt work anymore. Also I tried to split my output in a way that margins could work, but I failed. Im would be very grateful if anybody has a way to calculate the marginal effects for my case!