Learn R Programming

NSM3 (version 1.1)

theil: Function to estimate and perform tests on the slope and intercept of a simple linear model.

Description

This code estimates and performs tests on the slope and intercept of a simple linear model. Based on chapter 9 of Hollander, Wolfe & Chicken, Nonparametric Statistical Methods, 3e.

Usage

theil(x=NULL, y=NULL, alpha=0.05, beta.0=0, type="t", 
      example=F, r=3, slopes=F, doplot=TRUE)

Arguments

Examples

Run this code
##Example 9.1 Hollander-Wolfe-Chicken##
theil (x, y, example=TRUE, slopes=TRUE)

Run the code above in your browser using DataLab