linear regression

  1. P

    How to report linear regression results (Matlab)?

    Hello, I performed a simple linear regression analysis in Matlab and am unsure about how to report the results. I definitely mention the coefficients and the p-value, but do I mention the t-statistics as well? And if so, how exactly? This is an example Matlab output:
  2. P

    Logistic regression curve looks like linear regression

    Hi, I performed a linear as well as a logistic regression analysis (both with Matlab) and plotted those. Now the logistic regression curve is very linear and can be described by the same function as the linear regression. I explain the linearity by the fact that it is only a very small fraction...
  3. T

    Adequate subsample size to represent sample regression

    I am performing an engineering analysis to find out the effect of earthquake on concrete buildings. Analysis applies earthquake forces on building model for 50 earthquakes, resulting into separate 50 analyses. Earthquake intensity is independent variable of study. building drift, extracted from...
  4. W

    Linear regression in genetics, interactions

    Dear All, I am searching for the association between a phenotype (PHEN) and the additive genetic model (ADD, with the values 0,1 and 2) with two adjustors, Year of Birth (numeric) and COUNTY (catergory). The data has been weighted for the year of birth. In R I use the next command...
  5. M

    How to Test for Co-integration with the Augmented Dickey-Fuller Test?

    Hi everyone. The table above contains two example factories that I would like to test for cointegration using the augmented dickey-fuller test. I intentionally use this short time series because I want to do the calculations by hand. Below you will see my attempt to carry out this procedure and...
  6. E

    Linear modelling

    Hi, I need some help with a modeling query: I have fit 100,000 linear models: M ~ age + age^2, M is the frequency. I found 2,000 models were significant, but would like to narrow it down to find the most ‘extreme’ cases. Is this possible? Does anyone have any suggestions or any references...
  7. A

    [Linear Regression] Regression with aggregated or separated years?

    Hello to everyone! :wave: I should do some regressions but i've an important and simple question... my dataset have this structure: |geographic_area|year|sales|popolation| Spain 2000 40 1000 Spain 2001 30 2000 Spain 2002...
  8. J

    Importance of vars in linear regression (R)

    I have a question that is and R question and a statistical question: I am analysing sales of a retailer. These sales are related to some vars: var1, var2, var3.., varN Most of the vars are continuos. I want to analyze the relationship between sales and the vars. I have made a linear...
  9. L

    Trichotomizing an Independent Variable

    In SPSS, how does one go about trichotomizing an independent variable such that about 33% are in each of the three groups?
  10. T

    Multiple regression V.S. Bivariate regression

    Hi there, I'm interested in the effect of several variables on severity of schizophrenia symptoms. I want to look at the effect of 9 predictor variables in a regression model. Severity of schizophrenia symptoms is the outcome variable. My sample size is about 60. My 9 predictor variables...
  11. P

    Linear Regression: Significance levels/Finding equation of fitted regression lines

    I did an exam recently and I am looking for a solution to a question which no matter where I look, I can't find out how to do it. It doesn't help I'm not very good at stats hence the post here. Could someone maybe point out a Youtube video that deals with similar problems. It's specifically part...
  12. E

    Sign differences in coefficients arising from using ordinal vs continuous data

    I run a simple OLS regression: y=a +bx+.....+e, I obtain an estimate of b<0. Prior researchers running the a similar regression obtain an estimate of b>0: I'm trying to reconcile this difference. The only methodological difference driving our results is the following: In my study...
  13. R

    Dealing with Log(0)

    Dear all, I’ve been stuck for quite some time with a problem that relates to use of log-scale with values that equal zero. My data comes from an experiment in which five different instruments (one of them using the reference method) take two measurements of a given sample’s signal emission. A...
  14. R

    log(0) should have a real value!!!

    Dear all, I’ve been stuck for quite some time with a problem that relates to use of log-scale with values that equal zero. My data comes from an experiment in which five different instruments (one of them using the reference method) take two measurements of a given sample’s signal...
  15. F

    Beta significance level in one model the same as the R-squared-change significance

    I am very new to statistics, so apologies in advance if I have not explained this clearly. I have run two types of linear regression: - The first contains 4 independent variables, all entered at the same time. - The second uses "blocks" to enter 3 of the independent variables in the first...
  16. M

    Which analysis represents better the "worse-ness" of my linear regression?

    Hello all, If I have two sets of data points, for instance: 1 10 2 14 3 17 4 12 5 19 and 1 10 2 14 3 17 4 12 100 112 The linear regression is bad for the first set and good for the second, if you look at R^2, but it is still a bad line. I was told that...
  17. N

    Have 4 dependent and 10 independent variables - which test should I use?

    Hi all, I'm interested in the potential effects of water pollution on feather color of a bird. For this, I calculated 4 color variables for each individual (brightness, hue, blue chroma and UV chroma), which are my 4 dependent variables. My independent variables (explanatory) are the...
  18. A

    Statistical analysis and playing around with incidence rates

    Dear TalkStats Members, I am a bloody noob to R (used SPSS till now) and decided to learn R now. My first quest would be following: I have incidence rates in an Excel file for a disease, which look quite like this: Year Total Male Female 2003 0.3 0.4 0.2 2004 0.3 0.3 0.3...
  19. Junes

    Many predictors relative to cases, want to identify interesting ones

    I've been helping a colleague with his research project. He is looking at the trustworthiness of profile texts. He is analyzing text entries using the LIWC tool, which generates around 90 dimensions based on text input (positive/negative affect, pronoun use, etc.). Most of it on the ratio or...
  20. H

    Linear Regression coeffiecients used in Exponential Regression

    I have a decay curve (y) with values 1, 0.75,0.64,0.54,0.46. The x values are 1,2,3,4,5. First a simple linear regression was performed (y =mx + b). Now the slope and coefficient of this line are used in the following exponential equation to predict the y values for x = (6,7,8). Exponential...