predict.genloglin method function calculates observed and model-predicted odds ratios and their confidence intervals using results from genloglin. It offers an asymptotic normal approximation for estimating the confidence intervals for the observed and model-predicted odds ratios, and a bootstrap approach for estimating the confidence intervals for the model-predicted odds ratios.## S3 method for class 'genloglin':
predict(object, alpha = 0.05, pair = "WY", print.status = TRUE, ...)'genloglin' produced by the genloglin function.predict.genloglin function provides two-sided (1-alpha)x100% confidence intervals."WY" indicates odds ratios should be calculated for each (Wi, Yj) pair conditional on the response for each Zk, "WZ"<original.arg, OR.obs, and OR.model.asymp.
original.arg is a list containing the following objects:
data:data argument.}I:I argument.}J:J argument.}K:K argument.}nvars:alpha:alpha argument.}OR.obsB.use:B.discard:OR.model.BCa:predict.genloglin function uses a jackknife approximation for estimating the empirical influence values.
The bootstrap confidence intervals are available only when boot = TRUE in the original call to the genloglin function.## For examples see help(genloglin).Run the code above in your browser using DataLab