fn.comp.ystst: Compute y** Computes y** from a proposed y* value

Description Usage Arguments Value

View source: R/fn_compute_ystst.R

Description

Compute y** Computes y** from a proposed y* value

Usage

1
2
3
4
5
6
7
8
9
fn.comp.ystst(
  yst,
  X,
  l1obs,
  s1obs,
  psi = psi.huber,
  scale.est = "Huber",
  maxit = 400
)

Arguments

yst

data vector to be transformed to ystst satisfying the observed summary statistics

X

design matrix

l1obs,

s1obs: observed statsitics

maxit

number of iterations to find T(yst)

psi:

psi function returning psi(x)/x or psi'(x). default is psi.huber from MASS

scale.est:

defines the scale estimator. Currently supports only 'Huber'

Value

ystst a data vector such that T(ystst)=T(y_obs)


jrlewi/brlm documentation built on March 17, 2021, 1:10 a.m.