Displaying 20 results from an estimated 9000 matches similar to: "Automatic creation of binary logistic models"
2011 Jan 24
2
Implementing step-wise linear regression
Dear R fans,
I am trying to do step-wise linear regression using the F-test to decide
which variables to admit. Ewout Steyerberg suggests using the F-test for
this purpose.
I first build a model using no variables using lm(y ~ 1) and then using one
variable that is a strong predictor using lm(y ~ x). When I call var.test
on these two models, I do not get a significant p-value—0.07. But a
2010 Jun 14
1
logistic regression with 50 varaibales
Hi, this is not R technical question per se. I know there are many excellent statisticians in this list, so here my questions: I have dataset with ~1800 observations and 50 independent variables, so there are about 35 samples per variable. Is it wise to build a stable multiple logistic model with 50 independent variables? Any problem with this approach? Thanks
John
2011 Jul 22
4
glmnet with binary logistic regression
Hi all,
I am using the glmnet R package to run LASSO with binary logistic
regression. I have over 290 samples with outcome data (0 for alive, 1 for
dead) and over 230 predictor variables. I currently using LASSO to reduce
the number of predictor variables.
I am using the cv.glmnet function to do 10-fold cross validation on a
sequence of lambda values which I let glmnet determine. I then take
2010 Oct 15
2
AIC in bestglm, glm, and lm - why do they differ?
I recently found the "bestglm" package while trolling CRAN for a function to
save some keystrokes with simple (k<10) nested models. I am interested in
using the best of several nested linear models which I have explored using
lm(), glm() and now bestglm(). When I compare the AIC values for the 'best'
candidate model I get the same AIC values with lm() and glm() but a
2011 Oct 24
1
bestglm function and output in R
Hi all,
I have been trying to run a bestglm in R for a while now and am struggling
to get it to run. When I thought I had succeeded, the "output" it gave me
was "NULL" and that's it. Below is my code:
bestglmtest<-read.table("C:\\Documents and
Settings\\clyons\\Desktop\\bestglmtest.txt",header=T,row.names=1)
> names(bestglmtest)
[1] "acc"
2007 Jan 11
5
stop words in query
Hello all,
Quick question, I''m using AAF and the following custom analyzer:
class StemmedAnalyzer < Ferret::Analysis::Analyzer
include Ferret::Analysis
def initialize(stop_words = ENGLISH_STOP_WORDS)
@stop_words = stop_words
end
def token_stream(field, str)
StemFilter.new(StopFilter.new(LowerCaseFilter.new(StandardTokenizer.new(str)),
@stop_words))
end
However when
2007 Jan 05
7
Hitting Files per Directory Limits with Ferret?
Hey all!
We''ve been using Ferret to great success these past six months. But
recently we''ved tried adding many new ContentItems (only thing being
index by Ferret at the moment), and things came crashing to a halt.
ferret gem: 0.10.9
acts_as_ferret plugin (not sure which version)
How we''re using the plugin:
class ContentItem < ActiveRecord::Base
acts_as_ferret
2009 Sep 25
1
Penalized Logistic Regression - Query
Dear R users,
Is there any package that I could use to perform Penalized Logistic
Regression (i.e. Ridge/Lasso regularization) including also an offset term
in the model (i.e. a variable with a known coefficient of 1 rather than an
estimated coefficient)? I couldn't find any package that would allow using
offset terms.
Any guidance will help.
Many thanks!
Axel.
[[alternative HTML version
2012 Feb 13
2
best subset selection on random effects model
Hi,
I know leaps() computes the best subset selection for linear model,
and the bestglm() computes the best subset selection for generalized linear
model.
Is there any package for best subset selection on random effects model, or
mixed effects model?
Thank you so much.
Tao
[[alternative HTML version deleted]]
2009 Dec 07
1
Multiple regression script
Hi all,
I'm doing Multiple linear regression for a data set. However, it takes a lot of time, as I would like to check every possible combination of factors, evalute the results based for instance on their p values, and then choose the best regression model.
So, I wonder if anyone might have a script for that? Or if not, do you have some suggestions how to create such a script?
I've
2007 Sep 07
2
Automatic detachment of dependent packages
Dear All,
When one loads certain packages, some other dependent packages are
loaded as well. Is there some way of detaching them automatically when
one detaches the first package loaded? For instance,
> library(sqldf)
Loading required package: RSQLite
Loading required package: DBI
Loading required package: gsubfn
Loading required package: proto
but
> detach(package:sqldf)
>
>
2024 Nov 03
2
RStudio crashes with segmentation fault on F41
Thanks, I?aki, for your answer. Yes, I do have a GPU:
NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.35.03
And no progress:
$ rstudio GSK_RENDERER=ngl
[18088:1103/205442.538796:ERROR:gl_factory.cc(120)] Requested GL
implementation (gl=none,angle=none) not found in allowed
implementations:
[(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
2005 Mar 02
2
subset selection for logistic regression
R-packages leaps and subselect implement various methods of selecting best or
good subsets of predictor variables for linear regression models, but they do
not seem to be applicable to logistic regression models.
Does anyone know of software for finding good subsets of predictor variables for
linear regression models?
Thanks.
-Ben
p.s., The leaps package references "Subset Selection
2008 Sep 27
10
FW: logistic regression
Sorry.
Let me try again then.
I am trying to find "significant" predictors" from a list of about 44
independent variables. So I started with all 44 variables and ran
drop1(sep22lr, test="Chisq")... and then dropped the highest p value from
the run. Then I reran the drop1.
Model:
MIN_Mstocked ~ ORG_CODE + BECLBL08 + PEM_SScat + SOIL_MST_1 +
SOIL_NUTR + cE + cN +
2006 Aug 03
3
Looking for transformation to overcome heterogeneity of variances
Dear All
My data consists in 96 groups, each one with 10 observations. Levene's
test suggests that the variances are not equal, and therefore I have
tried to apply the classical transformations to have homocedasticity
in order to be able to use ANOVA. Unfortunately, no transformation
that I have used transforms my data into data with homocedasticity.
The histogram of variances is at
2024 Nov 03
1
RStudio crashes with segmentation fault on F41
It is unlikely to be a packaging issue. I suggest you open a bug report
here: https://github.com/rstudio/rstudio/issues.
I?aki
On Sun, 3 Nov 2024 at 22:04, Paul Smith <phhs80 at gmail.com> wrote:
> Thanks, but unfortunately no progress:
>
> $ GSK_RENDERER=ngl rstudio
>
> [19496:1103/210330.025303:ERROR:gl_factory.cc(120)] Requested GL
> implementation
2012 Jun 04
3
regression methods for rare events?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120604/b313c7fa/attachment.pl>
2024 Nov 03
1
RStudio crashes with segmentation fault on F41
Thanks, but unfortunately no progress:
$ GSK_RENDERER=ngl rstudio
[19496:1103/210330.025303:ERROR:gl_factory.cc(120)] Requested GL
implementation (gl=none,angle=none) not found in allowed
implementations:
[(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[19496:1103/210330.028349:ERROR:viz_main_impl.cc(198)] Exiting GPU
process due to errors during initialization
Segmentation fault (core
2024 Nov 03
1
RStudio crashes with segmentation fault on F41
BTW, meanwhile, you can install rstudio-server and use RStudio in your
browser at http://localhost:8787
I?aki
On Sun, 3 Nov 2024 at 22:10, I?aki Ucar <iucar at fedoraproject.org> wrote:
> It is unlikely to be a packaging issue. I suggest you open a bug report
> here: https://github.com/rstudio/rstudio/issues.
>
> I?aki
>
> On Sun, 3 Nov 2024 at 22:04, Paul Smith
2007 Sep 07
3
Delete query in sqldf?
Dear All,
Is sqldf equipped with delete queries? I have tried delete queries but
with no success.
Thanks in advance,
Paul