Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: tware
See also: twrandomsample twpvalue twnormalize tw1d twpearson twclt

Quantlet: twlinreg
Description: teachware quantlet twlinreg gives visual insight into how least squares simple linear regression works, and the relationship between the regression of Y on X, X on Y, and total regression.

Reference(s):

Usage: twlinreg({x})
Input:
x matrix (n x 2) with user defined data

Note:

Example:

; load teachware library

library("tware")

; predefine matrix 

x = normal(100,2) 

; call twlinreg teachware quantlet

twlinreg(x)

Result:

a three window port display with the scatterplot of the matrix x 

in the upper port and the values of the RSS and the regression

equation in the middle (text) port. The lower port is reserved for

display of the current residuals. 


Library: tware
See also: twrandomsample twpvalue twnormalize tw1d twpearson twclt

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: SK, WH, 990103
(C) MD*TECH Method and Data Technologies, 21.9.2000