Skip to content
Prev 367347 / 398506 Next

Differences between SPSS and R on probit analysis

Did you not get a warning from glm, such as the following one?
Warning message:
In eval(expr, envir, enclos) : non-integer #successes in a binomial glm!
Do not ignore warnings.

The left hand side of the formula should a matrix containing the counts
of the afflicted and non-afflicted:
   cbind(affected, total-affected)
not the fraction of the total that were afflicted.  Then you would get

Coefficients:
            Estimate Std. Error z value Pr(>|z|)
(Intercept)  -6.8940     1.0780  -6.395 1.60e-10 ***
log(dose)     0.9333     0.1344   6.944 3.82e-12 ***

Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Feb 23, 2017 at 12:26 PM, Biank M <bianca12_domi at hotmail.com> wrote:
Message-ID: <CAF8bMcZ3gOSepD1CyP4XTq09j1MH8m-YqsfgGeko058yrHF=2A@mail.gmail.com>
In-Reply-To: <CY4PR06MB3014AC99A5B7ED03B5F762319A530@CY4PR06MB3014.namprd06.prod.outlook.com>