XQS started, wait for applet!

Subject: XploRe: Learning Guide
See XploRe: hhtest

Quantlet: metric04
Description: Illustrates how a parametric single index test can be tested against a semiparametric alternative.
Download: metric04.xpl

Code:
library("metrics")
x = read("kyphosis.dat")                                        
y = x[,4]                                                 
x = x[,1:3]                                               
x = matrix(rows(x))~x                                     
h = 2                                                     
g = glmbilo(x,y)   
eta = x*g.b
mu  = g.mu
{t,p} = hhtest(eta,y,mu,h,0.05,1)           
t~p

Subject: XploRe: Learning Guide
See XploRe: hhtest

© MD*Tech - Method and Data Technologies, generated on 6.6.2000 .