Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205343

R, finding the worst predicted cases in a panel regression

$
0
0

I am working on a model explaining country participation in an international institution. After a Panel Regression using both a random- and a within transformation model, I want to select the cases (i.e. countries) which the model predicts the worst, to use those in a qualitative research.

One idea was to predict the country values in each year, then compare those results with the actual participation and average the overall mismatch within one country to find the maximum deviation of real vs. predicted value across all countries. Can I use the normal predict() function for a plm Model, or is there a different approach?


Viewing all articles
Browse latest Browse all 205343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>