Federov algorithm
Posted: Fri Feb 25, 2022 1:04 pm
I have a question about the Federov algorithm.
When I run a program like the one below, I get the warnings "Defaulting to prior values of zero for the following priors" and "One or more attributes will not have level balance with the number of rows specified".
The results are being output, but what is the problem?
If there is a problem, can you please tell me how to solve it?
Regards.
When I run a program like the one below, I get the warnings "Defaulting to prior values of zero for the following priors" and "One or more attributes will not have level balance with the number of rows specified".
- Code: Select all
Design
;alts = alt1*, alt2*
;rows = 380
;eff = (mnl,d)
;wtp = wtp1(b1,b2,b3,b4,b5,b6/b7)
;alg = mfederov(candidates = 30000,stop=total(10000 iterations))
;model:
U(alt1) = b1 * A[0,1,2,3,4] + b2 * B[0,1,2,3,4] + b3 * C[0,1,2,3,4] + b4 * D[0,1,2,3,4,5] +b5 * E[0,1,2,3,4] + b6 * F[0,1,2,3,4] + b7 * G[1,4,7,10]/
U(alt2) = b1 * A + b2 * B + b3 * C + b4 * D +b5 * E + b6 * F + b7 * G
$
The results are being output, but what is the problem?
If there is a problem, can you please tell me how to solve it?
Regards.