multiple regression? [General Sta­tis­tics]

posted by Helmut Homepage – Vienna, Austria, 2017-10-08 19:17 (3185 d 23:28 ago) – Posting: # 17875
Views: 19,599

Hi ElMaestro,

nice setup. Given

❝ […] a lot of knobs and buttons and sliders that allow me to tweak combinations of:

❝ - Tesla coil zap modifier strength

❝ - Evil discharge combobulator intensity

❝ - Ion stream barbaric voltage gain

❝ - Apocalyptic wolfram anode ray modulation

❝ ...and so forth.


I’m I right that you are aiming at multiple regression (i.e., >1 regressor and and one regressand)? See there for an arsenal of methods. For the same number of regressors the adjusted R2 takes the number of data points into account.

x1 <- rnorm(10)
y1 <- x1*2+rnorm(10, 0, 0.1)
muddle1 <- lm(y1 ~ x1)
R2.adj1 <- summary(muddle1)$adj.r.squared
x2 <- x1[-1] # drop 1
y2 <- y1[-1] # drop 1
muddle2 <- lm(y2 ~ x2)
R2.adj2 <- summary(muddle2)$adj.r.squared
cat(R2.adj1, R2.adj2, "\n")


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
23,656 posts in 4,994 threads, 1,570 registered users;
262 visitors (0 registered, 262 guests [including 24 identified bots]).
Forum time: 18:45 CEST (Europe/Vienna)

Most scientists today are devoid of ideas, full of fear, intent on
producing some paltry result so that they can add to the flood
of inane papers that now constitutes “scientific progress”
in many areas.    Paul Feyerabend

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