R/tss.R

Defines functions `tss`

`tss` <-
function(x) {
  n <- length(as.numeric(x))
  sum(as.numeric(x)^2)-n*mean(as.numeric(x))^2
}

Try the splm package in your browser

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

splm documentation built on Dec. 12, 2023, 3:03 a.m.