Displaying 20 results from an estimated 24 matches for "whiteside".
Did you mean:
whitemice
2007 Dec 12
3
lm/model.matrix confusion (? bug)
Dear List-members,
Hopefully someone will help through my confusion:
In order to get the same coefficients as we get from the following
##
require (MASS)
summary ( lm(Gas ~ Insul/Temp - 1, data = whiteside) )
......................
we need to do the following (if we use model.matrix to specify the model)
##
summary ( lm(Gas ~ model.matrix(~ Insul/Temp - 1) - 1, data = whiteside) )
......................
That is, we need to take out "two intercepts." Is this "correct"?
Shoul...
2008 Feb 15
1
Re storing a UPDATES on a data.frame
Hello everyone,
Can anyone tell me how do I restore data in a data.frame provided by base
R libraries (MASS) ?
I uninstalled R then installed it again and I still see the new changes I
made!!!???
(eg. whiteside$Temp=1 ==> 1 overwrote all the rows, I want the old values :(
!!
Please HELP!
--
View this message in context: http://www.nabble.com/Restoring-a-UPDATES-on-a-data.frame-tp15512767p15512767.html
Sent from the R help mailing list archive at Nabble.com.
2018 Dec 15
2
Documentation examples for lm and glm
...es in the global environment and then another example with a
data.frame.
The latter might be somewhat more complex, e.g., with several regressors
and/or mixed categorical and numeric covariates to illustrate how
regression and analysis of (co-)variance can be combined. I like to use
MASS's whiteside data for this:
data("whiteside", package = "MASS")
m1 <- lm(Gas ~ Temp, data = whiteside)
m2 <- lm(Gas ~ Insul + Temp, data = whiteside)
m3 <- lm(Gas ~ Insul * Temp, data = whiteside)
anova(m1, m2, m3)
Moreover, some binary response data.frame with a few covariates mi...
2016 May 02
5
C6 Firefox 45.1 segmentation faults
I think this site is always failing. It has an embedded video.
http://www.sportsnet.ca/basketball/nba/free-association-podcast-much-toronto-raptors-fear-miami-heats-dwayne-wade-hassan-whiteside-joe-johnson/
I tried looking at the output of
strace firefox > fferrors.txt 2>&1
grep ENOENT fferrors.txt
hope that helps
Note: I also have ffmpeg with nux's repo installed
On Mon, May 2, 2016 at 12:44 PM, Nux! <nux at li.nux.ro> wrote:
> This consistently crashes it,...
2002 Jun 19
1
superscripts in xyplot labels
R-helpers;
I tried to get a superscripted 3 in the following xyplot example but failed:
>data(whiteside)
>xyplot(Gas ~ Temp | Insul, whiteside, panel =
function(x, y, ...) {
panel.xyplot(x, y, ...)
panel.lmline(x, y, ...)
}, xlab = "Average external temperature (deg. C)",
ylab = paste(paste("Gas consumption (1000", expression(ft^3),")"), aspect
= "...
2018 Dec 16
3
Documentation examples for lm and glm
...with a
>> data.frame.
>>
>> The latter might be somewhat more complex, e.g., with several regressors
>> and/or mixed categorical and numeric covariates to illustrate how
>> regression and analysis of (co-)variance can be combined. I like to use
>> MASS's whiteside data for this:
>>
>> data("whiteside", package = "MASS")
>> m1 <- lm(Gas ~ Temp, data = whiteside)
>> m2 <- lm(Gas ~ Insul + Temp, data = whiteside)
>> m3 <- lm(Gas ~ Insul * Temp, data = whiteside)
>> anova(m1, m2, m3)
>>
>...
2018 Dec 15
0
Documentation examples for lm and glm
...ment and then another
>example with a data.frame.
>
>The latter might be somewhat more complex, e.g., with several
>regressors and/or mixed categorical and numeric covariates to
>illustrate how regression and analysis of (co-)variance can be
>combined. I like to use MASS's whiteside data for this:
>
>data("whiteside", package = "MASS")
>m1 <- lm(Gas ~ Temp, data = whiteside)
>m2 <- lm(Gas ~ Insul + Temp, data = whiteside)
>m3 <- lm(Gas ~ Insul * Temp, data = whiteside)
>anova(m1, m2, m3)
>
>Moreover, some binary response dat...
2008 Mar 05
1
testing for significantly different slopes
Hi,
How would one go about determining if the slope terms from an analysis of
covariance model are different from eachother?
Based on the example from MASS:
library(MASS)
# parallel slope model
l.para <- lm(Temp ~ Gas + Insul, data=whiteside)
# multiple slope model
l.mult <- lm(Temp ~ Insul/Gas -1, data=whiteside)
# compare nested models:
anova(l.para, l.mult)
Analysis of Variance Table
Model 1: Temp ~ Gas + Insul
Model 2: Temp ~ Insul/Gas - 1
Res.Df RSS Df Sum of Sq F Pr(>F)
1 53 52.045...
2018 Dec 17
0
Documentation examples for lm and glm
...ta.frame.
>>>
>>> The latter might be somewhat more complex, e.g., with several
>>> regressors and/or mixed categorical and numeric covariates to
>>> illustrate how regression and analysis of (co-)variance can be
>>> combined. I like to use MASS's whiteside data for this:
>>>
>>> data("whiteside", package = "MASS")
>>> m1 <- lm(Gas ~ Temp, data = whiteside)
>>> m2 <- lm(Gas ~ Insul + Temp, data = whiteside)
>>> m3 <- lm(Gas ~ Insul * Temp, data = whiteside)
>>> anova(m1...
2008 Feb 23
3
using subset() in data frame
R folks,
As an R novice, I struggle with the mystery of subsetting. Textbook and
online examples of this seem quite straightforward yet I cannot get my
mind around it. For practice, I'm using the code in MASS Ch. 6,
"whiteside data" to analyze a different data set with similar variables
and structure.
Here is my data frame:
###subset one of three cases for the variable 'position'
>data.b<-data.a[data.a$position=="inrow",]
> print(data.b)
position porosity x y
1 inro...
2010 Feb 08
3
What is the equivalent function in R to xyplot in S?
Page 140 of MASS uses the function xyplot. But I don't find it in R.
Is there a package that I should load to use xyplot. Or there is a
function with a different name in R that does the same thing as xyplot
in S.
xyplot(Gas ~ Temp | Insul, whiteside, panel =
function(x, y, ...) {
panel.xyplot(x, y, ...)
panel.lmline(x, y, ...)
}, xlab = "Average external temperature (deg. C)",
ylab = "Gas consumption (1000 cubic feet)", aspect = "xy",
strip = function(...) strip.default(..., style = 1))
2003 Sep 24
1
Graph window is not available any more
Hi all,
I have currently been using the book Modern Applied Statistics with S from
Venables and Ripley. At chapter 6 on Linear Statistical models I wanted to
produce the plot as shown by "Figure 6.1" using Whiteside's data. xyplot
command seems not to work on my version of "R"(version 1.7.0) running on
different environments (Win XP, Win 98 and Win 2000). I then used the
scripts for "R" provided with the package MASS pasting the following lines
into the R console:
library(MASS)
library...
2000 Aug 01
1
Testing for parallel slopes
...o so, looking at interaction between the
covariate and the factor to make this determination.
VR3 pp.149 - 154 has a very nice example of an ANOCOVA, ending with a
discussion of this very operation.
My question has to do with the issue of parametrization. When I use the
example data set "whiteside", I get the same results that VR get (see p.
154) except I'm getting them *without* reparametrizing the model. (In fact,
I get the same answers with the default parametrization and the
alternative). Since I'm only interested in the interaction term, is it
even necessary to change...
2000 Sep 26
3
lm -- significance of x coefficient when I(x^2) is used
In "Modern Applied Statistics with S-Plus" 3rd ed., footnote on page 153
regarding a model lm(Gas~Insul/(Temp+I(Temp^2))-1,whiteside), I read
"Notice that when the quadratic terms are present, first degree
coefficients mean 'the slope of the curve at temperature zero', so a
non-significant value does not mean that the linear term is not
needed. Removing the non-significant linear term for the...
2001 Jan 04
6
regression constraints?
gday R gurus,
I have a multivariate regression for which I want to constrain the
coefficients to be > 0. Is this possible?
I've check the doco and searched CRAN but can't find anything.
thanks,
John Strumila
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2009 Mar 22
3
data analysis. R
so i am having this question
what should i do if the give data file (.txt) has 4 columns, but different
lengths?
how can i read them in R?
any idea for the following problem?
Gas consumption (1000 cubic feet) was measured before and after insulation
was put into
a house. We are interested in looking at the effect of insulation on gas
consumption. The
average outside temperature (degrees celcius)
2019 Oct 18
3
32 bit support
Hi good people,
I've got a bit of a weird issue. I'm using QEMU emulator version
2.11.1(Debian 1:2.11+dfsg-1ubuntu7.19) And after some considerable time of
not using it for 32bit installations I now find that it can no longer
install some older 32 bit installations (e.g.
https://phillw.net/isos/lubuntu/natty/ ) The CPU goes to 100% and then
after a while it just stops (I'm using
2018 Dec 14
7
Documentation examples for lm and glm
FWIW, before all the examples are changed to data frame variants, I think there's fairly good reason to have at least _one_ example that does _not_ place variables in a data frame.
The data argument in lm() is optional. And there is more than one way to manage data in a project. I personally don't much like lots of stray variables lurking about, but if those are the only variables out
2019 Oct 22
0
Re: 32 bit support
On Fri, Oct 18, 2019 at 09:39:40PM +0100, Phill. Whiteside wrote:
> Hi good people,
>
> I've got a bit of a weird issue. I'm using QEMU emulator version
> 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.19) And after some considerable time of
> not using it for 32bit installations I now find that it can no longer
> install some older 32 bit i...
2016 May 02
0
C6 Firefox 45.1 segmentation faults
On 5/2/2016 1:13 PM, Robert Arkiletian wrote:
> I think this site is always failing. It has an embedded video.
>
> http://www.sportsnet.ca/basketball/nba/free-association-podcast-much-toronto-raptors-fear-miami-heats-dwayne-wade-hassan-whiteside-joe-johnson/
that embedded video is Flash.
--
john r pierce, recycling bits in santa cruz