Displaying 20 results from an estimated 5000 matches similar to: "All possible linear models given multiple explaining variables"
2008 Jul 07
2
Running "all possible subsets" of a GLM (binomial) model
I have spent a fair amount of time looking for a package that is automated
to run glm (binomial) regression models with all possible subsets of my
independent variables. Something akin to Lumley's "leaps" package, but can
be applied to glms, not just lms; or something similar to Stata's brute
force "tryem" function? If anyone can point me in the right direction I
2010 Mar 01
2
Simple Linear Autoregressive Model with R Language
Hello -
I need to do simple linear autoregressive model with R software for my
thesis. I looked into all your documentation and I am not able to find
anything too helpful. Can someone help me with the codes?
Thanks
Emil
[[alternative HTML version deleted]]
2010 Mar 15
1
Windows Vista and option in smb.conf
Hello,
I have a difficulty with the option 'hide unreadable' in the smb.conf
regarding to it's effect on my Vista machines.
In the smb.conf I have declared the following share:
[userdata]
path = /data/userdata
admin users = domain+adminuser
browseable = yes
writeable = yes
hide unreadable = yes
csc policy = disable
The
2007 Mar 26
5
Developer work cycle
Hi! I've been browsing through the last months' archive and I can't
find an answer to my question, so here it is (let's hope it's not too
obvious):
I'm working on extensions of an R library, and I would be very
surprised if everyone developing R packages is doing the following, as I do:
1.- Write down a modification of an R file
2.- Exit the current R
2010 Aug 17
3
Automated plot and linear regression line/data
Hi,
I have an excel sheet (already imported to R) with multiple columns and I am
looking for a way in R that will allow me to generate a plot for every
possible pair and its linear regression line/data.
Any tip/idea/script how do to so.
Thanks,
As hz
--
View this message in context: http://r.789695.n4.nabble.com/Automated-plot-and-linear-regression-line-data-tp2328027p2328027.html
Sent from
2010 Jun 16
4
an alternative to R for nonlinear stat models
Hi
I implemented the age-structure model in Gove et al (2002) in R, which is a
nonlinear statistical model. However running the model in R was very slow.
So Dave Fournier suggested to use the AD Model Builder Software package and
helped me implement the model there.
ADMB was incredibly fast in running the model:
While running the model in R took 5-10 minutes, depending on the
2010 Feb 10
2
Total least squares linear regression
Dear all,
After a thorough research, I still find myself unable to find a function
that does linear regression of 2 vectors of data using the "total least
squares", also called "orthogonal regression" (see :
http://en.wikipedia.org/wiki/Total_least_squares) instead of the
"ordinary least squares" method. Indeed, the "lm" function has a
2009 May 26
4
moving from Windows to Linux - need help
hi
I've used R for many years on windows machines, but
have now acquired an Asus eee 1000 linux machine.
In order to get the best out of the machine, I used the
'pimpmyeee.sh' script, to get the full KDE desktop.
The version of Linux is Xandros, which I believe is
a close relative of Debian, but sadly I have only a
nodding acquaintance with Linux at present.
Naturally I want to
2009 Jul 30
1
creating subsets within lm()
Dear All,
the lm() function has the possibility to create a subset of the
possible explaining variables that you have. However, in the help
there is no example how to use this subset option. I tried the
following:
model<-lm(dependent.data$MPFD~.,data=explaining.data,subset=c(1,0,0,0,0,0,0,0,1,1,0,0))
MPFD is the dependent variable stored in the data frame
dependent.data, and all 12
2009 Aug 08
1
linear model: Test difference between coefficients and given values (t.test?)
Hi there,
I've got a question which is really trivial for sure but still I have
to ask as I'm not
making any progress solving it by myself (please be patient with an
undergraduate
student):
I've got a linear model (lm and lmer fitted with method="ML").
Now I want to compare the coefficients (slope, intercept, not the
random effects)
of both models with a given value (e.g.
2007 Feb 27
4
fitting of all possible models
Hi,
Fitting all possible models (GLM) with 10 predictors will result in loads of (2^10 - 1) models. I want to do that in order to get the importance of variables (having an unbalanced variable design) by summing the up the AIC-weights of models including the same variable, for every variable separately. It's time consuming and annoying to define all possible models by hand.
Is there a
2009 Aug 28
1
breaking multi-modal histograms down into combinations of unimodal distributions
Dear All,
Does anybody know if there is a functionality in R to break histograms
that show a clear bi-modal (or multi-modal) distribution into a series
of unimodal histograms that added up result in the original histogram?
I was thinking of using QQ-plots (for which tools are available in R),
and then observing the number of times the observed quantiles cross
the 1:1 line, but this only gives an
2010 Mar 02
4
two questions for R beginner
>>> What were your biggest misconceptions or
>>> stumbling blocks to getting up and running
>>> with R?
Easy. I terms of materials I have been unable to find good books that
introduce users to R from the perspective of someone familiar only
with packages like SPSS or STATA, or not familiar with statistics
packages at all. Even introduction texts use jargon
2009 Apr 02
1
Sweave, using xtable in a loop doesnt work?
I have a data.frame, data, with 30 factor variables. I would like to tabulate the frequencies of each variable and output to a tex file using Sweave. Here is my code chunk:
<<label=tab, echo=FALSE, results=tex>>=
library(xtable)
for(j in 1:30){
cap <- paste("Frequency counts for Q",j,".", sep="")
xtable(t(table(data[,j])),caption=cap)
}
@
2009 Jun 11
1
Integrate function in R
Hi!
Can anyone please let me know what numerical integration procedure does the integrate function in package stats follow?
Thank you in advance
Shant
[[alternative HTML version deleted]]
2009 Jul 07
1
Mathematical annotation axis in lattice
Dear list,
making mathematical expressions in plots is not difficult: expression(phi[1]) for example. At this moment I am stuck in creating a vector of expressions:
pos <- 1:10
lab <- letters[pos]
Now, I would like to create a vector of expressions which I could use for labeling the x-axis of a lattice plot.
ll <- as.expression(paste(pos," phi[",lab,"]",sep =
2009 Mar 02
1
barplot with specific order of x axis labels
Hi all,
I'd appreciate your help with this problem.
I need to plot a barplot with the categories in a specific order. My data
might be:
hours Freq
AN 10
MO 14
LU 30
I need the categories to be in the order:
MO LU AN
Is there some way to pass sort the dataset into this order so that it plots
correctly when passed to barplot()?
Thanks very much,
Richie
[[alternative HTML
2009 May 26
1
R-windows unsuccessful
To whom it may concern
We are currently trying to utilize your software on windows. We have downloaded all necessary packages and followed instructions as to how to perform the model. Thus the installation has worked perfectly, however when trying to run the program an error message appears "Converting xls file to csv file... Error in system(cmd, intern = !verbose) : perl not found Error in
2009 Jun 08
1
Good Programming Practice Question - Functions in Different Files
I've gotten to the point wih an R script where I would like to encapsulate several blocks of codes in R functions.
In order to keep the top level script simple I would like to put them in a separate file. This should help the readability of the top level main script.
Is source(...) the best way to load those functions in the top level script?
For example, in the top level script
Line#
01
2009 Jul 23
1
Re ading Image Files
Hello, I'm rather new to R and I want to do some image analysis. Is there a
way to read jpeg files into a matrix like matlab's imread?
--
View this message in context: http://www.nabble.com/Reading-Image-Files-tp24619129p24619129.html
Sent from the R help mailing list archive at Nabble.com.