powered by
Given Bernstein polynomial coeffients to compute Fhat.
BPFhat(coef, ages, years, basis)
Bernstein polynomial coefficients.
Range of ages.
Range of years.
Bernstein polynomial basis.
This function return outer Bernstein polynomial using coefficients.
Other outer Bernstein polynomial: PD_BPFhat()
PD_BPFhat()
# NOT RUN { coef <- runif(9) ages <- 35:85 years <- 1988:2007 list.basis <- BPbasis(ages,years,10) BPFhat(coef,ages,years,list.basis) # }
Run the code above in your browser using DataLab