Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Slope.test

Slope Test


Description

Tests whether the difference between two or more regression lines is significant

Usage

Slope.test(...)

Arguments

...

this function takes any number of two column matrices. The first column is the y-data (in the case of locus equations, this is the vowel onset) and the second column is the x-data (in the case of locus equations, vowel target).

Value

The return value consists of the following components:

separate

slope, intercept, r-squared, F-ratio, "d(egrees of) f(reedom)" and "prob(ability that) line fits data" for the separate data matrices entered.

combined

F-ratio, "d(egrees of) f(reedom)", and "Probability of them being DIFFERENT" for the slope and for the intercept of the combined data.

x

the combined x-data for all the matrices.

y

the combined y-data for all the matrices.

mat

the category vectors for the combined data (consists of 1, 0 and -1).

numrows

the number of rows in each matrix.

numcats

the sum number of matrices entered.

References

see E. Pedhazur, Multiple Regression in Behavioral Research p.436-450, 496-507.

See Also

lm(), summary.lm(), pf()


emuR

Main Package of the EMU Speech Database Management System

v2.2.0
GPL (>= 2)
Authors
Raphael Winkelmann [aut, cre], Klaus Jaensch [aut, ctb], Steve Cassidy [aut, ctb], Jonathan Harrington [aut, ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.