sheasRSq: Calculate Shea's Partial R-squares

Description Usage Arguments

View source: R/sheasRSq.R

Description

Calculate Shea's Partial R-squares

Usage

1
sheasRSq(IVobs, MIIVs, sample.cov, sample.mean, sample.nobs)

Arguments

IVobs

a vector of endogenous RHS variables.

MIIVs

a vector of instrumental variables.

sample.cov

Numeric matrix. A sample variance-covariance matrix. The rownames and colnames attributes must contain all the observed variable names indicated in the model syntax.

sample.mean

A sample mean vector. If sample.cov is provided and the sample.mean argument is NULL, intercepts for all endogenous variables will not be estimated.

sample.nobs

Number of observations in the full data frame.


zackfisher/MIIVsem documentation built on June 26, 2017, 8:22 p.m.