Learn R Programming

sbgcop (version 0.980)

sR.sC: Compute Regression Parameters

Description

Compute an array of regression parameters from an array of correlation parameters.

Usage

sR.sC(sC)

Arguments

sC

a p x p x nsamp array of, made up of nsamp correlation matrices.

Value

a p x p x nsamp array of regression parameters.

Details

For each of the nsamp correlation matrices C, a matrix of regression parameters is computed via R[j,-j]<- C[j,-j]%*%solve(C[-j,-j])

Examples

Run this code
# NOT RUN {
fit<-sbgcop.mcmc(swiss)

plotci.sA(sR.sC(fit$C.psamp))


# }

Run the code above in your browser using DataLab