Displaying 2 results from an estimated 2 matches for "lrm1".
Did you mean:
lrm
2012 Jul 31
2
phantom NA/NaN/Inf in foreign function call (or something altogether different?)
...ght it would be best to be as complete as possible and to show the
avenues I have explored.
I'm trying to fit a linear model to data with a binary dependent
variable (i.e. Target.ACC: accuracy of response) using lrm, and
thought I would start from the most complex model (of which
"sample1.lrm1" is a trimmed version). I got the error shown below.
(sample1 is available at http://tinyurl.com/bwqq7ya)
For info:
> str(sample1)
'data.frame': 14022 obs. of 5 variables:
$ Target.ACC : Factor w/ 2 levels "0","1": 2 2 2 2 2 2 2 2 2 2 ...
$ Word.Order :...
2007 Mar 14
0
aic for lrm
I cannot seem to get the aic or extractaic call to work with multinomial
logistic regression models.
Here is what I am doing:
library('Design')
lrm1<-lrm(r1~p1)
#where p1 is multinomial and r1 is binomial
library('MASS')
aic(lrm1)
Error in if (fam %in% c("gaussian", "Gamma", "inverse.gaussian")) p <- p +
:
argument is of length zero
also tried extract.aic and others to no avail
I was able...