Displaying 3 results from an estimated 3 matches for "res10percent".
2013 Jun 10
2
please check this
Hi,
Try this:
which(duplicated(res10Percent))
# [1] 117 125 157 189 213 235 267 275 278 293 301 327 331 335 339 367 369 371 379
#[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(dup...
2013 Jun 08
0
data
...? ??? ??? ??? })
??? ?lst8<- lst7[lapply(lst7,length)>0]
??? ?res<- do.call(rbind,lapply(lst8,function(x){
??? ??? ??? ??? ??? ??? ?do.call(rbind,x)
??? ??? ??? ??? ??? ??? ??? })
??? ??? ??? ??? ??? ??? ??????? )
??? ?row.names(res)<- 1:nrow(res)
??? ?res}??? ??? ??? ??? ???? ??? ???
res10Percent<- fun1(final3New,0.1,200)
dim(res10Percent)
#[1] 508?? 5
?nrow(subset(res10Percent,dummy==0))
#[1] 254
?nrow(subset(res10Percent,dummy==1))
#[1] 254
?head(res10Percent)
#?????? firm year industry dummy dimension
#1 500622043 2004??????? 1???? 1????? 1198
#2 501611886 2004??????? 1???? 0????? 120...
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