Displaying 20 results from an estimated 1100 matches similar to: "Johnson-Neyman-procedure in R"
2006 Mar 17
1
Neyman-Scott cluster process
Hi there,
I want to generate a random point pattern using the Neyman-Scott
cluster process using spatstat package in R. After running the
following procedures, why i can not see any figures?
> nclust <- function(x0, y0, radius, n) {return(runifdisc(n, radius, x0, y0))}
> nclust
function(x0, y0, radius, n) {return(runifdisc(n, radius, x0, y0))}
> X <- rNeymanScott(10, 0.2, nclust,
2010 Sep 13
2
Homogeneity of regression slopes
Hello,
We've got a dataset with several variables, one of which we're using
to split the data into 3 smaller subsets. (as the variable takes 1 of
3 possible values).
There are several more variables too, many of which we're using to fit
regression models using lm. So I have 3 models fitted (one for each
subset of course), each having slope estimates for the predictor
variables.
2008 Feb 28
0
surv2sample 0.1-2
Dear useRs,
There is a new version 0.1-2 of the package surv2sample available on CRAN.
Users of the previous versions should update because a bug in the function
cif2.ks has been fixed.
General information about the package:
surv2sample provides various two-sample tests for right-censored survival
data. Three main areas and corresponding methods are:
* comparison of two survival
2008 Feb 28
0
surv2sample 0.1-2
Dear useRs,
There is a new version 0.1-2 of the package surv2sample available on CRAN.
Users of the previous versions should update because a bug in the function
cif2.ks has been fixed.
General information about the package:
surv2sample provides various two-sample tests for right-censored survival
data. Three main areas and corresponding methods are:
* comparison of two survival
2005 Sep 06
0
model selection vs. H0 based testing
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Thomas Petzoldt
> Sent: 06 September 2005 06:34
> Cc: petzoldt at rcs.urz.tu-dresden.de; R-Help
> Subject: Re: [R] model selection vs. H0 based testing
>
>
> Hello,
>
> I wish to thank Douglas Bates very much for clarification and
2002 Jan 24
1
Simulation of a particular type of population
Does anyone have any R code or suggestions on how to generate a population
that follows a Neyman-Scott process? More specifically, I'd like to
randomly generate both the parents and the children from Poisson
distributions and the children locations from a bivariate normal onto an
N by N grid. If the locations spill over outside the grid, then I'd like
to reflect those locations back into
2006 Oct 04
0
new package proptest
Dear R users,
The package proptest (http://www.davidkraus.net/proptest/) has been
recently released to CRAN.
The package provides functions for testing the proportional hazards
assumption in the Cox model for right censored survival data. Two types of
tests for identifying nonproportional covariates are implemented:
* data-driven Neyman type smooth tests (using both nested and all-subsets
2012 Jan 11
2
problems with glht for ancova
I've run an ancova, edadysexo is a factor with 3 levels,and log(lcc) is the
covariate (continous variable)
I get this results
> ancova<-aov(log(peso)~edadysexo*log(lcc))
> summary(ancova)
Df Sum Sq Mean Sq F value Pr(>F)
edadysexo 2 31.859 15.9294 803.9843 <2e-16 ***
log(lcc) 1 11.389 11.3887 574.8081 <2e-16 ***
2007 Mar 29
1
[HH] extending ancova function for 2 factors
Hi,
what would be a good way of enhancing the ancova function from the HH
package when using a 2 factor ANCOVA?
The current behaviour for the "ancova" function from package HH is:
----------------------------------------------
| P1 || P1 || P3 || P4 | | PS | <- the lattice strip
----------------------------------------------
| x|| x ||x ||x | |
2012 Jul 04
2
Difference between two-way ANOVA and (two-way) ANCOVA
Hi!
as my subject says I am struggling with the different of a two-way ANOVA and
a (two-way) ANCOVA.
I found the following examples from this webpage:
http://www.statmethods.net/stats/anova.html
# One Way Anova (Completely Randomized Design)
fit <- aov(y ~ A, data=mydataframe)
# Randomized Block Design (B is the blocking factor)
fit <- aov(y ~ A + B, data=mydataframe)
# Two Way
2006 Jun 02
1
ANCOVA in S-plus/R?
Dear R user:
I have a question about doing ANCOVA in S-plus or R.
I know that many users use lm to do the regression and check the ANCOVA. But is there a way to get the traditional Table form of the ANCOVA test through S-plus (like what we would get from SPSS or SAS)?
The problem I’m interested in is whether or not there is a treatment effect on some medical measurement. I will
2007 Oct 07
1
Question about aov
Hello R gurus,
I am a beginner with R. I am doing an ANCOVA analysis using 'aov,' and need some help understanding how 'aov' works. I have a dataset (taken from http://faculty.vassar.edu/lowry/ch17pt2.html) looking at hypnotic induction. The variable 'X' is a measure of how susceptible the subject is to being hypnotized, the variable 'Y' is how well the
2008 Jun 02
1
Ancova: formula with a common intercept
I have some data with two categorises plus/minus (p53) and a particular
time (Time) and the outcome is a continuous vairable (Result). I set up
a maximum model.
ancova <- lm(Result~Time*p53)
> summary(ancova)
..
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.05919 0.55646 0.106 0.916
Time -0.02134 0.01785 -1.195 0.241
p53plus
2000 Feb 09
0
Comparing Type 2 regressions
> Date: Wed, 09 Feb 2000 10:11:20 -0500
> From: "Pete St. Onge" <pete at seul.org>
> Subject: Comparing Type 2 regressions Was: [R] Ancova in R?
>
> For starters, thanks to everyone who responsded to my previous request for
> help about Type 2 regression.
>
> > > I see the R-sm has the ancova thing happening, but I kind of doubt that
> > >
2013 Sep 20
0
Best way to specify a mixed ANCOVA in R?
I initially posted this question to one of the StackExchange sites, and they suggested that I repost my problem here.
After using ezANOVA as my primary way of specifying mixed ANOVAs, I've hit a stumbling block when it come to adding a covariate to the model. I am using an ANCOVA in order to determine if there is a developmental trajectory in my data; namely, I need to be able to see the
2012 Apr 29
1
Error in if (nuhat < 2) stop("The degrees of freedom must be greater than or equal to 2") : missing value where TRUE/FALSE needed
Hi,
i am trying to run an ANCOVA and a bootstrapped ANCOVA analysis on a specific data set. I am using the ancova and ancboot functions as in the following code:
setwd("C:/Users/User/Desktop/Rdatabilingualstudy2012")
bilingualismdata<-read.spss("bilingualdataforconferences2012.sav", use.value.labels = TRUE, to.data.frame = TRUE)
2012 Dec 03
0
Nested ANCOVA question
Hello R experts,
I have having a difficult time figuring out how to perform and interpret an ANCOVA of my nested experimental data and would love any suggestions that you might have.
Here is the deal:
1) I have twelve tanks of fish (1-12), each with a bunch of fish in them
2) I have three treatments (1-3); 4 tanks per treatment. (each tank only has one treatment applied to it)
3) I sampled
2011 Oct 07
1
ANOVA/ANCOVA Repeated Measure Mixed Model
Hello,
I am trying to test some results I have for significance. It has been
recommended that I use R and I am completely new to this.
Set-up:
Groups: two groups of 8 subjects (16 total)
Two conditions: alert and passive
Measurements: responses for three different stimuli (A, B, and C)
measured in each condition
Experiment: Testing the order of conditions
Group one: Alert A, B
2012 Feb 12
2
ANCOVA post-hoc test
Could you please help me on the following ANCOVA issue?
This is a part of my dataset:
sampling dist h
1 wi 200 0.8687212
2 wi 200 0.8812909
3 wi 200 0.8267464
4 wi 0 0.8554508
5 wi 0 0.9506721
6 wi 0 0.8112781
7 wi 400 0.8687212
8 wi 400 0.8414646
9 wi 400 0.7601675
10 wi 900 0.6577048
11 wi 900
2010 Nov 22
1
sm.ancova graphic
Hi R-Users,
I am working with sm.ancova (in the package sm) and I have two problems with the graph, which is automatically generated when sm.ancova() is run.
1-Besides of the fitted lines, the observed data appeared automatically in the graph. I prefer that only fitted lines appear. I check the sm.options, but I could not find the way that the observed data do not appear in the graph.
2-I