statable Statistics for study and research

Can something be predicted? (linear and logistic regression)

In brief

A number is to be predicted from one or more other columns (simple or multiple linear regression). If the target column has exactly two values (yes/no), Statable automatically calculates a binary logistic regression. Predicting does not mean causing.

Linear: requirements

Linear: reading the result

R² is the proportion of variance explained. For each predictor, B shows how much the dependent variable differs on average when the predictor is one unit higher and the other predictors are held constant (with confidence interval and p); β makes numeric predictors with different units comparable. For a group column, B shows the difference of each group from the reference group; whether the column contributes as a whole is tested by the overall test (ΔR², F). Its β is not a ranking.

R² = .21, F(2, 117) = 15.6, p < .001; B = 0.42, 95% CI [0.22, 0.62]

Target with two values: logistic regression

With two values a linear regression would give impossible predictions below 0 and above 1. What is modelled is the odds of the value with the higher coding (for numbers the larger, for text the alphabetically later one); the sentence names both values.

χ²(3) = 11.24, p = .010, Nagelkerke R² = .12; OR = 1.05, 95% CI [1.02, 1.09]

For specialists

The confidence interval of the OR is a Wald interval. PSPP does not print the model test; Statable derives it from the −2 log likelihood values. Rule of thumb on cases: Peduzzi et al. (1996).

Target with levels, categories or counts

Typical examples

Related

Open in Statable