Use of priors
Posted: Tue Mar 19, 2013 10:25 pm
Hi!
I have a question concerning the use of priors in a(n) (bayesian) efficient design.
I have performed a small pilot study (n=8) and analyzed it with Nlogit. The simple mnl model returns values with std. errors etc. Then i tried to analyze it with effects coding and Nlogit reports "error 803: Hessian is not positive ..." which could mean that there are a lot of things that are 'wrong'.
However, Nlogit still provides coefficient parameters, but without std. errors.
Now my question, can I justify the use of those parameters (effects coded) as my priors in a(n) (bayesian) efficient design? With the std. deviation of 1/3 of the prior value.
And how important is the result of the D-optimality, what is an acceptable value of this?
My syntax may look like:
Design
;alts = ct, mri
;rows = 13
;con
;eff = (mnl,d,mean)
;bdraws = gauss(2,2,3,3,3,3,2,2,3,3,3,3)
;model:
U(ct) =
ct +
time1.effects[(n,0.426,0.142)|(n,-0.065,0.022)] * tct[20,25,30] +
se1.effects[(n,-0.777,0.259)|(n,-0.666,0.222)] * sect[90,95,100] +
sp1.effects[(n,1.815,0.605)|(n,0.072,0.024)] * spct[5,15,25] /
U(mri) =
Time2.effects[(n,0.2,0.067)|(n,0.207,0.069)] * tmr[60,75,90] +
Se2.effects[(n,-0.441,0.147)|(n,-0.114,0.038)] * semr[90,95,100] +
Sp2.effects[(n,1.882,0.627)|(n,-0.002,0.0006)] * spmr[5,15,25] $
Thanks for your help!!
Regards,
Gaston Vogel
I have a question concerning the use of priors in a(n) (bayesian) efficient design.
I have performed a small pilot study (n=8) and analyzed it with Nlogit. The simple mnl model returns values with std. errors etc. Then i tried to analyze it with effects coding and Nlogit reports "error 803: Hessian is not positive ..." which could mean that there are a lot of things that are 'wrong'.
However, Nlogit still provides coefficient parameters, but without std. errors.
Now my question, can I justify the use of those parameters (effects coded) as my priors in a(n) (bayesian) efficient design? With the std. deviation of 1/3 of the prior value.
And how important is the result of the D-optimality, what is an acceptable value of this?
My syntax may look like:
Design
;alts = ct, mri
;rows = 13
;con
;eff = (mnl,d,mean)
;bdraws = gauss(2,2,3,3,3,3,2,2,3,3,3,3)
;model:
U(ct) =
ct +
time1.effects[(n,0.426,0.142)|(n,-0.065,0.022)] * tct[20,25,30] +
se1.effects[(n,-0.777,0.259)|(n,-0.666,0.222)] * sect[90,95,100] +
sp1.effects[(n,1.815,0.605)|(n,0.072,0.024)] * spct[5,15,25] /
U(mri) =
Time2.effects[(n,0.2,0.067)|(n,0.207,0.069)] * tmr[60,75,90] +
Se2.effects[(n,-0.441,0.147)|(n,-0.114,0.038)] * semr[90,95,100] +
Sp2.effects[(n,1.882,0.627)|(n,-0.002,0.0006)] * spmr[5,15,25] $
Thanks for your help!!
Regards,
Gaston Vogel