Questions tagged [regression]

Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.

30,197 questions
Filter by
Sorted by
Tagged with
323 views

Which statistical test can I run to making a stacked bar chart in SPSS of the means of two time measures for one IV?

Hypothetical experiment: I want to determine the "best" method of cooking chips - oven or fryer. I have ten bags of chips, each bag I split in two, cook half in the oven, half in the fryer. ...
1 vote
407 views

Forecasting model with OLS

I am trying to estimate a model by using OLS (ordinary least squares) regression, I find that the default rate (my dependent variable) $y_t$ is non-stationary, therefore I take the difference to make ...
34 views

Can I use the Estimate of a model directly without considering the p-value?

this is a follow-up question of (this question). The research question is to get the intraindividual (within-subject) variations on contact patterns per period. Each participant reports their contact ...
9 views

Assistance with Linear Regression Analysis for Under-5 Mortality Rate in Kenya

I am currently writing my bachelor's thesis, which investigates the correlation between the under-5 mortality rate (U5MR) and maternal education in Kenya using DHS 2022 data. I am using R-Studio for ...
14 views

Based on the scatter-plot that i have made to validate my regression model, that could be considered a good model?

I have a gradient-boost regressor model, i'm predicting value of sentences, which often are round numbers (which makes it annoying to validate). I have created a scatter-plot to validate my model, x-...
1 vote
28 views

Odds ratio and p-value

Is it possible that in logistic regression model, one variable has high odds ratio and higly significant and other variable which has low odds ratio but is also higly significant.
109 views

Change score as predictor

I want to see if a change in an independent variable (T2-T1) predicts another variable at T2. For example, higher increases in cognitive impairment over 1 year for people with dementia predict lower ...
38 views

Can I perform an ANOVA on the outcomes of regression?

I was told that it's not usual practice to run an ANOVA off of the slopes and intercepts obtained from a regression. I made "retinotopy" models for each point on the surface of the cortex, ...
5k views

Graphical lasso numerical problem (not SPD matrix result)

I am trying to apply glasso on a very simple as well as sparse dataset made by 60+ features and 30k+ observations. Here you can find it in a csv format, if you are ...
783 views

Is standardizing data necessary for glasso?

I am wondering, if it is necessary to standardize data (mean zero and stddev eq. 1) for glasso. In many papers on glasso this is mentioned to have data with mean=0 and stddev 1, while using covarience ...
319 views

What would be a likelihood ratio test based on nested multinomial logistic regression models for one-sample testing of categorical distributions?

(Let’s assume a multinomial distribution with a size of just one, so a categorical distribution: either dog, cat, or alligator.) I have done multinomial two-sample tests a few times lately, and I’ve ...
22 views

Comparing two regression models? [closed]

I have data set of two measurements (C and D) which are for two areas (A & B). I've plotted them on a scatter graph separately to get two graphs which are both positively correlated. What i'm ...
16 views

Is it a good idea to add as many predictors as possible in a random forest?

In a regression context, specification of the regression equation is rather important. When we add predictors to the regression specification which are not relevant can cause a misspecification issue, ...
1 vote
48 views

Finding the true "causative" covariate - in joint versus separate modeling

This is regarding some genetic assignment. Assume we have two random covariates (SNPs) $X1,X2$, and a random response $Y$ (disease). I believe that only one of $X1,X2$ is “causative” for $Y$ , but do ...
653 views

Question about Time 1/Time 2 analysis

I was hoping to get some input on the best way to test some data that I have collected (using SPSS). In short, respondents make an evaluation at time 1, then complete a distractor task, and then ...
1 vote
38 views

What happens when there are errors in the predictor variables?

I asked this question yesterday but I can't log into my account anymore: Using a Response Variable as a Predictor Variable in a Future Model? After thinking about this question (estimate net cost-...
5k views

Using F-test for (generalised) linear models

I am working with regression on a data set and I am looking for a way to compare the results. From the data ($x$) and observed values ($y$) where $y\in[0, 1]$, I have three models: 1 (baseline): ...
1 vote
271 views

Heterogeneity in residuals

I am doing some regression on Fama and French 3 factor model and an asset. Thus I am doing a OLS regression, using R code with the LM function, and wanting to rolling 1 step forcasts. However by doing ...
223 views

What statistical test is appropriate? Binary dependent variable, categorical independent variable(s)

I'm trying to understand the relationship based on survey data between one binary dependent variable (Did Give a Bribe for a Vaccine) and where the respondent lives (Urban, Peri-urban and Rural) - ...
1 vote
218 views

P-Values based on Experiment Data Aggregation

I'm trying to understand which interpretation of p-values for a linear regression model is correct given different levels of aggregation. Let's say I am running a pricing experiment in a store-chain ...
25 views

dealing with small medical dataset and handling outliers [duplicate]

I posted a question that was closed because I provided incomplete information. This time I want to ask my question completely. I would be very grateful if you could help me. We have information and ...
28 views

1 vote
367 views

How to correct standard errors for heterogeneity and intra-group correlation?

I got my article manuscript back from review and one notion from a reviewer was that in my analyses "[s]tandard errors are not corrected for heterogeneity or intra-group correlation", s/he apparently ...
15 views

What model or method to use for categorical data with repeated measures?

I am trying to analyze my data, it consists of 2 independent categorical variables (4 textures and 4 impact sounds - mixing and matching them gives me 16 different conditions that each person is shown)...
275 views

Variance Inflation Factor and Condition Indeces

My data is cross-sectional macroeconomics data. I have six independent variables (x1,x2,x3,x4,x5,x6) plus 2 dummies (d1,d2) plus 2 interactions terms (d1*x1,d2*x1).I am testing my data for ...
20 views

dealing with tabular small data set [closed]

I have a tabular dataset. This dataset has 18 columns and 66 rows. I removed outliers with the help of IQR technique. I scaled the data. But the result is very weak. How do you suggest me to improve ...
285 views

Regression - Merging separate linear regression models

I'm trying to assess if the following intuition has sense or not. Any help will be appreciated. Consider two simple linear models obtained in the same experimental framework (for example, measurements ...