This study considers the implementation of a variance estimator when estimating the asymptotic variance of a propensity score matching estimator for the average treatment effect. We investigate the role of smoothing parameters in the variance estimator and propose using local linear estimation. Simulations demonstrate that large gains can be made in terms of mean squared error by properly selecting smoothing parameters and that local linear estimation may lead to a more efficient estimator of the asymptotic variance. The choice of smoothing parameters in the variance estimator is shown to be crucial when evaluating the effect of right heart catheterisation, i.e. we show either a negative effect on survival or no significant effect depending on the choice of smoothing parameters