Displaying 2 results from an estimated 2 matches for "indx11".
Did you mean:
indx1
2013 Jun 10
2
please check this
...[20] 413 415 417 441 459 461 477 479 505
res10PercentSub1<-subset(res10Percent[which(duplicated(res10Percent)),],dummy==1)? #most of the duplicated are dummy==1
res10PercentSub0<-subset(res10Percent[which(duplicated(res10Percent)),],dummy==0)
?indx1<-as.numeric(row.names(res10PercentSub1))
indx11<-sort(c(indx1,indx1+1))
indx0<- as.numeric(row.names(res10PercentSub0))
?indx00<- sort(c(indx0,indx0-1))
indx10<- sort(c(indx11,indx00))
?nrow(res10Percent[-indx10,])
#[1] 452
?res10PercentNew<-res10Percent[-indx10,]
?nrow(subset(res10PercentNew,dummy==1))
#[1] 226
?nrow(subset(res1...
2013 Jun 07
4
matched samples, dataframe, panel data
I R-helpers
#I have a data panel of thousands of firms, by year and industry and
#one dummy variable that separates the firms in two categories: 1 if the firm have an auditor; 0 if not
#and another variable the represents the firm dimension (total assets in thousand of euros)
#I need to create two separated samples with the same number os firms where
#one firm in the first have a corresponding