how to do weighted regression using likelihood function and bbmle for maximum likelihood models
How to incorporate weights into a likelihood function in the context of maximum likelihood modelling using bbmle