Questions tagged [regression]
Regression analysis is a collection of statistical techniques for modeling and predicting one or multiple variables based on other data.
regression
9,558
questions
0
votes
0
answers
8
views
GEE Modelling with 'geepack' showing contrast errors [duplicate]
I want to use Generalized Estimating Equations (GEE) to model longitudinal survey data. Participants' responses were recorded at three timepoints, and I have multiple independent variables that I ...
0
votes
0
answers
18
views
How to "average out" multiple curves with sklearn Lasso regression?
The lecture slides here: https://www.cs.cmu.edu/~ggordon/10725-F12/slides/09-acceleration.pdf on page show multiple lines on a convergence plot apparently "averaged out" with Lasso ...
0
votes
0
answers
8
views
Hausman test report [closed]
I've been working on a research project using a multi-level regression model, and I'm currently figuring out how to present the Hausman test results. I've seen some papers where authors mention doing ...
0
votes
0
answers
4
views
In cumulative mixed effects model(CLMM) both the items of a level column are not being picked
I'm a PhD student in Applied Linguistics and I'm new to using RStudio for my research. I'm working on a project that involves survey data, specifically using a 4-point Likert scale. My study includes ...
0
votes
0
answers
16
views
Loki - how to make it show on a screenshot only component without bottom part of Storybook?
I have a question about loki and visual regression tests for which I cannot really supply much of example code, but maybe somebody has come across this problem. I have table components which are ...
0
votes
1
answer
33
views
Running regression fit repeatedly in SAS
I have below data for model variable and information on the variables to be considered for regression fit
data Model_Values;
infile datalines delimiter="," missover;
input Y A B C;
...
0
votes
0
answers
10
views
Significance of the coefficients of a multinomial mixed regression built with npmlt function
I fitted (using npmlt function) a mixte multinomial regression model which ran without errors.
I expected that the outputs of the model include p-values that I didn't find.
My need now is that someone ...
0
votes
0
answers
15
views
How to perform model comparison based on multinom( ) function of nnet package in R? [migrated]
My independent variables are gender and sequence, and the dependent variable is intervention (including 3 intervention methods). I established a multinomial logistic regression model to examine the ...
0
votes
1
answer
31
views
NA values when using avg_predictions() from marginaleffects with a flexsurv model
I'm unsure why I do not get standard errors or confidence intervals when I fit parametric survival models and compute the predicted mean survival times using the avg_predictions(). I tried using ...
0
votes
0
answers
20
views
How do I correctly specify nesting in the sommer R package?
I accustomed to lme4 where it would be simply: (1|genotype/root_ID) but it's unclear to me looking through the documentation the appropriate way to do this in sommer.
mod1 <- mmer(Y ~ 1,
...
0
votes
2
answers
42
views
Export latex table from summary of rddensity function in R
I am interested in exporting the summary of the rddensity function in latex in R. I've tried to use modelsummary without sucess, and capturing output also hasn't worked out. My objective is to export ...
0
votes
0
answers
12
views
Effects Contrast Matrix for Interaction with Multiple Grand Means
I want to include an interaction between two factors: area and house_type, in my GAM (MGCV), I hope to make a sum-to-zero contrast encoding.
But, I do not want each combination of the factors to be ...
0
votes
0
answers
14
views
What's the problem with my tf.keras.input() function
when trying to train my model i am getting error - "ValueError: Cannot convert '8' to a shape", when the shape of my X_train is (5347,28).
import tensorflow as tf
from tensorflow.keras ...
1
vote
1
answer
38
views
Error when ploting the original date with the predictions of the best models using curve()
I'm trying to plot the original date with the predictions of the best models using curve() because I'm working with polynomial models, but I keep getting this error:
Error in curve(predict(best_models\...
0
votes
0
answers
15
views
How do I train a transformer for pointwise inference of time series data?
My dataset is composed of different particle trajectories over time [x(t), y(t)]. Each trajectory has a different length from another and my goal is to perform pointwise regression, i.e. estimate a ...