mc_bias_corrected_std: Bias-corrected Standard Error for Regression Parameters

View source: R/mc_bias_correct_std.R

mc_bias_corrected_stdR Documentation

Bias-corrected Standard Error for Regression Parameters

Description

Compute bias-corrected standard error for regression parameters in the context of clustered observations for an object of mcglm class. It is also robust and has improved finite sample properties.

Usage

mc_bias_corrected_std(object, id)

Arguments

object

an object of mcglm class.

id

a vector which identifies the clusters. The length and order of id should be the same as the number of observations. The data set are assumed to be sorted so that observations on a cluster are contiguous rows for all entities.

Value

A variance-covariance matrix. Note that the function assumes that the data are in the correct order.

Author(s)

Wagner Hugo Bonat, wbonat@ufpr.br

Source

Nuamah, I. F. and Qu, Y. and Aminu, S. B. (1996). A SAS macro for stepwise correlated binary regression. Computer Methods and Programs in Biomedicine 49, 199–210.

See Also

mc_robust_std.


mcglm documentation built on Sept. 16, 2022, 1:06 a.m.