fitWD: Fit differents probability distributions

Description Usage Arguments Value Author(s) Examples

View source: R/fitWd.R

Description

Fit by maximum likelihood Weibull, Gamma and Lognormal distributions.

Usage

1
fitWD(datawd, ane)

Arguments

datawd

object of class windata.

ane

one character strings with anemometer name to fit.

Value

A list with the following components: -aic: Akaike Index Coefficient.

-loglik: maximun likelihood.

-parameters: a list with the following components: data: data to estimate. name: parameter name. type: parameter type. value: estimated parameter. sd: standard desvest of estimated parameter.

Author(s)

Mariano Bonoli Escobar, Diego Edwards, Valeria Gogni, Ruben Bufanio

Examples

1
2
3
4
5
6
7
data("wd", package = "WindResource")

## Getting anemometer names
wd$ane$ane.names

## Simple example using the wd class
fitWD(wd, ane = "ane10")

mbonoli/WindResource documentation built on May 22, 2019, 12:56 p.m.