summary.MLEtf: summary.MLEtf function

Description Usage Arguments Details Author(s) Examples

View source: R/summary_function.R

Description

Function to produce result summaries of the estimates of parameters from probability distributions using the mle_tf function or parameters from regression models using the mlereg_tf function.

Usage

1
2
## S3 method for class 'MLEtf'
summary(object, ...)

Arguments

object

an object of class MLEtf for which a summary is desired.

...

additional arguments affecting the summary produced.

Details

summary.MLEtf function displays estimates and standard errors of parameters from statistical distributions and regression models. Also, this function computes and displays the Z-score and p-values of significance tests for these parameters. If limits were defined for the parameters, the standard error and other statistics are not reported due to the transformation applied to the parameters.

Author(s)

Sara Garcés Céspedes sgarcesc@unal.edu.co

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#---------------------------------------------------------------
# Estimation of both normal distrubution parameters

# Generate a sample from the normal distribution
x <- rnorm(n = 1000, mean = 10, sd = 3)

# Use the summary function
summary(mle_tf(x,
               xdist = "Normal",
               optimizer = "AdamOptimizer",
               initparam = list(mean = 1.0, sd = 1.0),
               hyperparameters = list(learning_rate = 0.1)))

SaraGarcesCespedes/estimtf documentation built on Nov. 7, 2021, 10:29 p.m.