Learn R Programming

Delta (version 0.2.0.3)

GetDeltaParamsVar: Calculate Delta related parameters variance function

Description

This function perform all needed calculations to get all Delta related parameters variance. For do the exact calculations some variables previously calculated are needed.

Usage

GetDeltaParamsVar(mx, fixedrows = FALSE, Delta, Pi, k, Cov, E)

Arguments

mx

Matrix. Agreement contingency table to perform calculations

fixedrows

Boolean. Indicate if sample rows are fixed beforehand.

Delta

Vector. Each element indicate the probability of recognize an element i.

Pi

Vector. Each element indicate the probability of classify at random an element in category i.

k

Integer. Dimension of the problem.

Cov

Matrix. Covariance matrix of Delta.

E

Double. Value calculated for Cov matrix derivation.

Examples

Run this code
# NOT RUN {
GetDeltaParamsVar(mx = matrix(c(60,0,3,2,50,1,3,2,79),3,3), 
	fixedrows = FALSE,Delta = c( 0.8945724, 0.9522836, 0.8962094), 
     Pi = c( 0.2703707, 0.1939561, 0.5356732), k = 3, 
     Cov = matrix(c(0.002736490,  0.000004188, -0.001074704,
                0.000004188, 0.001141059, -0.000181746,
               -0.001074704, -0.000181746,  0.004912131),3,3),
	E = c(0.03159824,  0.01304313, -0.88650011))
# }

Run the code above in your browser using DataLab