PD_BPFhat {BayesBP} | R Documentation |
Given Bernstein polynomial coeffients to compute Fhat.
PD_BPFhat(coef, ages, years, pdbasis, by = 1)
coef |
Bernstein polynomial coefficients. |
ages |
Range of ages. |
years |
Range of years. |
pdbasis |
Partial differential Bernstein polynomial basis. |
by |
1: partial differential by ages; 2: partial differential by years. |
Partial differential Bernstein polynomial given coefficients.
Other outer Bernstein polynomial:
BPFhat()
coef <- runif(9) ages <- 35:85 years <- 1988:2007 pdbasis <- PD_BPbasis(ages,years,10,N=1,by=1) PD_BPFhat(coef,ages,years,pdbasis,by=1)