Displaying 11 results from an estimated 11 matches for "gallup".
Did you mean:
gallus
2025 Mar 29
3
Setting up hypothesis tests with the infer library?
...e of the first steps in solving a hypothesis test with infer is to
set up the initial sampling dataset. Often, in Lock5 problems, this is
a dataset that can be downloaded with library(Lock5Data). However,
other problems are worded like this:
===========================
In 1980 and again in 2010, a Gallup poll asked a random sample of 1000
US citizens ?Are you in favor of the death penalty for a person
convicted of murder?? In 1980, the proportion saying yes was 0.66. In
2010, it was 0.64. Does this data provide evidence that the proportion
of US citizens favoring the death penalty was higher in 198...
2025 Mar 29
2
Setting up hypothesis tests with the infer library?
...; > set up the initial sampling dataset. Often, in Lock5 problems, this
> > is
> > a dataset that can be downloaded with library(Lock5Data). However,
> > other problems are worded like this:
> >
> > ===========================
> > In 1980 and again in 2010, a Gallup poll asked a random sample of
> > 1000
> > US citizens ?Are you in favor of the death penalty for a person
> > convicted of murder?? In 1980, the proportion saying yes was 0.66.
> > In
> > 2010, it was 0.64. Does this data provide evidence that the
> > proportion...
2025 Mar 29
2
Setting up hypothesis tests with the infer library?
...e of the first steps in solving a hypothesis test with infer is to set up the initial sampling dataset. Often, in Lock5 problems, this is a dataset that can be downloaded with library(Lock5Data). However, other problems are worded like this:
===========================
In 1980 and again in 2010, a Gallup poll asked a random sample of 1000 US citizens "Are you in favor of the death penalty for a person convicted of murder?" In 1980, the proportion saying yes was 0.66. In 2010, it was 0.64. Does this data provide evidence that the proportion of US citizens favoring the death penalty was hig...
2001 Aug 16
1
Pie Chart
I've just started using R and I would like to know how to do a pie
chart; The "pie" comand does not exist in the R I am using, why?
Thanks,
Marcos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010816/b44c5388/attachment.html
2001 Sep 11
1
String variables in GLM
Hello!
I have a dataset with variables in string format (ages class and sex) which
I want to recode as numerical variables. How can I accomplish this? Is
there any way to do that automatically? Could someone help me?
Thanks in advance,
Marcos
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2001 Sep 20
1
How to get residuals with arima0? [fwd]
[accidentally sent to owner-r-help -- please do NOT!
it's "r-help" !]
------- start of forwarded message -------
From: Marcos_Sanches at gallup.com
To: owner-r-help at stat.math.ethz.ch
Subject: How to get residuasl with arima0?
Date: Wed, 19 Sep 2001 15:19:07 -0300
I know this is a basic question, but I've never used the 'ts' package and
I'm having some problem with it. If I type, for example:
>fit1<-arima0(x , ....
2002 Mar 11
1
Spectral decomposition
Hello all,
I have the square symetric matrix A:
2 1 1
1 2 1
1 1 2
My first question is what is the easiest way to enter this matriz in R?
Second, matrix A has an eigenvalue with multiplicity 2, in this case, how
could I find the two related ortogonal eigenvectors given below by R,
without the help of R, I mean, I want to know how R calculate this
eigenvectors related to the same eigenvalue.
2000 Aug 29
0
SV: short way
This should do what you want:
# construct a data.frame d
L3 <- LETTERS[1:3]
str(d <- data.frame(cbind(x=1, y=1:10), ch=sample(L3, 10, repl=TRUE)))
d
# replace y-value in d, where y=5
d$y[d$y==5] <- 100
d
Regin
-----Oprindelig meddelelse-----
Fra: Pesl Thomas [mailto:thomas.pesl at arcs.ac.at]
Sendt: 29. august 2000 14:02
Til: R-Help (E-Mail)
Emne: [R] short way
i want to replace
2003 Nov 17
1
Generalized linear model
Hi all!
I am fitting a Poisson model, using the following command:
> fit2<-glm(canc~id1+year1+time+lnpa,family=poisson)
where 'id1', 'year1' and 'time' are factors. I defined them with:
> id1<-C(factor(id1), treatment)
and 'lnpa' is a continuous variable.
The 'summary' function gives me all the effects estimates, that is, for id1,
I
2002 May 02
3
Surface Graphic
Hello list!
I have a problem with the function 'persp'. I have a data set with the
variables
X -> The X coordenate of the insect
Y -> The Y coordenate of the insect
deep-> how deep the insect buried into the soil.
I would like to have a plot with a surface simulating the way the insect
buried. Is it possible? If I type
persp(x,y,deep)
R gives me this error message
Error in
2000 Sep 20
1
SV: sample from contingency table
I have had the same problem and I wrote this function
rmulti <- function(n, size, p)
{
NrDim <- length(p)
if(NrDim<2) stop("The simulated variabel has to be at least
2-dimensional")
res <- matrix(data=NA, nrow=n, ncol=NrDim)
p <- p/sum(p)
TempSize <- size
for(i in 1:NrDim)
{
TempP <- p[i]/sum(p[i:NrDim])
TempBin <- rbinom(n=n, size=TempSize,