Displaying 2 results from an estimated 2 matches for "20programs".
2010 Oct 12
1
Bootstrapping Krippendorff's alpha coefficient
Hi,
I don't know how to sample such data, it can't be done by row sampling
as default method on matrix in boot.
Function takes matrix and returns single coefficient.
#There is a macro but I want use R :)
http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/kalphav2_1.SPS
library(concord)
library(boot)
# The data are rates among observers with NA's
nmm<-matrix(c(1,1,NA,1,2,2,3,2,3,3,3,3,3,3,3,3,2,2,2,2,1,2,3,4,4,4,4,4,
+ 1,1,2,1,2,2,2,2,NA,5,5,5,NA,NA,1,1,NA,NA,3,NA),nrow=4)
sample.rates<-function(matrix.data,i){
#mixed.rates<-sample in...
2010 Oct 15
0
nomianl response model
...te:
> Hi,
>
> I don't know how to sample such data, it can't be done by row sampling
> as default method on matrix in boot.
> Function takes matrix and returns single coefficient.
>
> #There is a macro but I want use R :)
> http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/kalphav2_1.SPS
> library(concord)
> library(boot)
> # The data are rates among observers with NA's
> nmm<-matrix(c(1,1,NA,1,2,2,3,2,3,3,3,3,3,3,3,3,2,2,2,2,1,2,3,4,4,4,4,4,
> + 1,1,2,1,2,2,2,2,NA,5,5,5,NA,NA,1,1,NA,NA,3,NA),nrow=4)
>
> sample.rates<-function(matrix.d...