coefficients Questions

3

when using the .summary() function using pandas statsmodels, the OLS Regression Results include the following fields. coef std err t P>|t| [0.025 0.975] How can I get the standardised coeffic...
Asbestosis asked 13/6, 2018 at 16:47

1

I am trying to understand how the best coefficients are calculated in a logistic regression cross-validation, where the "refit" parameter is True. If I understand the docs correctly, the best coef...

1

Solved

I want to create a polynomial ring which has float Coefficients like this. I can create with integers but, Floats does not work. using Oscar S, (a,b,c,d) = PolynomialRing(QQ,["a","b...

2

Solved

Using Python 3.10.0 and NumPy 1.21.4. I'm trying to understand why Polynomial.fit() calculates wildly different coefficient values from polyfit(). In the following code: import numpy as np def mai...
Footgear asked 9/12, 2021 at 21:39

1

Solved

I'm trying to get the coefficients of a numpy.polynomial.polynomial.Polynomial obtained via the fit method: import numpy.polynomial as poly x = [1, 2, 3, 4, 5] y = [16, 42.25, 81, 132.25, 196] c ...
Gatefold asked 27/5, 2021 at 18:36

2

Solved

I have fit a logistic regression model to my data. Imagine, I have four features: 1) which condition the participant received, 2) whether the participant had any prior knowledge/background about th...

3

Solved

I am using following code with glmnet: > library(glmnet) > fit = glmnet(as.matrix(mtcars[-1]), mtcars[,1]) > plot(fit, xvar='lambda') However, I want to print out the coefficients at...
Pewter asked 1/6, 2015 at 4:3

3

Solved

I want to compare the results of different models (lm, glm, plm, pglm) in a table in R using stargazer or a similar tool. However I can't find a way to display the coefficients in scientific notati...
Volatilize asked 22/7, 2015 at 0:20

1

Solved

I would like to perform Deming regression (or any equivalent of a regression method with uncertainties in both X and Y variables, such as York regression). In my application, I have a very good sci...

2

I am using a Logistic Regression (in scikit) for a binary classification problem, and am interested in being able to explain each individual prediction. To be more precise, I'm interested in predic...

2

Solved

I have a problem with glm function in R. Specifically, I am not sure how to include nominal variables. The results that I get in R after running the glm function are the following: > df x1 ...

2

I am a little new to this. I am using a simple Logistic Regression Classifier in python scikit-learn. I have 4 features. My code is X_train, X_test, y_train, y_test = train_test_split(X, Y, tes...

2

Solved

My question is about the unnecessary predictors, namely the variables that do not provide any new linear information or the variables that are linear combinations of the other predictors. As you ca...
Tybie asked 23/6, 2017 at 12:22

2

Solved

How could I extract coefficients (b0 and b1) with their respectively standard errors for each experimental unit (plot )in a linear mixed model such as this one: Better fits for a linear model wi...
Curculio asked 5/10, 2014 at 2:5

3

Solved

I am currently using Scikit-Learn's LogisticRegression to build a model. I have used from sklearn import preprocessing scaler=preprocessing.StandardScaler().fit(build) build_scaled = scaler.trans...

1

Solved

numpy.polynomial.polynomial.Polynomial stores polynomial coefficients in order of increasing degree, while numpy.poly1d stores polynomial coefficients in order of decreasing degree. Is there a rea...
Loopy asked 24/6, 2016 at 15:57

1

Solved

A) I am interested in the effects of a continuous variable (Var1) on a continuous dependent variable (DV) conditional on four different groups, which are defined by two bivariate variables (Dummy1 ...
Trilley asked 24/5, 2016 at 15:53

1

Solved

Is there a built-in function in maxima to get from a polynomial function a list with its coefficients? And to get the degree of the polynomial? The most similar function I found is args, but it al...
Chretien asked 7/3, 2016 at 22:52

2

I am trying to extract intercepts and slopes for 500 variables from a qplot. The code I am using: qplot(gd, nd, data = test, colour = factor(ENT)) + geom_smooth(method = "lm", se = FALSE) Coul...
Beatrizbeattie asked 9/5, 2015 at 20:39

2

Solved

I used to use the code below to calculate standardized coefficients of a lmer model. However, with the new version of lme the structure of the returned object has changed. How to adapt the functi...
Azalea asked 5/8, 2014 at 15:39

1

Solved

I want to extract the standard errors from a list of logistic regression models. This is the logistic regression function, designed this way so i can run more than one analysis at once: glmfunk &...
Haydon asked 24/10, 2012 at 8:0
1

© 2022 - 2024 — McMap. All rights reserved.