test: Precision test

Description Usage Arguments Value Author(s)

Description

Tests the null hypothesis of precision fixed in GA, IG, WEI and BP regression models against the alternative of precision variable.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
grad_test_bp(modelh0,modelh1)

grad_test_ga(modelh0, modelh1)

grad_test_ig(modelh0, modelh1)

grad_test_wei(modelh0, modelh1)

score_test_bp(modelh0, modelh1)

score_test_ga(modelh0, modelh1)

score_test_ig(modelh0, modelh1)

score_test_wei(modelh0, modelh1)

wald_test(modelh1)

Arguments

modelh0

model under null hypothesis.

modelh1

model under alternative hypothesis.

Value

A list with class "htest" containing the following components:

statistic the value of the test statistic.

parameter the degrees of freedom for the test statistic.

p.value the p-value for the test.

method a character string indicating what type of likelihood ratio test was performed.

data.name a character string giving the name(s) of the data.

Author(s)

Manoel Santos-Neto manoel.ferreira@professor.ufcg.edu.br


santosneto/BPmodel documentation built on Jan. 18, 2022, 4:53 p.m.