Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.
1
vote
1answer
18 views
STATA - Help for switchr command
I'm trying to perform a markov switching regression model in stata using the command switchr.
The command syntax is the following one:
switchr eq1 eq2 [weight] [if exp] [, cluster(string) ...
1
vote
0answers
23 views
How to interpret coefficient in log-log regression?
I am trying use log-log regression with sample data, whereby a 1% increase in x is associated with a 25% increase in y - see example SAS code below. I expected the regression coefficient for log_x to ...
2
votes
0answers
11 views
Standardized dependent variable within a group in panel data models?
Does standardizing of a dependent variable within the identifying group make sense?
The following working paper (Deforestation slowdown in the Legal Amazon; Prices or Policies?, pdf) uses a ...
0
votes
0answers
20 views
PLA vs Regression
Just started getting into machine-learning, and I'm wondering if there is a relationship between the Perceptron learning algorithm and linear regression?
1
vote
1answer
35 views
Which bootstrapped regression model should I choose?
I have a binary logistic regression model with a DV (disease: yes/no) and 5 predictors (demographics [age, gender, tobacco smoking (yes/no)], a medical index (ordinal) and one random treatment ...
0
votes
0answers
25 views
Remove terms with NA coefficients from lm model with interactions [migrated]
I'm training a model using lm with interactions by
fit <- lm(Y ~ .^2, data)
Some of the interaction terms have "NA" as their coefficient, indicating I suppose ...
1
vote
1answer
27 views
Test on the properties of two betas?
I have a set of observation. When I do an OLS I get a beta. After I remove some values I also get a beta. Now I want to test if the properties of two betas are the same? Pls give me a hint how to do ...
6
votes
1answer
117 views
Regression for a model of form $y=ax^k$?
I have a dataset which is statistics from a web discussion forum. I'm looking at the distribution of the number of replies a topic is expected to have. In particular, I've created a dataset which has ...
2
votes
3answers
79 views
Linear regression explanations
In explaining simple linear regression, isn't it a bit misleading for many examples to illustrate a straight line going through some scatterplot? This seems to suggest that linear regression only ...
1
vote
2answers
57 views
Dummy variables in multiple regression, why use an intercept?
When performing a multiple regression with dummy variables, is it really necessary to include an intercept term in the design matrix?
By dummy variables, I mean indicator variables; a one in the ...
1
vote
1answer
70 views
Which statistical method should I use?
I wish to analyse the following :
Independent Variable (IV): User of online financial reports Perceived usefulness and Perceived Quality (Sub to Relevance, Reliability, Understandability, ...
1
vote
0answers
41 views
What is the difference between the F-test and the Wald / Likelihood Ratio / Score tests of linear models?
In statistical inference, it's common that investigators will report the results from Wald tests for simple univariate inference or likelihood ratio tests for nested models. However, in regression ...
-1
votes
0answers
22 views
Formula for computing variable from Likert-type scale
I have this model:
$$4F + 4.8N = a + bM +cP + dH$$
where $F$, $N$, $M$, $P$, $H$ are variables measured on a 7-point Likert's type scale and $b, c, d$, are coefficients and $a$ is a constant. I am ...
0
votes
3answers
52 views
What is endogeneity and what does it mean substantively? As an extension what is exogeneity?
My apologies if this is an obtuse question, I am neither a statistician nor a econometrician but as a student is empirical methods this question plagues me.
I understand that $$X'\epsilon=0$$ not ...
3
votes
1answer
104 views
Is the exponential distribution a good model for this data?
I'm trying to determine if the exponential distribution is a good model for a data set that I'm exploring. It doesn't have to be precise. I'm using the data for capacity planning (if it's a good fit) ...
0
votes
0answers
14 views
OK to use residual sum of squares for cross-validation of binary outcome?
For an OLS model the mean squared error can be used to assess the fit of the trained model on the validation data.
What is the equivalent for a logistic regression model? Can I simply use the ...
1
vote
1answer
30 views
Standard errors of regression coefficients based on sample size
For any particular nonlinear regression: $$Y_i = f(\mathbb{x_i},\theta) + \epsilon_i, i=1,...,n$$ I currently have standard errors for each of the $\theta_j$ obtained via the Gauss-Newton algorithm
...
0
votes
1answer
16 views
can EM algorithm be applied to my problem? Input data set is based on a function of parameter
I understand EM algorithm is often used for missing data/mixture problem. But can it be used to optimize a particular type of likelihood based on jointly fitting variables and transformations of those ...
1
vote
1answer
50 views
Ordinary Least Squares method: why are my regression results insignificant?
I have a problem in my thesis results of OLS regression being insignificant.
I have 3 sectors and each sector has 130 observations.
Is this sample size is sufficient or not ?
Can anyone suggest ...
0
votes
0answers
38 views
How to compare 2 regression slopes with R?
I have to compare the slopes of 2 regression lines with R. The 2 regressions are made with the same parameters in 2 different locations.
I did my regressions with the function lm(). Now I have the ...
1
vote
1answer
54 views
Regression model for periodic data
Moved from Stack Overflow
Could someone help me to find adequate regression model for my data?
I tried to find one by changing the model and initial approximation (ln 15-16) in this simple Python ...
0
votes
0answers
31 views
How can i find code( matlab, vb, c++) for running fuzzy regression?
I am new in fuzzy regression, i knew about its theory but have problems in running it in matlab or other programs. I will be so helpful if someone helps me in finding codes for fuzzy regression.
1
vote
2answers
24 views
Calculate the tendency of a set of samples
I develop an application in which i constantly get samples of heart pulse.
I defined an interval of t seconds.
In each t seconds I have n samples.
In every interval, I want to calculate the ...
2
votes
1answer
126 views
How to compare two regression slopes for one predictor on two different outcomes?
I need to compare two regression slopes where:
y ~ a + b1 x
y ~ a + b2 x
How can I compare b1 and b2?
Or in the language of my specific example in rodents, I ...
1
vote
0answers
30 views
Breakpoint for bivariate data
The breakpoint(s) estimation approach implemented in the strucchange package (Zeilei & al) seems to work very well (based on my little experience with this package on real case studies).
Is ...
2
votes
1answer
49 views
First difference or log first difference?
I am evaluating the effect of covariances between series on returns. That is I run the following regression: $$ r_t = \beta_0 + \beta_1\text{Cov}(Y_t,r_t) + ...$$
I have conducted my analysis with ...
1
vote
0answers
25 views
R module for creating plots of prototypical individuals from fitted models?
In order to help interpret fitted models — especially those with interaction terms and non-linear components — I've found it useful to plot predicted values of a dependent variables for what we might ...
1
vote
0answers
16 views
Addressing multicollinearity with key driver analysis
I am trying to determine the key drivers from a series of 30 Independent Variables (IVs) (attributes rated on 10 pt scale) on 3 Dependent Variables (DVs) (i.e. purchase intent). The 30 IVs are pretty ...
0
votes
1answer
46 views
Conditional expected value from a regression model using ordinary least squares
I have a query regarding part (a) of the following question. I cannot figure out how to calculate the conditional expected value of collections for the month of Easter. Is it not possible to calculate ...
1
vote
1answer
53 views
Can I use a regression model with ANOVA significance greater than 0.05?
I have a multiple regression using SPSS. The significance of my model in the ANOVA table is p=0.174 which is >0.05. what does this mean for my model? Can I still use it and proceed in the ...
0
votes
2answers
79 views
How to interpret the output of the summary method for an lm object in R? [duplicate]
I am using sample algae data to understand data mining a bit more. I have used the following commands:
...
1
vote
1answer
33 views
Do you always measure reliability through the Cronbach's alpha coefficient? Or is there another way? (multiple linear regression)
I started doing a quantitative research for my thesis without any previous SPSS or proper statistic experience, and the first thing my professor told us in the spss workshop is that you start by ...
1
vote
1answer
28 views
Heckman's two stage: multiple selection models
If a sample is likely to be self-selected on multiple selection criteria, does it make sense to include Inverse Mill's ratios for multiple selection models in the same second stage OLS model?
1
vote
1answer
55 views
How to calculate confidence intervals of $1/\sqrt{x}$-transformed data after running a mixed linear regression in stata?
I have run a series of mixed linear regressions in Stata, some with inverse-square-root ($1/\sqrt{x}$) transformations and others with square root ($\sqrt{x}$) transformations.
How do I calculate ...
0
votes
0answers
30 views
Performing Linear Regression on Rolling Averaged Data
I have multiple years of daily aggregated data for which I want to conduct a multi-variable linear regression. Auto correlation is high with one particular variable included and there is a strong ...
2
votes
1answer
50 views
Linear Regression with a Dependent Variable that is a Ratio
I'm doing linear regressions where the dependent variable is a ratio that can range from 0.01 to 100.
Is it ok to take the log of the dependent variable and the regression on that?
I'm matching the ...
1
vote
0answers
24 views
Regret in the linear regression setting
I've seen the concept of regret apply mostly to online learning problems, but while going through the definition it does seem that is not bounded to this setting.
I'm trying to come with a simple ...
13
votes
1answer
184 views
Random forest assumptions
I am kind of new to random forest so I am still struggling with some basic concepts.
In linear regression, we assume independent observations, constant variance…
What are the basic ...
0
votes
1answer
53 views
Logistic regression: controlling variables not significant, what should I conclude/further test? [closed]
I ran annual logisitic regression on time-series datas. The most important independant variable have coefficient that are significant in a lot of years, that's a relief. But the "controlling ...
3
votes
0answers
36 views
How to build a model where variance depends on covariate?
I have what I believe is a very simple problem for anyone used to modelling with unequal variances (which I am unfortunately not). I have a dependent variable "totrich" which I want to model as a ...
1
vote
0answers
9 views
Error function of noisy input and target variables
Why is the sum of squares error function of noisy input and noisy target variables very similar to the error function for only noisy input?
This is the relevant part in Bishop's book:
Another ...
10
votes
2answers
356 views
How are regression, the t-test, and the ANOVA all versions of the general linear model?
How are they all versions of the same basic statistical method?
0
votes
0answers
35 views
Appropriate method for supervised learning of small data set with few variables
What method exc. for regression can be used in order to get y=f(x1,x2) on a training set of 800 to 2000 samples? y is a whole number <0,15>, x1,x2 are real <0,40>?
I'm interested in prediction ...
0
votes
1answer
35 views
Weighted multiple regression in R with prespecified weights
I would like to run a regression of the following form:
Y ~ B1*predictor1 + B2*predictor2 + B3*predictor3
I would like to specify ...
0
votes
1answer
40 views
Basic questions concerning the interpretation of results from summary(lm(…~…)) in R [duplicate]
set.seed(11)
a = runif (12)
b = rep(c(1,2,3),4)
summary(lm(a~b))$coeff
summary(lm(a~b-1))$coeff
What does a p.value for the intercept means ?
What differences ...
2
votes
2answers
71 views
Does the intercept count as a parameter for the n/parameters sample size rule for multiple regression?
When estimating parameters, I know the general rule of thumb is n/parameters should be >10. Does the intercept in a model count as one of the estimated parameters in this "rule"?
For example, if I ...
1
vote
1answer
52 views
R Forward and backward Selection
I have a data set with large number of attributes some are not relevant and some are relevant for the regression model. My approach was to do forward and backward selection to identify a starting ...
0
votes
0answers
19 views
Changing prior for a regression model
I have a regression model trained on a particular output distribution (for example N(0, 1)). I now have to do a prediction on a test set, with a caveat that I know that the distribution of the test ...
0
votes
0answers
21 views
Strategy for building best fit multiple regression model with time lagged variables
I am building a multiple regression model - wrapped in a function - with one dependent variable and a dozen independent variables. The reason why I am building a function is that I need to do this ...
2
votes
0answers
34 views
OLS standard error log log regression
I am estimating the following Power Law relationship:
$$\ln(\text{Rank}) = \text{constant} + \alpha \ln(\text{Size})$$
where $\text{Rank}$ is $1,~2,~3,~...,~n$, and $\text{Size}$ is the raw value.
...

