[ADMB Users] Expression of estimated quantity? (e.g., 7, 889, 000 vs. 7, 888, 990)
Saang-Yoon
shyunuw at gmail.com
Sun Aug 7 15:17:06 PDT 2011
Hello.
My TPL and DAT work well. However, the multiplication between a value
in millions and a probability value (i.e., < 1) leads to a value whose
last three digits (in thousands) are always expressed 000. For
example,
19,498,100*0.405 => as 7,889,000, not 7,888,990
(i.e., 990 is expressed as 000 instead of 990).
How can I show all values? I declared the large quantity in millions
as Number in DATA_SECTION and as Vector in PARAMETER_SECTION. For
instance, letting the large quantity N,
DATA_SECTION
......
number N_guess;
!!N_guess=50000000.0;
......
number minN;
number maxN;
!!minN=max(sumcatch);
!!maxN=minN+minN*700/100;
PARAMETER_SECTION
......
init_bounded_vector Nt(1,nyrs,minN,maxN,2);
Later (in PROCEDURE_SECTION), when multiplying an estimated
probability by N, the last three digits are always expressed as
000.
I would appreciate your any idea/tip. Best,
Saang-Yoon
More information about the Users
mailing list