python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Python Statsmodel Logistic Regression iterate through Parquet file
I am trying to run a logistic regression model on a very large dataset with 2.3 billion observations in Python. I need a standard regression output. Statsmodels with parquet seemed promising:
https://...
HLRA
Votes: 0
Answers: 1
statsmodel logistic regression prediction function with dimension issue
I built my model with training data X_train (21 columns) and y_train as follows:
import statsmodels.api as sm
statsmodels_result=logit_model.fit()
print(statsmodels_result.summary2())
statsmodels_pred...
Runhua Lei
Votes: 0
Answers: 1
Is it possible to run a logistic regression with NA values in R?
The glm function seems to only work if NA values are removed. However, I do not want to remove any data. Is there any way to run a logistic regression with missing values, without changing the data?
T...
Joyce
Votes: 0
Answers: 1
Regression through different data frames
I have several dataframes (with different names) like those below, with the same number of rows and columns but different names for the last column.
df1:
ID matching_variable STATUS code_1
1 1 ...
lM__3
Votes: 0
Answers: 2