The coefficient of determination, usually symbolized by $R^2$, is the proportion of the total response variance explained by a regression model.

learn more… | top users | synonyms

0
votes
0answers
7 views

Is there any possibility to calculate adj. r-squared for geeglm (GEE, geepack) in R?

I using geepack package in R fo generalized estimating equation model. Is it possoble co calculate a marginal r2 for a geemodel in R software? Thank you for answers
1
vote
0answers
25 views

Are these acceptable Nagelkerke R Square for cross sectional data?

I am running a logistic regression using cross sectional data. I produced Nagelkerke R square value for this since I thought this is the best for logistic regression model fitting evaluation if I am ...
3
votes
0answers
21 views

Is it possible to calculate a pseudo-R squared for a binomial GLMM with a cauchit link?

I'm modeling some repeated-measures presence-absence data using a binomial GLMM in lme4. I've been using the method suggested by Nakagawa and Schielzeth (2013) to calculate a marginal and conditional ...
0
votes
1answer
33 views

Can we find the coefficient of determination, $R^2$, from an estimated regression equation?

Assume we have a regression equation where $\hat y = 15 + 25.5 x_1 - 5 x_2 + 6 x_3$ Using these beta values, how would you go about finding a coefficient of determination?
3
votes
0answers
28 views

R squared and higher order polynomial regression

The plot below shows the saturation of a road against the impact on journey time (normalized to free flow journey time). The blue (BPR function) curve presents a standardized model used in the field ...
0
votes
0answers
10 views

Relative contribution of variables in explaining the dependent variable in a logistic model

we are using a logistic regression and I want to know the relative contribution of each explanatory variable in explaining the dependent variable. that is basically rank the variables according to ...
1
vote
0answers
22 views

What measure should I use to compare two sets of calculations?

Assume I have two sets of calculations produced by two different simulators. There is no way to precisely measure actual values for these calculations, so I'm defaulting to the assumption that one of ...
1
vote
0answers
21 views

How to implement SMC in Python as it in R? [closed]

Is there any function in Python similar to Squared Multiple Correlation (SMC) in R? What if I want to implement SMC in Python? Is the only way to do it just rewriting SMC into Python line by line? ...
3
votes
1answer
21 views

Determinie how well sales correlate with weather

I work with for a retail company. A recurring problem in our meetings is that our mid-level managers usually blame weather for the sales development. I want to find out if this is right or wrong. My ...
0
votes
0answers
13 views

What is the formulaic relationship between R2 and correlation coefficients between different units in a balanced panel data set?

I am trying to understand the relationship between R2 and correlation coefficients between different units in the underlying data. Specifically, I have a balanced panel data set, with N different ...
0
votes
1answer
21 views

Calculating R-squared from item-factor loadings

If I have run a Confirmatory Factor Analysis and have all of the standardized loadings of each item onto its respective variable, how would I calculate the R-squared for each item? Is it simply the ...
4
votes
2answers
67 views

Regression: What is the utility of R squared compared to RMSE?

Suppose I'm doing regression with training, validation, and test sets. I can find RMSE and R squared (R^2, the coefficient of determination) from the output of my software (such as R's lm() function). ...
1
vote
1answer
38 views

Is least square dummy variable model better than random effects model?

I have a panel dataset with one dependent and twelve independent variables. There are 50 individuals with data for 100 days. Theoretically, most of them should be significant. First, I checked for ...
0
votes
2answers
40 views

How to summarize R-squared of several regressions, one per subject

I will explain my question, I have made a study and I have 10 regression (one for each subject). I have a significance for each regression, but in some subjects the value of R-squared is 0.5 and in ...
2
votes
0answers
53 views

Why the focus on variance reduction for $R^2$?

It seems to odd to me that we measure the explanatory power of a regression model in "percent of variance explained", or $R^2 = cor(\hat{y},y)^2 = r^2$ even though we all know that variance is just an ...
0
votes
0answers
18 views

Variance explained $R^2$ by separate fixed effects (and interactions)

I am currently assessing the effect of five environmental variables (A, B, C...) on a trait (Y). I would like to estimate how much variance in Y each environmental variable explains. Previously I had ...
0
votes
2answers
35 views

How to get Cox & Snell, Nagelkerke R-Square in R logistic regression output?

