emean {educineq} | R Documentation |
Mean years of schooling
Description
emean
is a function to compute mean years of schooling for any group of
countries included in the dataset developed in Jorda and Alonso (2017).
It is computed as the average of the national years of schooling
weighted by population weights.
Usage
emean(countries, init.y, final.y, database, plot = TRUE)
Arguments
countries |
character vector with the country codes of the countries
to be used. Some macro-regions are already defined and can be used
instead of the country codes: |
init.y |
the first year in which the function is calculated. Available years are 1970, 1975, 1980, 1985, 1990, 1995, 2000, 2005, 2010. |
final.y |
the last year in which the function is calculated Available years are 1970, 1975, 1980, 1985, 1990, 1995, 2000, 2005, 2010. |
database |
population subgrup for which the function is calculated. The following options are available:
|
plot |
if |
Value
emean
returns a list with the following objects:
-
mean_years_of_schooling
: evolution of mean years of schooling from the initial to the last year. -
countries
: countries used to compute mean years of schooling. If
plot = TRUE
, graphical representation of the numerical results.
References
Jorda, V. and Alonso, J.M. (2017). New estimates on educational attainment using a continuous approach (1970-2010), World Development, 90, 281 - 293. http://www.sciencedirect.com/science/article/pii/S0305750X16305010
See Also
data_country
. Visit http://www.educationdata.unican.es
for more information on the constructoin of the dataset and the available
countries.
Examples
emean(countries = "Advanced Economies", init.y = 1980, final.y = 2000,
database = "male25")
emean(countries = c("DNK", "FIN", "ISL", "NOR", "SWE"), init.y = 1980,
final.y = 2000, database = "male25")