Most voted "regression" questions
Regression analyses are statistical techniques for modeling and predicting one or multiple variables based on other data. Use this tag for regression questions.
Learn more…68 questions
Sort by count of
-
0
votes1
answer84
viewsmathematical function class (regression) in SWIFT
What class to use mathematical equations for regression? And how to plot the graph?
-
0
votes2
answers48
viewsmultivariate regression in Keras
I have two models created in Keras to solve a multivariate regression problem. The first one has 1 input and 5 outputs. The second has an additional entrance, that is, it has two entrances and the…
-
0
votes0
answers114
viewsDoubt logistic regression analysis in R
Analysis R, possible logistic analysis, I have difficulties in analyzing a data where several species of toads vocalize, during the data collection the vocalization had presence or absence between…
-
0
votes2
answers60
viewsR Regression by condition using apply or for
I have the following sample: x <- structure(list(POP = structure(c(1L, 12L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 13L, 14L), .Label = c("pop1", "pop10",…
-
0
votes1
answer89
viewsAdding a number to an array gives an index problem
I have tried everything and could not add the number 1 at the bottom of the list predictors. Gives the following error: new_inputs[i] = np.append(inputs[i],one[i]) Indexerror: list assignment index…
-
0
votes0
answers96
viewsNonlinear regression with R
I have the following data sets: x1 <- c(0.00113, 0.00123, 0.00125, 0.0013, 0.00136, 0.0014, 0.00146, 0.00151,0.00158,0.00163,0.00166) x2 <- c(0.99887, 0.899, 0.79823, 0.6942, 0.59889, 0.49958,…
-
0
votes2
answers53
viewsRegression curve with x-axis equal to 0
How do I find the value that cuts the x-axis of a regression line as shown in the graph below My dataframe has the following structure: total_da_carga data_ordinal 21708 737061 24845 737062 22696…
-
0
votes1
answer2767
viewsValueerror: Input contains Nan, Infinity or a value Too large for dtype('float64') ( I did the check and none of these proceed)
I’m working on a python linear regression project, but there’s been a problem with the.fit() model. the following errors occur: in the code I put here: Valueerror: Input contains Nan, Infinity or a…
-
0
votes1
answer103
viewsError in class(x) <- setdiff(class(x), "pseries") :
I’m running multiple linear regressions on R. Initially I circled with the "pooled" effect and it worked fine. When I try to do the same with the effect "Within" and "Random" shows the following…
-
0
votes0
answers98
viewsPredictions from Cross Validation
I am working with a regression problem. I built a Multilayerperceptron (MLP) using Scikit-Learn. I made two predictions...one using MPL using 70% of data for training and 30% for validation.…
-
0
votes0
answers52
viewsNonlinear regression with dummie variables
I am creating several models, to then make the selection based on Aicc. Among these models that I am creating, I have a categorical predictive variable (fire) that I need to include in the nonlinear…
-
0
votes1
answer54
viewsPlot of the CL50 Curve in R using ggplot2 with estimates obtained in Stan
I am trying to make the following graph below in ggplot2. Note that I am adjusting a logistic regression model under the Bayesian approach using the Stan package. dice:…
-
0
votes1
answer84
viewsAdjusted line of the binomial regression model made in ggplot2
I am trying to adjust the line of the binomial model in the graph of observations, however, one observes a problem in the code. The data is below:…
-
0
votes0
answers11
viewsForecast error using the forecast package in R
I’m trying to create a time series forecast in the test data, but when I try to make the prediction it gives an error that I can’t understand and I can’t find anything like it on the internet that…
-
0
votes1
answer69
viewsPlot half-normal chart for mixed models adjusted with nlme package
I’m trying to realize the Plot half-normal chart for a mixed effects model adjusted through function lme package nlme. Dice:…
-
0
votes1
answer35
viewsProblems adjusting a mixed effects model using the gamlss package
I’m trying to adjust a mixed effects model considering the package gamlss. The data is here: https://drive.google.com/file/d/1q4XuSPnZXx7TsrT3JVoucFyxeOSegWFz/view?usp=sharing The model I’m…
-
0
votes1
answer31
viewsGLM with non-significant P values
My dataset has four variables: a dependent (Y), and three independent (X1, X2 and X3): > dput(dados) structure(list(Y = c(29.1, 27.7, 28.2, 28.1, 27.3, 25.9, 27.2, 30.6, 27.6, 28.4, 26.6, 28.1),…
-
-2
votes0
answers22
viewsUncertainties in linear regression coefficients in Python
How to find uncertainties in the coefficients of a linear regression using the function polyfit() of Numpy or the function curve_fit() of Scipy? I know how to find the coefficients, but I would like…