Bug?

This forum is for posts that specifically focus on the Windows desktop version of Ngene (i.e. all version 1.x releases).

Moderators: Andrew Collins, Michiel Bliemer, johnr

Post Reply
Ben Beardmore
Posts: 9
Joined: Wed Oct 21, 2009 2:52 pm

Bug?

Post by Ben Beardmore »

I'm not sure if it is a bug in my code, or in the application.

When I try to produce an ood design with the following code, It appears to run, and finish normally but no design appears:
Design
;alts = alt1, alt2,none
;rows = 36
;orth = ood
;model:
U(alt1) = b1
+ b2.dummy[0|0] * A[0,1,2]
+ b3.dummy[0|0] * B[0,1,2]
+ b4.dummy[0|0|0|0|0] * C[0,1,2,3,4,5]
+ b5[0] * D[0,1,2,3,4,5] /
U(alt1) = b10
+ b2.dummy[0|0] * A[0,1,2]
+ b3.dummy[0|0] * B[0,1,2]
+ b4.dummy[0|0|0|0|0] * C[0,1,2,3,4,5]
+ b5[0] * D[0,1,2,3,4,5] $
Here is the output:
Warning: Defaulting to prior values of zero for the following priors: 'b1, b10'

Finished.
However, there is no design produced.

Any help would be appreciated.
Michiel Bliemer
Posts: 2057
Joined: Tue Mar 31, 2009 4:13 pm

Re: Bug?

Post by Michiel Bliemer »

There is an error in your code. In the model utility functions, you specified twice 'alt1' (this often happens because of copy & paste actions), so change the second 'alt1' into 'alt2', and a design will be generated. So it is not a bug, but bad error reporting of Ngene, which we should fix.
Ben Beardmore
Posts: 9
Joined: Wed Oct 21, 2009 2:52 pm

Re: Bug?

Post by Ben Beardmore »

Thanks!

Sometimes it is impossible to see what is right in front of your eyes.
Post Reply