search for: druginj

Displaying 2 results from an estimated 2 matches for "druginj".

2005 Mar 30
1
fastbw question
...also look in Frank's book Regression Modeling Strategies) it appears that fastbw should work with a model created with lm..... Relevant code <<<<< model.borrow.logols<- lm(logborrow~age + sex + racgp + yrseduc + needlchg + gallery + totni + inject + poly(year.of.int,3) + druginj + inj.years + HTLV3) fastbw(model.borrow.logols) >>>> Thanks in advance Peter Peter L. Flom, PhD Assistant Director, Statistics and Data Analysis Core Center for Drug Use and HIV Research National Development and Research Institutes 71 W. 23rd St www.peterflom.com New York, NY 100...
2004 Oct 08
1
polr and optim question
Hello again I am trying to fit an ordinal logistic model using the polr function from MASS. When I run model.loan.ordinal <- polr(loancat~age + sex + racgp + yrseduc + needlchg + gallery + sniffball + smokeball + sniffher + smokeher + nicocaine + inject + poly(year.of.int,3) + druginj + inj.years) I get an error Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...) : non-finite value supplied by optim I checked in the MASS book, and in John Fox's book An R and S-Plus Companion to Applied Regression, I also checked in R-help, where...