Displaying 13 results from an estimated 13 matches for "lmobject".
Did you mean:
lgobject
2010 Sep 22
1
Newey West and Singular Matrix
..., and it
seems to invoke dqrls . is this the recommended way, or is there a
higher-level more stable matrix inversion routine that I could use?
help is, as always, appreciated. (also, if you see something else
silly in my code, let me know, please.)
regards,
/iaw
se.neweywest <- function( lmobject.withxtrue, ar.terms =0 ) {
assert( (class(lmobject.withxtrue)=="lm"),
"[se.white] works only on 'lm' objects, not on ",
class(lmobject.withxtrue), "objects \n" )
x.na.omitted <- lmobject.withxtrue$x
assert( class(x.na.omitted)=="matrix&qu...
2010 Sep 23
1
Newey West and Singular Matrix + library(sandwich)
...es automatic bandwidth selection, it does not require setting
> ? "x = TRUE", it incorporates other kernel weighting functions, supports
> ? prewhitening etc.
>
> Best,
> Z
>
>> regards,
>>
>> /iaw
>>
>>
>> se.neweywest <- function( lmobject.withxtrue, ar.terms =0 ) {
>> ?assert( (class(lmobject.withxtrue)=="lm"),
>> ? ? ? ?"[se.white] works only on 'lm' objects, not on ",
>> class(lmobject.withxtrue), "objects \n" )
>> ?x.na.omitted <- lmobject.withxtrue$x
>> ?asse...
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
I have googled through the R-help list and it seems that such troubles
alrea...
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.
2011 Nov 30
1
Storing the linear model object
Hi
Please let me know if we can store the linear model object in the data
base and retrive the object and output from them
Data<- read.csv("C:/FE and RE.csv")
Formula="Y~X2+X3+X4
lmobject = lm(formula=Formula,data=Data)
can i store the lm object in the database and and is it possible to retrive
it and get the summary information
--
View this message in context: http://r.789695.n4.nabble.com/Storing-the-linear-model-object-tp4121944p4121944.html
Sent from the R help mailing list a...
2009 Apr 29
1
Dynamic visualisation of R data using Adobe FLEX
...y requirements.
3) The StatDataML package in R provides the creation of xml files of R
objects. Maybe I can use these XML files as encapsulators of R object
data and pass it on to FLEX.
4) Since R has interfaces that connect to most SQL database servers, I
can convert results of lm objects (summary(lmobject)) to data frames
and push them into the SQL database. FLEX can
then read the table and extract the relevant fields for output.
I am aware that I not a computer programmer which is why I may not be
making a whole lot of sense in describing the above scenarios, but I
am trying to gain as much inform...
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
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}}
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
2000 Nov 29
0
Re: [R] Step function (PR#753)
...ther things) it finds
the wrong thing in environment(add1.lm).
In R1.1.1 I'm not sure what can be done about this -- model.frame.lm
doesn't know where to find `x' and there isn't a general solution. In
R1.2 we have more information and should be able to look in
environment(formula(lmobject)), but we aren't doing that yet.
-thomas
Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send &quo...
2000 Dec 05
0
Re: [R] Step function (PR#760)
...ther things) it finds
the wrong thing in environment(add1.lm).
In R1.1.1 I'm not sure what can be done about this -- model.frame.lm
doesn't know where to find `x' and there isn't a general solution. In
R1.2 we have more information and should be able to look in
environment(formula(lmobject)), but we aren't doing that yet.
-thomas
Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "...
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)
2009 May 05
1
self organizing map advice for categorical data
...ckage in R provides the creation of xml files of R
>> objects. Maybe I can use these XML files as encapsulators of R object
>> data and pass it on to FLEX.
>> 4) Since R has interfaces that connect to most SQL database servers, I
>> can convert results of lm objects (summary(lmobject)) to data frames
>> and push them into the SQL database. FLEX can
>> then read the table and extract the relevant fields for output.
>>
>> I am aware that I not a computer programmer which is why I may not be
>> making a whole lot of sense in describing the above scena...