I'm new to R (used to work with SPSS), and looking for a function that will output the Cox & Snell and Nagelkerke R-Square measures of logistic regression. In SPSS they are displayed as part of ...
1
vote
0answers
14 views

Getting different r-square values whe constraining the models to be equal (Testing invariance in structural model)

I compared the chi-square value from the model with all parameters allowed to be unequal across groups (e.g., parameters are set free) to the chi-square from the model where paths at time-point 1 and ...
3
votes
1answer
39 views

Error term in multiple regression model

I am trying to run a multiple regression model to see the effect of field characteristics such as soil texture, slope and hydraulic conductivity on drainage density. My samples are agricultural ...
0
votes
0answers
30 views

Model fitting: relative importance of SE of regression coefficient vs adj. R squared when estimating accurate coefficient is only objective

My objective is to infer the magnitude of a particular coefficient ($β_5$ in the equation below) as accurately as possible. I'm trying to decide between two models: the first which has a lower SE (....
3
votes
2answers
97 views

Why is $SST=SSE + SSR$? (One variable linear regression)

Note: $SST$ = Sum of Squares Total, $SSE$ = Sum of Squared Errors, and $SSR$ = Regression Sum of Squares. The equation in the title is often written as: $$\sum_{i=1}^n (y_i-\bar y)^2=\sum_{i=1}^n (...
4
votes
2answers
58 views

Why does $R^2$ grow when more predictor variables are added to a model?

I do understand that $ R^2 = \frac{\text{SSR}}{\text{SST}}= 1- \frac{SSE}{SST}$, however, I don't understand what changes when more predictor variables are added and how $R^2$ is affected accordingly. ...
1
vote
0answers
54 views

Lasso Regression - model predictions are not correct. low r-squared

I am attempting to use Lasso to choose the best variables from a set of 20. I have managed to construct a model using LassoCV, however when using the test data to compare the predicted returns to the ...
0
votes
0answers
11 views

Is one value the linear combination of four others?

The textbook asserts that, "AFQT" is a linear combination of four other given components, [“Word, “paragraph”, “math” and “arithmetic”]” and asks us to test this proposition in JMP. I ran a linear ...
0
votes
0answers
32 views

Statistical method to combine/summarize multiple R squared values

I have a set of measurements using two different methods. I Have 6 samples that I have measurements for using both methods. I am trying to demonstrate how comparable the measurements are from the ...
1
vote
0answers
16 views

Relationship between weighted $r^2$, and $r^2$ of transformed data

When regressing heteroscedastic data, recommended practice is to either transform the data to remove heteroscedasticity weight the data to compensate So let's say we have some data $ y = x + \...
0
votes
0answers
37 views

Pseudo-r-squared glmer.nb

I am running a negative binomial generalised linear mixed model - glmer.nb()from the {lmer} package - to investigate the extent to which elevation (elev) can predict changes in the density of ...
2
votes
1answer
265 views

Difference between selecting features based on “F regression” and based on $R^2$ values?

Is comparing features using F-regression the same as correlating features with the label individually and observing the $R^2$ value? I have often seen my ...
0
votes
0answers
26 views

Calculating a large number of R-squared statistics in R

I have a very large number of R-squared statistics to collect, basically I'm collecting a monthly R-squared series for a period of around 25 years for a large number of variables where I'm interested ...
3
votes
1answer
34 views

Is there any way that adjusted R squared would be greater than R squared?

Is there any way that adjusted $R^2$ would be greater than $R^2$? Including cases of extreme values of n and p and negative values of $R^2$.
3
votes
1answer
47 views

Distinguishing between what makes up R-squared

I am interested in the relationship between religiosity and religious distrust (would you dislike having as neighbours people of different religions). One of my main goals is to make the role of each ...
0
votes
0answers
38 views

Coefficient of determination in ARIMA model vs linear regression

In an ARIMA model, $R^2$ can be computed from squared correlation between fitted and actual values. My question is, is this $R^2$ the same as the $R^2$ in linear regression?
7
votes
3answers
198 views

If two traits have known correlation, can you predict probability they'll “align” for a random pair?

Suppose you have two traits that are correlated in a given population, like a person's BMI and their blood pressure. And let's say I want to estimate the probability that in a randomly-selected pair ...
0
votes
0answers
61 views

Holdout ${R}^{2}$ calculation

I am considering a simple linear regression model for a short time series consisting of yearly data over 16 years. I am to keep the 16th year as a holdout. Considering the calculation of ${ R }^{ 2 }...
0
votes
0answers
15 views

Multiple regression: forcing y-intercept=0 improves R^2, is this correct/possible? [duplicate]

I have been running multiple regressions in Excel successfully (using the Data Analysis Toolpak) but when I run the same regressions and force the y-intercept through 0, the R^2 values are very ...
1
vote
1answer
29 views

Coefficient of determination

I'm taking an online intro class on statistics and right now we are covering a topic on relationship between quantitative variables. One of the subtopics is coefficient of determination. Here is an ...
0
votes
0answers
39 views

Low MSE, but negative $R^2$

I'm training some neural nets on my data and I get a satisfying MSE (compared to the variable scale I'm working with) and an anomalously negative $R^2$ value. What does the negative $R^2$ mean in this ...
1
vote
1answer
61 views

