Displaying 20 results from an estimated 700 matches similar to: "Storing the linear model object"
2011 Nov 29
2
Parameters setting in functions optimization
Good afternoon everybody,
I'm quite new in functions optimization on R and, whereas I've read
lot's of function descriptions, I'm not sure of the correct settings for
function like "optimx" and "nlminb".
I'd like to minimize my parameters and the loglikelihood result of the
function.
My parameters are a mean distance of dispersion and a proportion of
2010 Sep 22
1
Newey West and Singular Matrix
dear R experts: ?I am writing my own little newey-west standard error
function, with heteroskedasticity and arbitrary x period
autocorrelation corrections. ?including my function in this post here
may help others searching for something similar. it is working quite
well, except on occasion, it complains that
Error in solve.default(crossprod(x.na.omitted, x.na.omitted)) :
system is
2010 Sep 23
1
Newey West and Singular Matrix + library(sandwich)
thank you, achim. I will try chol2inv.
sandwich is a very nice package, but let me make some short
suggestions. I am not a good econometrician, so I do not know what
prewhitening is, and the vignette did not explain it. "?coeftest" did
not work after I loaded the library. automatic bandwidth selection
can be a good thing, but is not always.
as to my own little function, I like the
2011 Oct 21
1
R square and F - stats in PLS
In the lm function the summary(lmobject) we have adjusted.r square and f
statistics
Do we have similar to the pls package and how to get it
--
View this message in context: http://r.789695.n4.nabble.com/R-square-and-F-stats-in-PLS-tp3924484p3924484.html
Sent from the R help mailing list archive at Nabble.com.
2006 Dec 17
2
X11 fonts and Ubuntu
Hi,
I am moving from Windows XP to Ubuntu 6.10 and installed R 2.4.0. When I
run eg plot.lm (things work fine with plot.default - eg
plot(rnorm(30),rnorm(30)))
plot(lmobject)
I can get the first plot and then this message:
Hit <Return> to see next plot:
Error in text.default(x, y, labels.id[ind],cex=cex, xpd=TRUE, :
could not find any X11 fonts
Check that the Font Path is correct
2005 Nov 21
1
Problem in compilation from source in./configure R.2.2
Hello useRs!
I'm REALLY having trouble with readline when compiling R. 2.2 from source during ./configure.
Here are the last lines of the configure log:
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking
2009 Apr 29
1
Dynamic visualisation of R data using Adobe FLEX
Hi useRs,
I had posted about Adobe FLEX talking to R for rich visualisation.
Reply from Jeffery Horner contained links to the
revolution-computing.com webpage which had information pertaining to
the Bay Users R group Meetup on Web Dashboards with R.
I have a very specific project that I need to implement.
I wish to use the graphics capabilities provided by Adobe FLEX to
visualise outputs from R.
2013 Jun 04
1
High volume plot using log(local density)
Hi,
I am using the densCols to draw a high volume scatter plot. Instead of
using the default local density, I would like to take log of the local
density and then map them to the colors. I could not figure out how to do
that.
For example:
plot(x,y,col=densCols(x,y,"log")) ?
Any help would be appreciated!
Jiaxiu
[[alternative HTML version deleted]]
2016 Dec 02
2
pdftools on Ubuntu
Hi,
I am trying to install pdftools package on R 3.3.1 (Ubuntu 16.04), but the
following issue occurs:
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because poppler-cpp was not found. Try installing:
* deb: libpoppler-cpp-dev (Debian, Ubuntu, etc)
* rpm: poppler-cpp-devel (Fedora, CentOS, RHEL)
* csw: poppler_dev (Solaris)
* brew: poppler (Mac OSX)
2004 Nov 20
3
How to change the significant codes default?
Dear R experts,
I am posting this question on behalf of a Japanese R user
who wants to know how to change the siginificant codes default.
As you know, R's default significant codes are:
Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1
But he says that it is usual in economics to give codes such as
`***' for 0.01, `**' for 0.05 and `*' for
2000 Nov 29
0
Re: [R] Step function (PR#753)
On Wed, 29 Nov 2000, Matt Pocernich wrote:
> I am having problem using the step function for a linear regression model. I've created an initial model containing only the intercept. Then using the step function, I've selected three variables to be considered for the model.
>
>
> > x0.lm<- lm(MEDV~1, data = x)
> >
> > anova(x0.lm)
> Analysis of
2000 Dec 05
0
Re: [R] Step function (PR#760)
On Wed, 29 Nov 2000, Matt Pocernich wrote:
> I am having problem using the step function for a linear regression model. I've created an initial model containing only the intercept. Then using the step function, I've selected three variables to be considered for the model.
>
>
> > x0.lm<- lm(MEDV~1, data = x)
> >
> > anova(x0.lm)
> Analysis of
2004 Nov 04
2
Plotting a linear model object with R 2.0 for Mac OS X
I'm using R for Mac OS X Aqua GUI version 2.0
When using plot() with a linear model object, the plot of the LSR line does not
appear. I get the residual plots, the Normal Q-Q plots and Cook's Differnce
plot, just not the first plot with the fitted line. I just get an empty Quartz
window, with no graph displayed. I've even tried to use plot.lm() and plotting
a glm object, but I get the
2007 Oct 11
2
how to get the sample size in lm
Hi All,
How do I get the sample size in lm? I know it is not reported by "summary".
Thanks.
jiong
The email message (and any attachments) is for the sole...{{dropped:11}}
2016 Dec 02
1
pdftools on Ubuntu
Hi Francois,
Thanks for your quick response.
Actually, I had already done that...
sudo apt-get install libpoppler-cpp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpoppler-cpp-dev is already the newest version (0.41.0-0ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 107 not upgraded.
Therefore, I assume I have this installed.
Best
2000 Nov 29
1
Step function
I am having problem using the step function for a linear regression model. I've created an initial model containing only the intercept. Then using the step function, I've selected three variables to be considered for the model.
> x0.lm<- lm(MEDV~1, data = x)
>
> anova(x0.lm)
Analysis of Variance Table
Response: MEDV
Df Sum Sq Mean Sq F value Pr(>F)
2012 Mar 03
1
Problem running stepAIC within a function.
Hi
I need to a function that automatically fits a regression to data, using the
stepAIC. I've ran the code manually and it works fine. However, when I run
the function on the same data, the following error occurs:
Problem in regimp(fullsim = simt, fullsim1 = simt1,..: Length of (weights)
(variable 4) is 4271 != length of others (4278)
I got the function to output the length of the dataset
2003 Sep 12
2
partial mantel
Dear all,
Has anyone written R code for partial Mantel Tests- as described for
instance in Legtendre & Legendre (1998) ?
In other words, in a community ecology analysis, I would like to calculate
the correlation between two dissimilarity matrices, controlling for a third
distance matrix representing geographical distances between sites.
Thanks!
Christophe Bouget
Biodiversité et gestion des
2007 Jun 29
4
Retrive data from repartitioned / reformatted hard drive?
Hi,
The title says it all. One of my clients showed me a 120 GB hard drive
that his daughter accidentally formatted, according to him. I booted the
first CD I had at hand - a Slackware 11.0 install CD - and launched
cdfdisk /dev/hda. cfdisk informed me that there was even no partition
table. So much for reformatting. cfdisk only shows me 120 GB of free space.
Any way to retrive data on this
2006 Aug 30
8
converting decimal - hexadecimal
Hi,
do you know, a method to convert an decimal value (integer) to the
corresponding hexadecimal value ?
thinks for help.
Romain
--
Lorrilli?re Romain
UMR 8079 Laboratoire Ecologie, Syst?matique et Evolution
B?t. 362
Universit? Paris-Sud
91405 Orsay cedex
France
tel : 01 69 15 56 85
fax : 01 69 15 56 96
mobile : 06 81 70 90 70
email : romain.lorrilliere at ese.u-psud.fr