Logistic Regression. We use the logistic regression equation to predict the probability of a dependent variable taking the dichotomy values 0 or 1. Suppose x 1 , x 2 , . x p are the independent variables, α and β k ( k = 1, 2, . p ) are the parameters, and E ( y ) is the expected value of the dependent variable y , then the logistic regression equation is: For example, in the built-in data set mtcars , the data column am represents the transmission type of the automobile model (0 = automatic, 1 = manual). With the logistic regression equation, we can model the probability of a manual transmission in a vehicle based on its engine horsepower and weight data.
Комментариев нет:
Отправить комментарий