search for: 1&data

Displaying 2 results from an estimated 2 matches for "1&data".

Did you mean: 1&sdata
2009 Aug 13
3
How to get the n (number of observations) per conditional group
...ion, but also need to get the n. Strangely enough I am unable to find a function that could actually pull this off. I am unable to use replications or count the rows using nrow. What I am trying to obtain is the number of observations fitting something along the lines of "data$total[data$spp==1&data$gyro==1&data $salinity==0&data$day==i]" Can anyone help me?
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])~ factor(fieder.male[,7])+fieder.male[,5]+agesq.male+ male.sqrtincome,binomial(link...