Skip to main content
Advice
0 votes
1 replies
52 views

How should I handle a mass-point in the dependent variable when running OLS regression in R? I’m working with a a household expenditure dataset (Living Costs 2019) where the dependent variable is the ...
Jimothan's user avatar
0 votes
0 answers
17 views

I am trying to generate an ARIMA process with statsmodels. I tried already different combinations but nothing works. There is also nothing in the documentation that could solve my problem. The ...
Hillbilly Joe's user avatar
0 votes
0 answers
82 views

I am trying to perform a Monte-Carlo simulation on quantile regression using R. Currently I am getting stuck simulating the data from the model below. Y=beta_0+beta_1*X1*u1+u2 where, u2~N(0,1),u1~exp(...
UNI39's user avatar
  • 29
Tooling
0 votes
5 replies
103 views

I want to use deming regression for the calculation of a linear function between two variables which both have measurement errors. In addition, I have to assume that the regression goes through the ...
user25269951's user avatar
0 votes
1 answer
81 views

I would like to conduct a F-test (Wilks' Lambda test, ideally) to test the equality of the slope coefficients for a single independent variable on two dependent variables. Using the mtcars dataset, ...
anoble's user avatar
  • 1
2 votes
1 answer
77 views

I would like to perform a Deming regression through the origin including a ratio of variance of 2.1 between the x and y variable, as the data I am working with includes measurement errors in the x and ...
user25269951's user avatar
0 votes
0 answers
37 views

I'm performing Gaussian process regression using GPyTorch. I'm modeling two correlated tasks as follows: class MyModel(gpytorch.models.ExactGP): def __init__(self, X, Y, likelihood): super(...
SirAndy3000's user avatar
2 votes
0 answers
89 views

I'm potentially interested in performing ODR for some laboratory data, so I have started to play around with scipy.odr using fake data, just for the sake of learning. In this fake data example, ...
nukamoi's user avatar
  • 21
1 vote
1 answer
67 views

I have a dataset with a binary outcome income and two continuous predictors, age, and education_num. I'm fitting a logistic regression model with a natural spline for age and an interaction with ...
Konstantinos Gkirgkiris's user avatar
0 votes
0 answers
53 views

I've implemented standard homoskedastic multitask Gaussian process regression using GPyTorch as follows: class MyModel(gpytorch.models.ExactGP): def __init__(self, X, Y, likelihood): super(...
SirAndy3000's user avatar
2 votes
1 answer
179 views

I am analyzing competing risks data in R and want to confirm that I’m setting up both Fine-Gray and cause-specific Cox regression correctly. My dataset encodes the event status as: status = 1: ...
Konstantinos Gkirgkiris's user avatar
-2 votes
5 answers
172 views

When you estimate a model, the estimation function will drop observations (i.e., rows) for which at least one variable (i.e., column) used either in the LHS or in the RHS of the formula is missing. ...
robertspierre's user avatar
0 votes
0 answers
59 views

I encounter error: Application terminated with error: ??+0 (0x709D9F003D8A) ??+0 (0x709D9E884BA4) ??+0 (0x709D9E9F388C) ??+0 (0x709D9FF2FCF5) ??+0 (0x709D9FF31448) ??+0 (0x709D9EB84E21) ??+0 (...
Mr.kitty's user avatar
2 votes
0 answers
49 views

I'm following this to get proportional odds regression for a likert scale but I'm getting this error when I try to use predict: Error in X %*% object$coefficients : non-conformable arguments This is ...
dsaizt's user avatar
  • 21
0 votes
1 answer
88 views

Sample Code library(quantreg) df <- data.frame( outcome = c(10, 12, 14, 11, 13, 15, 9, 8, 10), group = factor(c("A", "A", "A", "B", "B", "...
JJCC's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
629