.beta_mom.NR.fun {BayesFBHborrow} | R Documentation |
First and second derivative of target for mode and variance of proposal
.beta_mom.NR.fun(df, k, beta, bp, cprop_beta)
df |
Data frame with indicators |
k |
index |
beta |
vector of parameters |
bp |
number of covariates |
cprop_beta |
proposal variance standard deviation |
First and second derivative mode and variance