I have a situation where I need to train a regression model that will have 100 features. I want to look for interaction effects between all 100 featur ...
I have a situation where I need to train a regression model that will have 100 features. I want to look for interaction effects between all 100 featur ...
I want to perform OLS regression using python's statsmodels package. But my dataset has nans in it. Currently, I know I can use missing='drop' option ...
Salutations, I'm looking for a python function that is equivalent to the 'lscov' function I use in Matlab. I have 3 arrays: A(143,12) b(143,1) w(143,1 ...
I want to estimate Turkish gdp growth using the monthly train data below. And below is my train gdp data, it is in quarter index. 2022Q4 does not e ...
I created an algorithm that calculates the odds for the 1x2 market of the number of corners in football matches. I used to utilize the poisson distrib ...
I am trying statsmodels to fit my data to a Logistic Regression model (Logit) but the dataframe I have is not a pandas dataframe but a Dask dataframe. ...
Im experimenting with time series predictions something like this: where predictions is a numpy array. How do I add this to my test pandas df? If I ...
I want to use one way repeated measures anova in my dataset to test whether the values of 5 patients differ between the measured 3 days. I use AnovaR ...
I am trying to get the Effect Size given my alpha, power, sample size, ratio. I found tt_ind_solve_power to do this but how would this work for 4 vari ...
I have an ARIMA(1,1,1) model I am trying to fit to a dataframe of stock prices. The index of the dataframe is a date. The code below compiles but it ...
. Answers to this question are eligible for a +50 reputation bounty. Ka ...
I am getting below error even statsmodels is already installed ModuleNotFoundError: No module named 'statsmodels' I tried to upgrade python version ...
I'm using the statsmodels library to check for the impact of confounding variables on a dependent variable by performing multivariate linear regressio ...
Can anyone tell me when do we use line='r'?? sm.qqplot(df['Delivery_time'], line='r') and when do we use line=45? sm.qqplot(df['Delivery_time'], li ...
I would like to fit a multiple linear regression. It will have a couple input parameters and no intercept. Is it possible to fit a glm fit with stats ...
I would like to do draw 95% confidence interval in python using statsmodels, but qqplot() doesn't have this option. If it's not possible, math equati ...
I am on Window OS. I downloaded the Windows version of X13 software from https://www.census.gov/data/software/x13as.X-13ARIMA-SEATS.html#list-tab-6352 ...
I am trying to fit ARIMAX model on train sample (endogenous and exogenous variables) and then forecast using exogenous variables (they are available). ...
I have downloaded Win X-13 from Census, and unpacked it on my drive. My code looks like this: This return error: What am I doing wrong here? Am ...
I'm using a sm.tsa.statespace.MLEModel to fit a State Space model in Python with the library statsmodels. I have a time series and I'm interested in t ...