locfitProportionEstimate.Rd
Generate a smoothed estimate of the proportion of cases compared to some total.
locfitProportionEstimate( simpleTimeseries, degree = 2, window = 14, estimateMean = FALSE, ... )
simpleTimeseries | - a minimal time-series including date, value, and if available total. If total is present the proportion is value/total. otherwise it is value. |
---|---|
degree | the polynomial degree |
window | the data window in days |
estimateMean | there is no closed form estimate of the mean of a logit transformed normal. it can be calculated by integration by this is relatively expensive and not done unless explicitly needed, |
... | may include "nearestNeigbour=FALSE" to disable the tail behaviour of locfit |
a timeseries with binomial proportion estimates (columns starting with "Proportion")