Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Linear and Logistic Regression
#Linear and multiple Regression data(iris) str(iris) head(iris) attach(iris) Fit=lm(Petal.Length~Sepal.Length) summary(Fit) plot(Petal.Length~Sepal.Length) Fit2=lm(Petal.Length~. , data=iris) summary(Fit2) Fit3=lm(Petal.Length~. -Species, data=iris) summary(Fit3) #Logistic Regression Binom=rbinom(100,1, .10) X1=rnorm(100, mean=74, sd=20) X2=rnorm(100, mean=75, sd=20) B=glm(Binom~X1+X2, binomial) summary(B)
run
|
edit
|
history
|
help
0
First R
jcfatorial
Random forest example
Magic Constant
NewtonMin-12-02-2021
Mobile-Sprite-image-Interval
2q
Linear_Regression_sri
Football weights
Zac2