Displaying 1 result from an estimated 1 matches for "den_non_str".
2008 Dec 05
3
How to calculate the distance between two density functions
Dear all,
I wrote the following code to calculate the density functions for two data
sets, respectively.
den_str <-density(str_data$Similarity);
den_non_str <-density(nonstr_data$Similarity);
However, I would like to knowing the difference between den_str and
den_non_str, that is, the difference between the region under the curve of
the den_str and the region under the curve of the den_non_str.
How to do?
Thank you for help.
Jia-Ming
[[alt...