Difference between revisions of "Logistic regression"

Jump to navigation Jump to search
(+R example)
 
Line 101: Line 101:


# Definite the logistic function
# Definite the logistic function
#  https://www.dataquest.io/blog/write-functions-in-r/
logit <- function(t) {
logit <- function(t) {
         sigma=1/(1+exp(-t))
         sigma=1/(1+exp(-t))
Line 189: Line 188:
[1] Done calculation!
[1] Done calculation!
</pre>
</pre>


==See also==
==See also==
48,830

edits

Navigation menu