ammonia: Ammonia oxidized to acid nitric data set

Description Usage Format Author(s) Source References Examples

Description

The data come from experiments with a plant where ammonia is oxidized to acid nitric.

Usage

1
data(ammonia, package = "ugomquantreg")

Format

A data-frame with 21 observations and 4 columns:

Author(s)

Josmar Mazucheli jmazucheli@gmail.com

Bruna Alves pg402900@uem.br

Source

https://support.sas.com/rnd/app/stat/examples/BayesQuantile/quantile.htm

References

Brownlee, K. A., (1965). Statistical Theory and Methodology in Science and Engineering. New York: John Wiley & Sons.

Yu, K., and Moyeed, R. A., (2001). Bayesian quantile regression. Statistics and Probability Letters, 54(4) 437–447.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
data(ammonia, package = "ugomquantreg")

library(gamlss)

tau <- 0.50
fit.logit <- gamlss(stackloss ~ airflow + watertemp + acidconc, data = ammonia, 
family = UGOM(sigma.link="identity"))

tau <- 0.50
fit.probit <- gamlss(stackloss ~ airflow + watertemp + acidconc, 
data = ammonia, family = UGOM(mu.link = "probit", sigma.link = "log"))

fittaus <- lapply(c(0.10, 0.25, 0.50, 0.75, 0.90), function(Tau){
 tau <<- Tau;
 gamlss(stackloss ~ airflow + watertemp + acidconc, data = ammonia, 
 family = UGOM(mu.link = "logit", sigma.link = "log"))
})

sapply(fittaus, coef)

ugomquantreg documentation built on June 28, 2021, 9:08 a.m.