Displaying 20 results from an estimated 100 matches similar to: "how to read this special form of data"
2002 Aug 22
3
Symbolic differentiation ("D","deriv", etc.) (PR#1928)
Full_Name: Lyle W. Konigsberg
Version: 1.5.1
OS: Windows
Submission from: (NULL) (160.36.64.99)
I apparently found an error in how "deriv" puts a derivative to the screen
(though the internal representation is correct). Here's what I was doing for a
class example:
> lnlk<-expression(15*log(p)+11*log(1-p))
> p<-15/26
> D(D(lnlk,"p"),"p")
-15 *
2007 Apr 16
1
My First Function: cryptic error message
Dear List,
My first R function is a rip-off bagging algorithm from pg. 138 of
Everitt and Hothorn's "Handbook of Statistical Analyses using R"
(HSAUR). I'm using recursive partitioning to develop a set of useful
variables in diagnosing ADHD.
I'm running this in ESS in XEmacs 21.4.19, R 2.4.1 on Slackware Linux
11.0 with a 2.6 kernel.
This is almost an entire script,
2012 Jan 12
2
Function accepted by optim but not mle2 (?)
Dear Sir/ Madam,
I'm having trouble de-bugging the following - which works perfectly
well with optim or optimx - but not with mle2.
I'd be really grateful if someone could show me what is wrong. Many
thanks in advance. JSC:
gompertz<- function (x,t=data)
{
a3<-x[1]
b3<-x[2]
shift<-data[1]
h.t<-a3*exp(b3*(t-shift))
2006 Apr 27
2
Incomplete Trio in TDT analysis
I am involved in a study where, as in most of life, men demonstrate
themselves to be recalcitrant. So while we have many probands and most of
their mothers we only have about 50% of the trios being complete.
I have been running tdt and trio.types. It appears as if it is ignoring the
duos. Sometimes a duo can be informative. For instance
Father ..missing
Mother 1/2
Proband 1/1
This duo shows that
2012 Apr 16
0
Gompertz-Makeham hazard models---test for significant difference
Hi, all.
I'm working with published paleodemographic data (counts of skeletons that
have been assigned into an age-range category, based upon observed
morphological characteristics). For example, the following is the age
distribution from a prehistoric cemetery in Egypt:
naga <-
2008 Mar 19
1
betabinomial model
Hi,
can anyone help me fit betabinomial model to the following dataset where
each iD is a cluster in itself , if i use package aod 's betabinom model it
gives an estimate of zero to phi(the correlation coeficient ) and if i fix
it to the anova type estimate obtained from icc( in package aod) then it
says system is exactly singular. And when i try to fit my loglikelihood by
2017 Nov 05
5
Extreme bunching of random values from runif with Mersenne-Twister seed
On 04/11/2017 10:20 PM, Daniel Nordlund wrote:
> Tirthankar,
>
> "random number generators" do not produce random numbers. Any given
> generator produces a fixed sequence of numbers that appear to meet
> various tests of randomness. By picking a seed you enter that sequence
> in a particular place and subsequent numbers in the sequence appear to
> be unrelated.
2002 Jan 21
2
a Bootstrap understanding problem
I tried to reproduce a result from a former colleague which he got
with S-plus bootstrap method. I don't have S-plus at hand.
In R, there are 2 packages related to bootstrap method, bootstrap and
boot. The former has a function called 'bootstrap' but this does not
seem to conform either to the function used in S-plus nor to that
described in MASS, 3d ed., p.144.
The latter seems to be
2017 Nov 05
0
Extreme bunching of random values from runif with Mersenne-Twister seed
> On 5 Nov 2017, at 15:17 , Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> On 04/11/2017 10:20 PM, Daniel Nordlund wrote:
>> Tirthankar,
>> "random number generators" do not produce random numbers. Any given
>> generator produces a fixed sequence of numbers that appear to meet
>> various tests of randomness. By picking a seed you enter
2009 Nov 01
1
Calculate Volume in a PCA
Hi,
my data frame consist of 8 Variables and 120 000 observations. With those datas I am running a PCA and after I want to calculate the Volume of the PCA-cloud of certain subsets of my data. Does anyone have an idea about a function that can do this?
Thanks
[[alternative HTML version deleted]]
2005 Jul 07
3
What method I should to use for these data?
Dear R user:
I am studying the allele data of two populations.
the following is the data:
a1 a2 a3 a4 a5 a6 a7 a8 a9
a10 a11 a12 a13 a14 a15 a16 a17
pop1 0.0217 0.0000 0.0109 0.0435 0.0435 0.0000 0.0109 0.0543
0.1739 0.0761 0.1413 0.1522 0.1087 0.0870 0.0435 0.0217 0.0109
pop2 0.0213 0.0213 0.0000 0.0000 0.0000 0.0426 0.1702 0.2128
0.1596 0.1809 0.0957 0.0745 0.0106
2008 Nov 19
2
GAMM and anove.lme question
Greetings all
The help file for GAMM in mgcv indicates that the log likelihood for a
GAMM reported using
summary(my.gamm$lme) (as an example) is not correct.
However, in a past R-help post (included below), there is some indication
that the likelihood ratio test in anova.lme(mygamm$lme, mygamm1$lme) is
valid.
How can I tell if anova.lme results are meaningful (are AIC, BIC, and
logLik
2015 Jan 23
0
DMARC Considerations
Maybe this[1] page, option 3.C. That strikes me as attractive, if only
the mailing-list software can easily support it. (Or be hacked to
support it; I'm willing to try.)
Or, the "From" could be the mailing-list, the "Reply-To" could be the
author, then the "CC" could be the mailing-list plus original "CC"
addresses. If someone hits the
2015 Jan 23
1
DMARC test (request)
>I wonder (please forgive my ignorance), whether there would be any
>change/improvement if the "Reply-To:" and "CC:" fields would be
>interchanged (back) from the current behavior (since March 2014 or so,
>http://www.syslinux.org/archives/2014-March/021895.html ). Perhaps
>Hotmail (and family) would accept these (Yahoo-originated) messages
>then?
AFAIK if the
2015 Jan 17
2
DMARC test result (research request)
On Sat, Jan 17, 2015 at 01:20:58PM -0500, Gene Cumm wrote:
> On Sat, Jan 17, 2015 at 12:56 PM, Patrick Masotta wrote:
> > On Sat, 2015-01-17 Geert Stappers wrote:
> > > If 1 person with a yahoo.com e-mail adres does reply on this
> > > message, then we have test result for the setting that was changed
> > > wednesday.
> >
> > test
>
> Patrick,
2006 Apr 06
4
Reshaping genetic data from long to wide
Bottom Line Up Front: How does one reshape genetic data from long to wide?
I currently have a lot of data. About 180 individuals (some
probands/patients, some parents, rare siblings) and SNP data from 6000 loci
on each. The standard formats seem to be something along the lines of Famid,
pid, fatid, motid, affected, sex, locus1Allele1, locus1Allele2,
locus2Allele1, locus2Allele2, etc
In other
2011 Jul 14
1
glm() scale parameters and predicted Values
In glm() you can use the summary() function to recover the shape parameter (the reciprocal of the dispersion parameter). How do you recover the scale parameter? Also, in the given example, how I estimate and save the geometric mean of the predicted values? For a simple model you can use fitted() or predicted() functions. I will appreciate any help.
?
?
?
#Call required R packages
require(plyr)?
2007 Dec 20
1
auto named savings (pngs & data-frames)
Hello, i only got a small problem.
i try to create automatic new dataframes, or png?s. the main problem i
got is:
how can i create automatic a new name for a file (read out by simply
"for") -
i tried to use "(paste...) but theres an errormessage, about a wrong
declination. R told it is as.character, but need as.Real.
Should i use another method than "paste"?
i tried as
2013 Mar 13
1
multi-comparison of means
Hi all:
I have a question about multi-comparison.
The data is in the attachment.
My purpose:
Compare the predicted means of the 3 methods(a,b,c) pairwisely.
I have 3 ideas:
#idea1
result_aov<-aov(y~ method + x1 + x2)
TukeyHSD(result_aov)
diff lwr upr p adj
b-a 0.845 0.5861098 1.1038902 0.0000001
c-a 0.790 0.5311098 1.0488902 0.0000002
c-b -0.055 -0.3138902
2008 Aug 07
8
Trying to run simple survival program in R but does not work
Hey,
I am just starting to learn R now and I typed in this simple survival
program:
library(survival)
t <- c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107)
c <- c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0)
data <- Surv(t,c)
km <- survfit(data)
summary(km)
Call: survfit(formula = data)
but everytime I run it I get this error:
Error in