leftCI: Return the left value of the parameter confidence interval....

Description Usage Arguments Value Examples

View source: R/sbpiper_pe.r

Description

Return the left value of the parameter confidence interval. The provided dataset has two columns: ObjVal | ParamValue

Usage

1
leftCI(smallest.param.value, full_dataset, cl_objval)

Arguments

smallest.param.value

the smallest parameter value within the specified confidence level

full_dataset

the full dataset

cl_objval

the objective value at the desired confidence level

Value

the left confidence interval

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(insulin_receptor_all_fits)
colnames(insulin_receptor_all_fits)[1] <- "ObjVal"
min_objval <- min(insulin_receptor_all_fits[,1])
# compute the stats for parameter k2. 
insulin_receptor_all_fits <- subset(insulin_receptor_all_fits, select=c(1,3))
leftCI(smallest.param.value=0.466971, 
        full_dataset=insulin_receptor_all_fits, 
        cl_objval=min_objval+0.01)
leftCI(smallest.param.value=0.467000, 
        full_dataset=insulin_receptor_all_fits, 
        cl_objval=min_objval+0.01)

sbpiper documentation built on May 2, 2019, 8:53 a.m.