lapl_aprx2 {bayesdistreg} | R Documentation |
lapl_aprx2
is a more flexible alternative to lapl_aprx
. This creates
glm
objects from which joint asymptotic distributions can be computed.
lapl_aprx2(y, x, family = "binomial", ...)
y |
the binary dependent variable y |
x |
the matrix of independent variables. |
family |
a parameter to be passed |
... |
additional parameters to be passed to |
val A list of mode variance-covariance matrix, and scale factor for proposal draws from the multivariate normal distribution.
y = indicat(faithful$waiting,mean(faithful$waiting)) x = scale(cbind(faithful$eruptions,faithful$eruptions^2)) (gg<- lapl_aprx2(y,x)); coef(gg); vcov(gg)