haziqj/iprior

Combine `one.lam` and `parsm`

haziqj opened this issue · 1 comments

These seem to be doing the same thing. See this comment relating to issue #7.

On second thought, they do different things.

  • iprior(y ~ x + grp + x:grp, data=simdat, parsm=F) uses 3 scale parameters.
  • iprior(y ~ x + grp + x:grp, data=simdat, parsm=T) uses 2 scale parameters.
  • iprior(y ~ x + grp + x:grp, data=simdat, one.lam=T)uses 1 scale parameter.

There is no way to achieve the three types of models with just one option. Need both of them.