Dear Colleagues, I hope you are doing well! I did sentiment analysis on two datasets. As these datasets do not have same size, to compare emotions in two datasets, i calculated percentages. In my work, i calculated total occurrence for each emotion for two datasets separately. To calculate percentage of each emotion. i used below equation:
Percentage of an emotion=(total occurrence of an emotion in a dataset/Total occurrence of all emotions in a dataset)*100 when i calculated percentages for each emotion, in each dataset to calculate difference in percentages of an emotion, i used below equation: difference in percentages of an emotion= percentages of an emotion in dataset A - percentages of an emotion in dataset B Is my practice true? Could you please answer my question? Thank you very much! With best regards, -- *Mehdi Dadkhah* [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.