Learn R Programming

poweRlaw (version 0.80.0)

estimate_pars: Estimates the distributions using mle.

Description

estimate_pars estimates the distribution's parameters using their maximum likelihood estimator. This estimate is conditional on the current xmin value.

Usage

estimate_pars(m, pars = NULL)

Value

returns list.

Arguments

m

A reference class object that contains the data.

pars

default NULL. A vector or matrix (number of columns equal to the number of parameters) of parameters used to #' optimise over. Otherwise, for each value of xmin, the mle will be used, i.e. estimate_pars(m). For small samples, the mle may be biased.

Examples

Run this code
data(moby_sample)
m = displ$new(moby_sample)
estimate_xmin(m)
m$setXmin(7)
estimate_pars(m)

Run the code above in your browser using DataLab