R/assess.ECGdata.R

Defines functions assess.ECGdata

Documented in assess.ECGdata

assess.ECGdata <-
function(x, y, x.B=list(u=0, dof=Inf), alpha=x$input$alpha) {
	edof <- (x$u^2 + x.B$u^2 + y$u^2)^2/(x$u^4/x$dof +x.B$u^4/x.B$dof+ y$u^4/y$dof)
	kp <- qt(1-alpha/2, edof)
	res<- (x$x-y$x)/(kp*sqrt(x$u^2 + x.B$u^2 + y$u^2))
	return( res )
}

Try the ECG package in your browser

Any scripts or data that you put into this service are public.

ECG documentation built on Oct. 29, 2024, 9:07 a.m.