ddalthorp / GenEst

R package development for a generalized mortality estimator
Other
6 stars 6 forks source link

what is kFill? #563

Closed ddalthorp closed 6 years ago

juniperlsimonis commented 6 years ago

it's the value that's used to fill in the k when it wasn't fit or fixed (because there was only one observation and no k fixed)

what is the issue?

ddalthorp commented 6 years ago

just trying to understand the pathways...

kFill applies to the situation where there is only one search occasion for each trial carcass and k is not fixed by the user during the fitting of the SE model but then wants to estimate M or g? How is this different from kFixed in pkm?

juniperlsimonis commented 6 years ago

when kfixed isn't input either, you get a model with k not estimated, so you need to fill in k

ddalthorp commented 6 years ago

you need to fill in k only if you want to estimate M or g.

If they fill in k under the estimate M or estimate g tab, that k is used in estM or estg but does not get inserted/stored into the pk model?

juniperlsimonis commented 6 years ago

correct, and only in that one specific instance where you didn't already fix k in the model earlier and you only have one search...it's a pretty edge case

and yes, the filling of k is downstream, hence the different name... although it's in the GUI facing the user as "assume k" rather than "fill k", but it's in the code as fill everywhere

ddalthorp commented 6 years ago

requiring kFill to be dealt with in "Searcher Efficiency" model rather than in estM and estg

(patched on GUI side in "dan" branch...command-line patch pending)