Exercise
- Clear your working space and load the “lifeexp” data. Inspect the data and display the country names. How many observations are there per country?
- Create a new frame. Load the pre-installed “educ99gdp” data into the frame, describe the data and display the country names. How many observations are there per country? Are there any problems which might emerge when linking both frames?
- Link both frames, potentially after amending data in one of the frames. Was the link successful?
- Get the variable “public” (public spending on tertiary education) from the new frame. Generate a new variable which contains the ratio of private to public spending on tertiary education without pulling the variable “private” into the default frame.