lik.glm | R Documentation |
A function which defines the likelihood for a PSC model where the Counter
Factual Model (CFM) takes the form of a 'glm' object and an efficacy
parameter (\beta
) is being estimated. For more details on fitting please see
?pscfit and ?pscEst
lik.glm(beta, DC_clean)
beta |
a parameter to be estimate |
DC_clean |
a cleaned dataset including covariates to match the CFM |
A likelihood function for use by pscfit for a model of class 'glm'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.