spectest: Utility function for null hypothesis tests on Zelig model...

Description Usage Arguments Value Author(s)

Description

The spectest utility allows users to easily conduct a null hypothesis test on the output of a Zelig model.

Usage

1
  spectest(model, null=0, var, onetail=FALSE)

Arguments

model

Output of a Zelig model.

null

Null value of the hypothesis test.

var

Variable name on whose coefficient to conduct hypothesis test.

onetail

If TRUE, calculates a one-tail test, otherwise two-tails.

Value

A p-value for the null hypothesis.

Author(s)

Vito D'Orazio


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.