Displaying 20 results from an estimated 20000 matches similar to: "stepwise regression"
2006 Apr 28
4
stepwise regression
Dear all,
I have encountered a problem when perform stepwise regression.
The dataset have more 9 independent variables, but 7 observation.
In R, before performing stepwise, a lm object should be given.
fm <- lm(y ~ X1 + X2 + X3 + X11 + X22 + X33 + X12 + X13 + X23)
However, summary(fm) will give:
Residual standard error: NaN on 0 degrees of freedom
Multiple R-Squared: 1, Adjusted
2010 Apr 13
1
stepwise regression-fitting all possible models
Dear All,
I am new to R and I would like to do the following:
I want to fit a logistic model with 3 predictors and then perform a stepwise
regression to select the best possible model using either the AIC/BIC
criterion.
I have used the stepAIC function which works fine but using this method only
likely candidates are evaluated (i.e. not all the models are fitted). We
should have 2^3=8 possible
2008 May 09
2
Stepwise regression
I am using stepAIC for stepwise regression modeling.
Is there a way to change the entry and exit alpha levels for the
stepwise regression using stepAIC ?
Many thanks,
Berthold
Berthold Stegemann
Bakken Research Center
Maastricht
The Netherlands
[[alternative HTML version deleted]]
2005 Feb 24
2
Forward Stepwise regression based on partial F test
I am hoping to get some advise on the following:
I am looking for an automatic variable selection procedure to reduce the
number of potential predictor variables (~ 50) in a multiple regression
model.
I would be interested to use the forward stepwise regression using the
partial F test.
I have looked into possible R-functions but could not find this
particular approach.
There is a function
2003 May 08
2
Forward Stepwise regression with stepAIC and step
Dear all,
I cannot seem to get the R functions step or stepAIC to perform forward
or stepwise regression as I expect. I have enclosed the example data in
a dataframe at the end of this mail. Note rubbish is and rnorm(17) variable
which I have deliberately added to the data to test the stepwise procedure.
I have used
wateruse.lm<-lm(waterusage~.,data=wateruse) # Fit full model
2005 Dec 08
1
mle.stepwise versus step/stepAIC
Hello,
I have a question pertaining to the stepwise regression which I am trying to
perform. I have a data set in which I have 14 predictor variables
accompanying my response variable. I am not sure what the difference is
between the function "mle.stepwise" found in the wle package and the
functions "step" or "stepAIC"? When would one use
2008 Apr 20
1
Stepwise logistic regression....take too long...
Dear R helpers,
I'm trying to build logistic regression model large dataset 360 factors and
850 observations. All 360 factors are known to be good predictors of outcome
variable but I have to find best model with maximum 10 factors. I tried to
fit full model and use stepAIC function to get best model but unfortenatly,
the process takes too long to complete (more than 4 hours)...
Is it
2012 Feb 17
3
stepwise selection for conditional logistic regression
Hi,
Is there any function available to do stepwise selection of variables in Conditional(matched) logistic regression( clogit)? step, stepwise etc are failing in case of conditional logistic regression. Please help.
Thanks
P.T. Subha
[[alternative HTML version deleted]]
2008 Oct 22
1
forward stepwise regression using Mallows Cp
So I recognize that:
1. many people hate forward stepwise regression (i've read the archives)--but I need it
2. step() or stepAIC are two ways to get a stepwise regression in R
But here's the thing: I can't seem to figure out how to specify that I want the criteria to be Mallow's Cp (and then to subsequently tell me what the Cp stat is). I know it has something to do with
2011 Dec 22
2
Stepwise in lme
I'm manually doing a form of stepwise regression in a mixed model but with
many variables, it is time consuming. I thought I'd try to use an automated
approach. stepAIC gave me false convergence when I used it with my model,
so I thought it can't be hard to set up a basic program to do it based on
the p-values. Thus I tried a couple of (very) crude options:
1) trying to
2008 Dec 10
1
Stepwise regression
Hi,
I have the response variable 'Y' and four predictors say X1, X2, X3 and X4. Assuming all the assmptions like Y follows normal distribution etc. hold and I want to run linear multiple regression. How do I run the stepwise regression (forward as well as the backward regression).
>From other software (i.e. minitab), I know only X1 and X2 are significant so my regression equation
2011 Oct 24
2
Adding rows to a table with a loop
Hi All,
Its a bit of a beginners question I'm afraid.
I have a looped stepwise regression (using MASS and StepAIC) to take random
predictors out of the total number. For this example a random sample of 5
out of a total of 20. The loop will continue until all combinations of
variables have been run through the loop.
The output from each loop can be derived from taking the significant (p)
2008 Mar 17
2
stepAIC and polynomial terms
Dear all,
I have a question regarding the use of stepAIC and polynomial (quadratic to be specific) terms in a binary logistic regression model. I read in McCullagh and Nelder, (1989, p 89) and as far as I remember from my statistics cources, higher-degree polynomial effects should not be included without the main effects. If I understand this correctly, following a stepwise model selection based
2009 Oct 22
4
Bayesian regression stepwise function?
Hi everyone,
I am wondering if there exists a stepwise regression function for the
Bayesian regression model. I tried googling, but I couldn't find anything.
I know "step" function exists for regular stepwise regression, but nothing
for Bayes.
Thanks
--
View this message in context: http://www.nabble.com/Bayesian-regression-stepwise-function--tp26013725p26013725.html
Sent from
2007 Sep 17
1
Stepwise logistic model selection using Cp and BIC criteria
Hi,
Is there any package for logistic model selection using BIC and Mallow's Cp
statistic? If not, then kindly suggest me some ways to deal with these
problems.
Thanks.
--
View this message in context: http://www.nabble.com/Stepwise-logistic-model-selection-using-Cp-and-BIC-criteria-tf4464430.html#a12729613
Sent from the R help mailing list archive at Nabble.com.
2005 Nov 03
1
Help on model selection using AICc
Hi,
I'm fitting poisson regression models to counts of birds in
1x1 km squares using several environmental variables as predictors.
I do this in a stepwise way, using the stepAIC function. However the
resulting models appear to be overparametrized, since too much
variables were included.
I would like to know if there is the possibility of fitting models
by steps but using the AICc
2007 Jul 11
1
Stepwise GLM selection by LRT?
Dear List,
having searched the help and archives, I have the impression that
there is no automatic model selection procedure implemented in R that
includes/excludes predictors in logistic regression models based on
LRT P-values. Is that true, or is someone aware of an appropriate
function somewhere in a custom package?
Even if automatic model selection and LRT might not be the most
appropriate
2010 Aug 09
3
Logistic Regression in R (SAS -like output)
Hello useRs,
I have a problem at hand which I'd think is fairly common amongst
groups were R is being adopted for Analytics in place of SAS.
Users would like to obtain results for logistic regression in R that
they have become accustomed to in SAS.
Towards this end, I was able to propose the Design package in R which
contains many functions to extract the various metrics that SAS
reports.
2000 Nov 01
0
Forward stepwise regression
I have a question regarding doing forward stepwise regression using the step function and an lm model.
I am trying to run a stepwise procedure that will add a predictor variable, one at a time, conduct an F test to determine whether or not to drop any previous terms, and terminate when no other predictors qualify to be added. Using the step function and looking at the example in the book, I
2003 Jun 18
2
Forward stepwise procedure w/ stepAIC
I'm attempting to select a model using stepAIC. I want to use a forward
selection procedure. I have specified a "scope" option, but must not be
understanding how this works. My results indicate that the procedure begins
and ends with the "full" model (i.e., all 17 independent variables)...not
what I expected. Could someone please point out what I'm not