beta.star.qp: Computes the starred components of \widehat{\bm{beta}}

View source: R/fsst.R

beta.star.qpR Documentation

Computes the starred components of \widehat{\bm{β}}

Description

This function computes the vector \widehat{\bm{β}}_n^\star for the case where d<p in the fsst procedure.

Usage

beta.star.qp(
  data,
  lpmodel,
  beta.tgt,
  weight.mat,
  beta.obs.hat,
  beta.sigma,
  solver
)

Arguments

data

An data frame or a matrix.

lpmodel

The lpmodel object.

beta.tgt

The value to be tested.

weight.mat

The weighting matrix for the fsst procedure.

beta.obs.hat

The sample estimator \widehat{\bm{β}}_{\mathrm{obs}, n} based on the given information in lpmodel (and data if applicable).

beta.sigma

The variance estimator of \bm{β}_{\rm obs}.

solver

The name of the linear and quadratic programming solver that is used to obtain the solution to linear and quadratic programs. The solvers supported by this package are cplexAPI, gurobi, limSolve and Rcplex.

Details

This corresponding to solving the following quadratic program

\min_{x \in \mathbf{R}^d} \,\, ≤ft(\hat{β}_{{\rm obs}, n} - A_{\rm obs} x\right)' \hat{Ξ} ≤ft(\hat{β}_{{\rm obs}, n} - A_{\rm obs} x\right) \quad \mathrm{s.t. } \quad A_{\rm shp} x = β_{\rm shp} \quad \mathrm{ and } \quad A_{\rm tgt} x = β_{\rm tgt}

in the fsst procedure.

Value

Returns the following objects:

beta.star

The vector \widehat{\bm{β}}_n^\star.

x

The optimal point.

status

The status of the optimization problem.


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.