Displaying 20 results from an estimated 62 matches for "infant".
Did you mean:
infact
2003 Mar 06
2
anova subhypotheses
Hello all,
A really noddy question for you all: I''m trying without success to do some subhypothesis testing. Using simple anova model, with a toy dataset from a book. I have four factors A,B,C,D, and wish to test mu_C = mu_D. This is what I have tried:
> contrasts(infants$group,how.many=1) <- c(0,0,1,-1)
> contrasts(infants$group)
[,1]
A 0
B 0
C 1
D -1
> fit <- aov(age~group,data=infants)
> summary(fit)
Df Sum Sq Mean Sq F value Pr(>F)
group 1 0.740 0.740 0.2693 0.6092
Residuals 21 57.727 2.749...
2010 Sep 07
1
how to combine several subsets?
I simply put,
> NEVER=subset(infants$bwt,ISNO1)
> UNTILPREGNANT=subset(infants$bwt, ISNO2)
> ONCENOTNOW=subset(infants$bwt, ISNO3)
and I wanna combine those three.
I do it like
ISNO=NEVER&UNTILPREGNANT&ONCENOTNOW
and R tells me
1: In NEVER & UNTILPREGNANT :
longer object length is not a multiple of shorter ob...
2008 Mar 28
2
Wrong story step running
...isation "$organisation_name"''
do |name, secondary_email, user_type, user_state, organisation_name|
# ...
end
When I run a story containing these step calls:
And a user called "Mr Kameron Friesen" of type END_USER and status
APPROVED in organisation "My Infant School"
And a user called "Mr Adam Kameron" of type END_USER and status APPROVED
in organisation "My Infant School"
And a user called "Mr Matching Username" with username "
kameron_is_cool at technophobia.com" of type END_USER and status APPROVED...
2010 Nov 02
5
Question about ggplot2
Dear All,
I am trying to graph a simple scatter plot where the x axis is year
and the y axis is a percentage (percentage of infant death). Instead
of plotting the raw data, I want to plot summary statistics such as
mean and median. Here is the problem: the value range of y is between
0 and 1, but since infant death is a rare event, the mean and median
is very low (something like 5%), which shows up as a horizontal line
at the...
2010 Feb 05
0
Censored outcomes - repeated measures and mediators
Hello,
In a study exploring transgenerational transmission of anxiety
disorder we investigate whether infants react to experimentally
induced mood changes of their mothers. We measured the time that an
infant needed to cross a cliff (=crossing time) depending on whether
his mother had previously undergone a mood induction (treatment) or
not (control). The treatment is thus a within-subjects factor...
2013 May 29
0
"Unable to optimize" error returned in factanal using R-3.0.1, Windows 64 bit, and OpenBLAS
...e work shows that the failure is in the call to `optim`. Specifically, when the call __passes__, it returns:
> nfit
Call:
NULL
Uniquenesses:
Fertility Agriculture Examination Education
0.420 0.492 0.270 0.005
Catholic Infant.Mortality
0.061 0.960
Loadings:
Factor1 Factor2
Fertility -0.674 0.356
Agriculture -0.648 0.297
Examination 0.713 -0.471
Education 0.997
Catholic -0.178 0.953
Infant.Mortality -0.104 0.169
Factor1 Factor2...
2001 Apr 21
0
Re: PR#886: Error (?) in documentation of 'swiss'
...'swiss' datafram in the R base package. The description accurately
matches what is said in the Mosteller and Tukey source quoted, but
according to the data archived at Princeton (links from
http://opr.princeton.edu/archive/eufert/switz.html), the variable that
Mosteller and Tukey report as infant mortality is actually the proportion
of 'draftees' with education beyond primary school. Infant mortality is on
the archived file, but the values are quite a lot different. Of course,
it's possible that Mosteller and Tukey were right and the people who did
the archiving at Princenton, l...
2007 May 09
1
step() in sink() and Sweave()
...ands within the step() body are:
if (trace) message("Start: AIC=", format(round(bAIC, 2)), "\n",
cut.string(deparse(as.vector(formula(fit)))), "\n")
(with example() output:)
Start: AIC=190.69
Fertility ~ Agriculture + Examination + Education + Catholic +
Infant.Mortality
And later:
if (trace) print(aod[o, ])
(with example() output:)
Df Sum of Sq RSS AIC
- Examination 1 53.0 2158.1 189.9
<none> 2105.0 190.7
- Agriculture 1 307.7 2412.8 195.1
- Infant.Mortality 1 408.8...
2001 Apr 21
1
Re: PR#886: Error (?) in documentation of 'swiss'
...afram in the R base package. The description accurately
> matches what is said in the Mosteller and Tukey source quoted, but
> according to the data archived at Princeton (links from
> http://opr.princeton.edu/archive/eufert/switz.html), the variable that
> Mosteller and Tukey report as infant mortality is actually the proportion
> of 'draftees' with education beyond primary school. Infant mortality is on
> the archived file, but the values are quite a lot different. Of course,
> it's possible that Mosteller and Tukey were right and the people who did
> the archiv...
1997 Dec 02
1
R-alpha: two-sided to one-sided formula
At times we want to convert a two-sided formula to a one-sided
formula. In S we can do this by dropping the second entry in the
formula. In R that object no longer has a formula class.
R> ttt <- score ~ age | Infant
R> class(ttt)
[1] "formula"
R> length(ttt)
[1] 3
R> ttt[-2]
[[1]]
~
[[2]]
age | Infant
R> class(ttt[-2])
NULL
R> do.call("~", ttt[-(1:2)])
~age | Infant
In general it would not be a good idea to propagate the formula class
to subsets but it does ma...
2006 Jul 06
0
read.xport issues
...±
CHYPER Hypertension, Chronic PHYPER Hypertension, Pregnancy-Associated
Á
CLAMP Eclampsia INCERVIXIncompetent Cervix
PRE4000 Previsou Infant 4000+ grams PRETERM Previou
Preterm RENAL Renal Disease é
RH RH Sensitization !UTERINE Uterine Bleeding...
2004 Dec 07
1
how to test the existence of a name in a dataframe
...re exists already a name (which is
incidentally a substring of another name) in a dataframe.
I did e.g.:
> data(swiss)
> names(swiss)
[1] "Fertility" "Agriculture" "Examination" "Education"
[5] "Catholic" "Infant.Mortality"
> ! is.null(swiss$EduX)
[1] FALSE
> ! is.null(swiss$Edu)
[1] TRUE
I did not expect to get TRUE here because ``Edu'' does not exist
as name of ``swiss''.
I did finally:
> 'Edu' %in% names(swiss)
for which I got the expected FALSE.
My question: Wh...
2012 Jan 19
1
Setting ups.delay.shutdown in powerware 9135
...te the shutdown of
machines.
Before, I did use a propietary program to work with this ups, and the
daemon did poweroff the ups without problems.
But, now, I have only a openfiler based machine, and the propietary program
don't run (but, I did find nut to replace it).
Can any help me?
TIA
jorge infante
rosario - santa fe - argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120119/ebeba709/attachment.html>
2001 Mar 28
0
Error (?) in documentation of 'swiss' data in R base package (PR#886)
...'swiss' datafram in the R base package. The description accurately matches what
is said in the Mosteller and Tukey source quoted, but according to the data
archived at Princeton (links from
http://opr.princeton.edu/archive/eufert/switz.html), the variable that Mosteller
and Tukey report as infant mortality is actually the proportion of 'draftees'
with education beyond primary school. Infant mortality is on the archived file,
but the values are quite a lot different. Of course, it's possible that
Mosteller and Tukey were right and the people who did the archiving at
Princenton, l...
2002 Nov 13
4
[Newbie] Is there any support for work with grouped frequencies?
Hi,
I have this table (BTW, published by FBI and representing age
distribution of the WTC tragedy victims):
"LABEL" "FREQ" "MIDPOINT"
"1" "Infant (under 1)" 0
"2" "1 to 4" 5
"3" "5 to 8" 1
"4" "9 to 12" 3
"5" "13 to 16" 0
"6" "17 to 19" 3
"7" "20 to 24" 117
"8" "25 to 29" 341
&q...
2011 Jun 28
1
plotting survival curves with model parameters
Hello.
I am trying to write an R function to plot the survival function (and
associated hazard and density) for a Siler competing hazards model.
This model is similar to the Gompertz-Makeham, with the addition of a
juvenile component that includes two parameters---one that describes
the initial infant mortality rate, and a negative exponential that
describes typical mortality decline over the juvenile period. The
entire hazard is expressed as
h(x) = a1*exp(-b1*x)+a2+a3*exp(b3*x)
I've had success in plotting the curves using the following function:
######################################...
2006 Jul 24
2
Correlations by group
I'm aware that S N Krishna asked the same
question. However, I have failed to implement the
posted solution for running rank order
correlations on multiple subsets of data using the by() function.
Here is my problem:
Take a set of data from two subjects, who
provided numerical infant mortality (IM) estimates for five countries:
sub <- c(1, 1, 1, 1, 1, 2, 2, 2, 2, 2)
#grouping variable = 5 rows x 2 subjects
est <- c(60, 20, 260, 160, 42, 2, 1, 3,
7, 12) #response variable = 5 estimates x 2 subjects
im <- c(4, 5, 7, 8, 10, 4, 5, 7, 8, 10) #a...
2009 Mar 06
1
fitting a gompertz model through the origin using nls
Dear all!
I tried to fit Gompertz growth models to describe cummulative germination rates
using nls. I used the following code:
germ.model<-nls(percent.germ~a*exp(-b*exp(-k*day)),data=tab,start=list(a=100,b=10,k=0.5))
My problem is that I want that the fitted model goes through the origin, since
germination cannot start before the experiment was started, and y-max should be
100.
Does anyone
2007 Apr 20
2
sorting data in R
hello,
I'd like know how to sort a data frame in R for example how I should do to sort by Catholic with swiss data frame like below
thanks
Fertility Agriculture Examination Education Catholic Infant.Mortality
Courtelary 80.2 17.0 15 12 9.96 22.2
Delemont 83.1 45.1 6 9 84.84 22.2
Franches-Mnt 92.5 39.7 5 5 93.40 20.2
Moutier 85.8 36.5...
2006 Nov 21
1
NEWBIE: Help explaining use of lm()?
...(such as the
amount of a hormone administered) to a dependent variable (such as the
height of a cornstalk). Its output was a model that could state, "for
every 10% increase in the hormone, the height increased by X%."
The zelazo data are the ages at walking (in months) of four groups of
infants, two controls and two experimentals subjected to different
exercise regimens. I don't understand why lm() can be used at all in
this circumstance. My initial attempt was to use t.test(), which the
answer key does also. I would have never thought to use lm() except for
the requirement in the pr...