Confuse-a-Cat [General Sta­tis­tics]

posted by Helmut Homepage – Vienna, Austria, 2020-06-30 13:33 (952 d 03:18 ago) – Posting: # 21614
Views: 3,855

Hi ElMaestro,

❝ OK, I try again.


THX for your patience.

❝ I give you two functions of a sample x, call the functions f and g (or Z and s, or alpha and beta, or apple and banana). Symbols not important. How do we determine that f and g are independent?


[image] Feel like a cat.

In the OP (and now?) you were talking about a test and whether the numerator and denominator constructing it are independent functions of \(x\).$$t=\frac{Z}{s},\; Z=f(x)\:\wedge\:s=g(x)$$Somehow I have the feeling that the discussion moves towards transformations. Another cup of tea.

x    <- seq(1, 2, length.out = 100)
fun  <- data.frame(f.1 = sin(x), f.2 = sin(x+1), f.3 = cos(x),
                   f.4 = x^2,    f.5 = sqrt(x),  f.6 = tan(x))
corr <- data.frame(f.1 = rep(NA, 6), f.2 = NA, f.3 = NA,
                   f.4 = NA, f.5 = NA, f.6 = NA)
colnames(corr) <- rownames(corr) <- c("sin(x)", "sin(x+1)", "cos(x)",
                                      "x^2", "sqrt(x)", "tan(x)")
for (j in 1:nrow(corr)) {
  for (k in 1:ncol(corr)) {
    if (k < j) {
      corr[k, j] <- sprintf("%+7.5f", cor(fun[, j], fun[, k]))
    }
  }
}
corr[is.na(corr)] <- ""
corr[-nrow(corr), ]


❝ […] how about generally, when f and g are not necessarily mean and dispersion indicators of the x-sample from a normal distribution?


Are you not happy with existing tests (questioning the independence) and are trying to develop a new one? How does the “perturbation on the data” come into play?
Slowly I get the feeling that I can’t follow your arguments and I’m not qualified to answer your question. Sorry.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
22,485 posts in 4,710 threads, 1,603 registered users;
17 visitors (0 registered, 17 guests [including 8 identified bots]).
Forum time: 15:51 CET (Europe/Vienna)

The difference between a surrogate and a true endpoint
is like the difference between a cheque and cash.
You can get the cheque earlier but then,
of course, it might bounce.    Stephen Senn

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5