I'm working on Stata and I have a training and a test set. For each one I have a set of variables (health conditions in my case) and their probabilities over X number of classes. So, the variables are in the rows and the classes in the columns of my dataset. I want to calculate the Jensen-Shannon divergence between the classes in the training and the classes in the test set. I see that R has a ready function of these calculations but Stata doesn't. I tried to "build" the formula in Stata but I conclude with a JSdiv for every condition and I don't know how to calculate the statistic between classes. Any help or previous experience please?
Related Posts with Jensen-Shannon Divergence between training and test set classes
Beginner User: invalid variable r(198)Hi All- Each time I run the code below, I receive an invalid 'data' r(198) response from STATA. I a…
Means around Switches in a PanelDear STATALIST Community, I have an unbalanced panel, where individual status changes within groups…
Beginner User: Using all files within a folderHello All, I am using the updated STATA 17. I downloaded a folder of files that are already in .dt…
How STATA Works With Missing Data in Panel Data RegressionI will be grateful if anyone here could help me with panel data regression using STATA. I am current…
DeletedDeleted …
Subscribe to:
Post Comments (Atom)
0 Response to Jensen-Shannon Divergence between training and test set classes
Post a Comment