ciaScores {gains} | R Documentation |
Cell Phones per Country with Predictions
Description
This data set gives the number of cell phones per person for 194 countries, courtesy of the CIA World Factbook. The data are mostly for 2008. It also gives predicted values of this variable from 5 different methods (OLS, Lasso, Regression Tree, Random Forest, and Additive Model). Finally, there is an indicator for each country indicating whether the country was used in the model development sample or not.
Usage
cia.scores
Format
a data frame containing 194 rows and 8 columns.
CellPhonesPP: Number of cell phones per person, from the CIA Factbook.
PredOLS: Predicted response from an OLS regression.
PredLasso: Predicted response from a LASSO regression.
PredTree: Predicted response from a regression tree.
PredRF: Predicted response from a Random Forest.
PredSM: Predicted response from an additive model.
PredGLM: Predicted probability (from a logistic regression) that the country has more cell phones than people.
train: Indicator, =1 if the country was among the set used to make the predictions, =0 if the country was in the validation set (not used to make predictions).
Source
CIA - The World Factbook https://www.cia.gov/library/publications/the-world-factbook/index.html