Displaying 1 result from an estimated 1 matches for "plasma_1".
Did you mean:
plasma
2007 May 27
1
How to reference or sort rownames in a data frame
As I was working through elementary examples, I was using dataset
"plasma" of package "HSAUR".
In performing a logistic regression of the data, and making the
diagnostic plots (R-2.5.0)
data(plasma,package='HSAUR')
plasma_1<- glm(ESR ~ fibrinogen * globulin, data=plasma, family=binomial())
layout(matrix(1:4,nrow=2))
plot(plasma_1)
I find that data points corresponding to rownames 17 and 23 are
outliers and high leverage.
I would then like to perform a fit without these two rows.
In principle this should be easy...