f.hat: Calculating the actual fitted values 'f.hat' of the estimated density function f for the response y
Description
Calculating the actual fitted values of the response, depending on the actual parameter set beta
Usage
f.hat(penden.env,ck.temp=NULL)
Arguments
penden.env
Containing all information, environment of pendensity()
ck.temp
actual weights, depending on the actual parameter set beta. If NULL, the beta parameter is caught in th environment
Value
The returned value is a vector of the fitted value for each observation of y.
Details
Calculating the actual fitted values of the response, depending on the actual parameter set beta. Multiplying the actual set of parameters $c_k$ with the base 'base.den' delivers the fitted values, depending on the group of covariates, listed in 'x.factor'.
References
Density Estimation with a Penalized Mixture Approach, Schellhase C. and Kauermann G. (2012), Computational Statistics 27 (4), p. 757-777.