ciuupi_observed_value {ciuupi} | R Documentation |
For given observed response vector
,
compute the confidence interval that utilizes the
uncertain prior information (CIUUPI)
Description
If is provided then, for given observed response
vector
,
compute the confidence interval, with minimum coverage
probability
, for the parameter
that
utilizes the uncertain prior information that the parameter
(specified by the vector
and the number
) takes the value 0. If
is not provided
then, as long as
, replace
by its estimate
to compute an approximation to the CIUUPI for
.
Usage
ciuupi_observed_value(a, c, X, alpha, bs.list, t, y, sig = NULL)
Arguments
a |
The |
c |
The |
X |
The |
alpha |
|
bs.list |
A list that includes the following components: natural, d, q and the vector bsvec (b(h),...,b((q-1)h), s(0),s(h)...,s((q-1)h)), where h=d/q, that specifies the CIUUPI for all possible values of the random error variance and the observed response vector |
t |
The number |
y |
The |
sig |
Standard deviation of the random error.
If a value is not specified then, provided that |
Details
Suppose that
where is a random
-vector of
responses,
is a known
matrix with linearly
independent columns,
is an unknown parameter
-vector and
has components that are iid normally distributed
with zero mean and known variance.
Suppose that
a
is the
parameter of interest, where
a
is a specified
vector. Let
c
t
,
where c
is a specified vector,
t
is a specified number and
a
and c
are
linearly independent vectors. Also suppose that we have
uncertain prior information that .
For given observed response
vector
y
and a design matrix X
,
ciuupi_observed_value
computes the
confidence interval, with minimum coverage probability
1alpha
, for
that utilizes the uncertain prior information that
.
The example below is described in Discussion 5.8 on
p.3426 of Kabaila and Giri (2009). This example is obtained
by extracting a factorial data set from the
factorial data set described in Table 7.5
of Box et al. (1963).
Value
If is provided then a data frame of the lower and upper
endpoints of
the confidence interval, with minimum coverage
probability
, for the parameter
that utilizes the
uncertain prior information that
.
If
is not provided then, as long as
, a data frame of the
lower and upper endpoints of
an approximation to this confidence interval.
References
Box, G.E.P., Connor, L.R., Cousins, W.R., Davies, O.L., Hinsworth, F.R., Sillitto, G.P. (1963) The Design and Analysis of Industrial Experiments, 2nd edition, reprinted. Oliver and Boyd, London.
Kabaila, P. and Giri, K. (2009) Confidence intervals in regression utilizing prior information. Journal of Statistical Planning and Inference, 139, 3419 - 3429.
Examples
a <- c(0, 2, 0, -2)
c <- c(0, 0, 0, 1)
x1 <- c(-1, 1, -1, 1)
x2 <- c(-1, -1, 1, 1)
X <- cbind(rep(1, 4), x1, x2, x1*x2)
alpha <- 0.05
t <- 0
y <- c(87.2, 88.4, 86.7, 89.2)
sig <- 0.8
ciuupi_observed_value(a, c, X, alpha, bs.list.example, t, y, sig=sig)