[R] logistic regression with a sample missing subjects with a value of an independent variable

Gabriele Stocco stoccog at units.it
Sat Oct 21 16:06:11 CEST 2006


Dear R-help,
I am trying to make logistic regression analysis using the R function
"glm", with the parameter family set to binomial, in order to use a
logistic regression model.
I have 70 samples. The dependent variables has two levels (0 and 1) and
one of the independent variables has too two levels (0 and 1). 
The variables associate in the way shown in the table:

            Dependent   0       1
Independent 0          55      10

            1           0       5

This gives a strong association evaluated by the fisher test (p-value =
0.0002481), but with the logistic regression it gives a p-value of 0.99
with very high values of estimate and standard error (respectively and
-19.27 and 1769.26).

Is there any way (other function, different setting of a parameter) to
perform logistic regression analysis with these data with R?

Thank you.

Gabriele Stocco
University of Trieste



More information about the R-help mailing list