[R] mle from stats4

2009-10-06 Thread Stephen Collins
I am using mle as a wrapper from optim( ). How would I extract the convergence code, to know that optim( ) converged properly? Thanks, Stephen Collins, MPP | Analyst Global Strategy | Aon Benfield [[alternative HTML version deleted

[R] Using linear formula inside MLE

2009-09-28 Thread Stephen Collins
)) Comparison using glm# glm(Y~X-1,family=binomial) Thanks, Stephen Collins, MPP | Analyst Global Strategy | Aon Benfield [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] optim() question

2009-05-26 Thread Stephen Collins
I've seen with other software the capability for the optimizer to switch algorithms if it is not making progress between iterations. Is this capability available in optim()? Thanks, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting [[alternative HTML version deleted

[R] mle() question

2009-05-22 Thread Stephen Collins
Is there a way to code the mle() function in library stats4 such that it switches optimizing methods midstream (i.e. BFGS to Newton and back to BFGS, etc.)? Thanks, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting [[alternative HTML version deleted

[R] loglik and arima()

2009-02-10 Thread Stephen Collins
as that of the restricted model. Am I interpreting the loglik output incorrectly? Regards, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting 200 East Randolph, Suite 900, Chicago, IL Tel: 312-381-2578 | Fax: 312-381-0136 Email: stephen_coll...@aon.com Aon Consulting selected by the readers

[R] Categorical Variables and glm()

2009-01-23 Thread Stephen Collins
When including categorical variables in a regression, the default in R is to set the first level as the base. Is there an option to specify a different level as the base? Regards, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting [[alternative HTML version deleted

[R] Viewing code

2008-12-24 Thread Stephen Collins
How do you view the code for a built-in R command (i.e., if I want to see what R is doing when I run a glm() statement)? Regards, Stephen [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] How fast of a desktop can I buy?

2008-11-12 Thread Stephen Collins
for in a desktop. Regards, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting 200 East Randolph, Suite 900, Chicago, IL Tel: 312-381-2578 | Fax: 312-381-0136 Email: [EMAIL PROTECTED] Aon Consulting selected by the readers of Business Insurance as the “Best Employee Benefit Consulting Firmâ

[R] Vectorizing sample()

2008-11-07 Thread Stephen Collins
welcomed. Regards, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting 200 East Randolph, Suite 900, Chicago, IL Tel: 312-381-2578 | Fax: 312-381-0136 Email: [EMAIL PROTECTED] Aon Consulting selected by the readers of Business Insurance as the “Best Employee Benefit Consulting Firmâ

[R] Two overlaid density plots - Does order matter?

2008-09-25 Thread Stephen Collins
) #Plot No. 2 plot(pre.den,col=2) lines(cdata.den,col = 1) Regards, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting 200 East Randolph, Suite 900, Chicago, IL Tel: 312-381-2578 | Fax: 312-381-0136 Email: [EMAIL PROTECTED] [[alternative HTML version deleted