Learn R Programming

sbgcop (version 1.0)

sR.sC: Compute Regression Parameters

Description

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

Usage

sR.sC(sC)

Arguments

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

fit<-sbgcop.mcmc(swiss)

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


Run the code above in your browser using DataLab