mcpqest: Point and variance estimation for quantiles of independent...

Description Usage Arguments Details Value Author(s)

View source: R/mcpqFunctions.R

Description

Computes the pth quantile and variances for groups of given samples in one-way anova layout. It has option for right censored data.

Usage

1
2
mcpqest(y, f, event = NULL, 
Right.Censored = FALSE, p = 0.5, ...)

Arguments

y

a numeric vector, the response variable. If Right.Censored = True, y is non-negative follow up time for right censored in survival data.

f

a factor variable of the same length as y, assigning the observations in y into k groups.

event

a binary variable indicating status for right censored data. Usually, 1 if event of interest has occurred (death = 1) and 0 otherwise (alive = 0).

Right.Censored

a logical expression indicating right-censored data is being used for constructing simultaneous confidence interval.

p

a single numeric value between 0 and 1 indicating the level of quantile for the contrasts. The default is p = 0.5 (the median).

...

further arguments to be passed to the internal methods, in particular: bw.selec is a single character string specifying the method of bandwidth selection when using right censored survival data; bw.selec= "plug-in".

Details

Mainly for internal use.

Value

a list with elements:

quantileEST

a numeric vector, the point estimates of quantiles for each factor level.

varEST

a numeric vector, the variance estimates for each factor level.

n

a numeric vector, the sample size of each factor level

Author(s)

Lawrence S. Segbehoe, Gemechis Dilba Djira, Frank Schaarschmidt (package inclusion)


mratios documentation built on July 8, 2020, 6:43 p.m.

Related to mcpqest in mratios...