Skip to content

NADA and cenmle

2 messages · Shane Carey, Rich Shepard

#
On Thu, 14 Mar 2013, Shane Carey wrote:

            
Possibly.

   What do your negative values represent? If they are 'less-thans', that is,
censored as below the method detection limit or laboratory reporting limit,
then you need to transform them to absolute values and set a flag indicating
their status. For example, your data frame should have a column named 'flag'
or (the lable I use) 'ceneq1' which contains a Boolean value: zero if the
value is measured and one if it is censored.

   Then write the function call similar to this:

cenmle(dataframe$value, dataframe$ceneq1, dist='lognormal')

   Works as advertised.

Rich