Calculating R^2: two different results depending on method

So I've fitted a linear trend to my data and calculated R^2 in two different ways (in Matlab), one is using corrcoef and the other is "by hand". These return ...
0
votes
0answers
79 views

How to get R squared/goodness of fit for Tobit model in R?

I'm quite new to R, so maybe the answer to my question is quite easy but in hours of checking google and communities like this I didn't find a solution. I do a tobit regression to analyse censored ...
0
votes
0answers
54 views

Why is my R-squared so low when the relative absolute error is not that bad?

I feel this may be a slightly dumb question but I'm trying to predict the price of a good and I'm obtaining low r-square values (approx. 0.20) but, in my case, acceptable absolute relative error (...
0
votes
1answer
81 views

R-squared and F-stat in dummy variables regression vs panel FE model

When estimating a Fixed Effects model on panel data and an equivalent dummy variables regression, the coefficient estimates and associated SEs are identical. However, the R-squared and F-statistic are ...
4
votes
1answer
56 views

Why not using the R squared to measure forecast accuracy?

Why in literature usually the common accuracy measures like MAD, MSE, RMSE, MAPE ... are used. Why not using the R squared (coefficient of determination)? I was thinking about the difference: By ...
0
votes
0answers
27 views

RMSE vs R Squared literature

I have found many related answers and explanations, but not one that involves literature. I have a model and I have used cross validation. Some models have really high R and adjusted R squared values, ...
1
vote
0answers
30 views

Transformation of data with zero and R squared

I have a conceptual concern about data tranformation and R^2. Often we transform data to respect the assumption of the linear model. Therefore, we can use multiple type of transformation such as log ...
0
votes
0answers
31 views

how to calculate the variance contribution of individual coordinates for multidimensional scaling analysis

I have searched the CrossValidated and stak Overflow and found the following related threads, Standard method for calculating contribution of individual variable to outcome Non-metric Stress in 3 ...
0
votes
0answers
68 views

Same coefficients for fixed effect, random effect and OLS with panel data

I have a panel data on nonperforming loans from 1990q1 till 2014q4 with 30 banks. I would like to estimate both fixed effect and random effect model with gdp growth, unemployment, exchange rate, and ...
0
votes
0answers
38 views

ARMAX / ARIMA models: Effect Size and R-squared

Is there an easy way in Stata to get the percentage of the variance explained by an ARMAX/ARIMA model (similarly to the adjusted R-squared in multiple linear regression)? Moreover, working with ...
0
votes
1answer
58 views

Variable selection for multiple regression from large number of predictors

I have 20 response variables $Y = (Y_1, \dots, Y_{20})$, and 1600 predictor variables $X = (X_1, \dots, Y_{1600})$. There are 128 observations. I wanted to know which pairs of $X$ can best predict ...
1
vote
1answer
66 views

Implementing logistic regression (R)

I am implementing a logistic regression on a 250 x 20 dataset (250 observations of 20 variables) with a dichotomous response. In this proces I have encoutered some different problems, namely: 1. ...
0
votes
0answers
12 views

Can't figure out how to calculate R squared with the information I'm given?

I know the formula for R squared is SSR/SST. However, I've been asked to construct the R squared for a multiple regression, given the following information: - the coefficients of the regressors and ...