Rev 74347 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
R version 3.4.4 RC (2018-03-08 r74371) -- "Someone to Lean On"Copyright (C) 2018 The R Foundation for Statistical ComputingPlatform: x86_64-pc-linux-gnu (64-bit)R is free software and comes with ABSOLUTELY NO WARRANTY.You are welcome to redistribute it under certain conditions.Type 'license()' or 'licence()' for distribution details.R is a collaborative project with many contributors.Type 'contributors()' for more information and'citation()' on how to cite R or R packages in publications.Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help.Type 'q()' to quit R.> ## Example in which the fit for the null deviance fails to converge:> # https://stat.ethz.ch/pipermail/r-help/2012-May/313161.html> Y <- c(rep(0,35),1,2,0,6,8,16,43)> beta <- 42:1> cst <- lchoose(42, beta)> tau <- (beta^2)/2> fit <- glm(formula = Y ~ offset(cst) + beta + tau, family = poisson)Warning messages:1: glm.fit: algorithm did not converge2: In glm(formula = Y ~ offset(cst) + beta + tau, family = poisson) :fitting to calculate the null deviance did not converge -- increase 'maxit'?>> proc.time()user system elapsed0.161 0.024 0.165