Description Usage Arguments Details Value See Also Examples
Computes the parameters of the forecast distribution resulting for univariate ensemble forecasting models.
1 |
fit |
A model fit to ensemble forecasting data, obtained using
|
ensembleData |
An |
dates |
The dates for which the parameters will be computed.
These dates must be consistent with |
... |
Included for generic function compatibility. |
These methods are generic, and can be applied to all ensemble forecasting models.
pars
is a matrix giving the distribution parameter values
for each instance in the data. The returned parameters denoted in
the column names depend on the model used to generate the
fit
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data("ensBMAtest", package = "ensembleBMA")
ensMemNames <- c("gfs","cmcg","eta","gasp","jma","ngps","tcwb","ukmo")
obs <- paste("T2", "obs", sep = ".")
ens <- paste("T2", ensMemNames, sep = ".")
tempTestData <- ensembleData(forecasts = ensBMAtest[,ens],
dates = ensBMAtest[,"vdate"],
observations = ensBMAtest[,obs],
station = ensBMAtest[,"station"],
forecastHour = 48,
initializationTime = "00")
tempTestFit <- ensembleMOS(tempTestData, trainingDays = 25,
dates = c("2008010100", "2008010200"),
model = "normal")
parValues <- pars(tempTestFit, tempTestData)
parValues
|
Loading required package: ensembleBMA
Loading required package: chron
Loading required package: evd
Attaching package: 'ensembleMOS'
The following objects are masked from 'package:ensembleBMA':
brierScore, cdf, crps, quantileForecast, trainingData
modeling for date 2008010100 ...
(Intercept) T2.gfs T2.cmcg T2.eta T2.gasp T2.jma
-17.42 0.26 0.19 0.22 0.00 0.24
T2.ngps T2.tcwb T2.ukmo
0.15 0.00 0.00
1.14 0.00
modeling for date 2008010200 ...
(Intercept) T2.gfs T2.cmcg T2.eta T2.gasp T2.jma
-18.42 0.25 0.20 0.22 0.01 0.22
T2.ngps T2.tcwb T2.ukmo
0.14 0.01 0.02
1.12 0.00
mean sd
63 279.3695 1.065549
64 277.0113 1.065549
65 281.3638 1.060601
66 279.5494 1.060946
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.