I am building (many years later !) on this SO question: https://stackoverflow.com/questions/22461241/tsallis-entropy-for-continuous-variable-in-r
I should make clear that I'm a stats newbie, exploring it out of curiosity, so forgive me if what follows is a question with an obvious answer.
It it my understanding that Tsallis entropy is always non-negative (i.e. Sq(ρ)≥0
).
If so, how come it is permissible for Tsallis entropy for continous variable (1/(q-1) * (1 - integrate.xy(PDF$x, PDF$y^q))
) to be negative ?