Displaying 1 result from an estimated 1 matches for "fieder".
Did you mean:
fiedler
2011 Mar 13
1
troubles with logistic regression
hello everyone,
I working on the dataset for my project in class and got stuck on trying to
run logistic regression. here is my code:
data <- read.csv(file="C:/Users/fieder.data.2000.csv")
# creating subset of men
fieder.male<-subset(data,data[,8]==1)
unmarried.male<-subset(data,data[,8]==1&data[,6]==1)
# glm fit
agesq.male<-(unmarried.male[,5])^2
male.sqrtincome<-sqrt(unmarried.male[,9])
fieder.male.mar.glm<-glm(as.factor(unmarried.male[,6...