> I have run a regression and want to calculate the likelihood
> of obtaining the sample.
> Is there a way in which I can use R to get this likelihood value?
See ?logLik
And see also ?help.search and ??. You would have found the above by typing
??likelihood at the command line in R
S Ellison
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.