Question: Can I, somehow, based on time stamp and how much is done, estimate time and date for when a job is complete? I got this log that a bot I've made writes in column A time [yyy-mm-dd hh:mm], and in column B it wrights how much is done. It sorts it all with newest on top.

Answer: 
You can easily do that if you use the `boot` package as follows:

Example dataset:

```
y  <- rep(c(0,1),50)
x1 <- runif(100)
x2 <- runif(100)

df <- data.frame(y,x1,x2)

```

Run logistic regression:

```
model.m <- glm(y~x1+x2,data=df,family=binomial)

```

Run residual diagnostics and plot them:

```
library(boot)
model.m.diagnostics <- glm.diag(model.m)    #residual diagnostics
glm.diag.plots(model.m,model.m.diagnostics) #plot residual diagnostics

```

![enter image description here](https://i.stack.imgur.com/bXp6V.png)

And there you have it!

And the documentation is [here](http://stat.ethz.ch/R-manual/R-devel/library/boot/html/glm.diag.plots.html) if you want to read it.
In Zuur (2013) p.101 the following code is provided for the validation of a binomial GLM:

```
# Residual vs. fitted
E2 <- resid(model.m, type="pearson")
F2 <- fitted(model.m, type="response")
plot(x=F2, y=E2, xlab="fitted values", ylab="Pearson residuals")
abline(h=0, lty=2)

# Cook's distance
plot(cooks.distance(model.m), ylim=c(0,1), ylab="Cook distance values", type="h")

# Pearson residuals vs. continous covariate
plot(x=df$SYNTAXSCORE, y=E2, xlab="SYNTAXSCORE", ylab="Pearson residuals")
abline(h=0, lty=2)

```

Zuur et al. (2013): A beginner's Guide to GLM and GLMM with R.