Hi, I want to find correlation between two variables (which is panel data in nature). If i have to find correlation category wise let say correlation if country is "US", or where year id 2019. Kindly suggest how to find correlation.
We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.
If you've never heard of a reprex before, you might want to start by reading this FAQ:
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.