Displaying 20 results from an estimated 1000 matches similar to: "can you help me with empirical probability"
2010 Jun 02
2
building time series/zoo/its from a data frame
Dear R People:
I have the following data frame:
> x.df
date cond freq
1 04/01/09 Fever 12
2 04/02/09 Fever 11
3 04/03/09 Fever 10
4 04/04/09 Fever 13
5 04/05/09 Fever 6
6 04/01/09 Rash 6
7 04/02/09 Rash 10
8 04/03/09 Rash 9
9 04/04/09 Rash 10
10 04/05/09 Rash 8
11 04/01/09
2013 Feb 04
2
reshape help
Dear R users -
I have a list of patient identifiers and diagnoses from inpatient
admissions. I would like to reorganize the list, presently in a long
format to a wide format in reshape, but in the absence of a "time" element,
I am uncertain how to do this - any help greatly appreciated.
ID Dx
A nausea
A diabetes
A kidney failure
A heart attack
A fever
B fever
B
2012 May 09
0
Survival data with time dependent covariate
http://r.789695.n4.nabble.com/file/n4619765/survival_file.png
Hi everyone,
This is what my data looks like, I haven't included the covariates, the
example would get too large.
uid id date feverstart
dumfever
130 75 346465 2011-04-11 <NA> 0
131 75 360287 2011-04-18 <NA> 0
132 75
2008 Jan 17
1
Any tools for working with US 2000 census data?
I've been given the job of extracting some data from the United States
2000 census (files at
http://www2.census.gov/census_2000/datasets/Summary_File_2/Maryland/all_
Maryland.zip 52M). I'm only interested in Census Block Groups (CBGs)
located within Baltimore City, Maryland. Additionally, I just have to
extract certain data fields. I think I'll be using Summary File 2. This
is my first
2008 Feb 13
3
Generalized nonlinear mixed model function?
I am wondering if there is an R function that could estimate a generalized
nonlinear mixed model.
>From my reading it seems that nlme from the nlme package can fit nonlinear
mixed models, while lmer from the lme4 package can fit generalized linear
mixed models.
One alternative I?ve found is gnlmix from the repeated package, although
this only allows for a single random effect.
Is there
2011 Feb 10
1
"Error in plot.window(...) : invalid 'xlim' value" from plot(...par(new = TRUE))
[New to the community; still in early part of R's learning curve.]
Several months ago, I was requested to generate some graphs on a
periodic basis. Accordingly, I managed to figure out a way to do so,
using a combination of Perl and R (in a FreeBSD environment).
While I've needed to adjust a few things here and there, the general
approach has been pretty solid , and the R part has had
2011 Dec 03
1
side-by-side map with different geographies using spplot
Hello,
I want to create side-by-side maps of similar attribute data in two
different cities using a single legend.
To simply display side-by-side census block group boundary
(non-thematic) maps for Minneapolis & Cleveland I do the following:
library(rgdal)
library(sp)
Minneapolis=readOGR("../Minneapolis/Census/2010/Census_BlockGroup_GEO/","tl_2010_27053_bg10")
2011 Apr 10
1
survival object
Hi All,
I am trying to do a survivorship analysis with library(survival)from a data
set that looks like this:
I followed a bunch of naturally germinated seedlings of an annual plant from
germination to death (none made it to reproduce, and died in a period of ~60
days after germination.)
I also know the size of the seed of every individual censused. So I am
trying to analyze seedling survival as
2017 Jul 11
0
[R-pkgs] acs version 2.1.0 update: download and analyze data from the US Census in R
We are pleased to announce the release of version 2.1.0 of the "acs"
package, now available on CRAN
<http://cran.r-project.org/web/packages/acs/index.html>.
The package allows users to download, manipulate, analyze, and present
demographic data from the U.S. Census, with special tools and methods
to simplify the tasks of working with estimates and standard errors
contained in data
2002 Nov 21
1
more than one level of grouping in xyplot
Dear listers,
Let use say that I want to display the Pixel dataset (in the NLME library)
xyplot(pixel~day|Dog, groups=Side, data=Pixel, panel=panel.superpose, panel.groups=panel.xyplot, type="b", pch=16)
(I know, there are better examples, ...)
Now, how could I change the colours of the symbols accordingly to another factor changing within subject and side form time to time? (let us
2008 Apr 10
3
[Bug 15433] New: swfdec can't play videoegg files from this site
http://bugs.freedesktop.org/show_bug.cgi?id=15433
Summary: swfdec can't play videoegg files from this site
Product: swfdec
Version: 0.5.5
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: plugin
AssignedTo: swfdec at lists.freedesktop.org
2007 Mar 23
1
Completely off topic, but amusing?
Folks:
Thought that many on this list might find this amusing, perhaps even a bit
relevant. Hope it's OK:
************
WASHINGTON - The government's estimate of the number of Americans without
health insurance fell by nearly 2 million Friday, but not because anyone got
health coverage.
The Census Bureau
<http://search.news.yahoo.com/search/news/?p=Census+Bureau> said it has
2009 May 11
1
Building US maps in R
Hi,
I'm trying to build some maps of the US by county that will have the
following characteristics:
Feature/Map
Map 1
Map2
Both
Broken out by county
Yes
Yes
Yes
Heatmaps of US Census Data for income by county
Yes
No
Yes
Heatmaps of US Census Data for race by county (recoded as white and
&non-white, with each county color coded based on the majority)
No
Yes
No
Polygon
2010 Aug 20
3
rollmean help (or similar function)
I am working on a simple pilot project comparing the capability of SQL,
SAS and R to perform a rolling mean per the following instructions. I
have completed the SQL and SAS analysis, so now it's R's turn.
Calculate mean values of x (x=count) for each date in the dataset where
mean = the average count of days [t-9] through day [t-3] for each
date/illness combination.
Dataset aggpilot
2003 Mar 24
1
negative binomial regression
I would like to know if it is possible to perform negative binomial
regression with rate data (incidence density) using the glm.nb (in
MASS) function.
I used the poisson regression glm call to assess the count of injuries
across census tracts. The glm request was adjusted to handle the data
as rates using the offset parameter since the population of census
tracts can vary by a factor of
2004 Jun 15
0
Keywords and Concepts - CTFS package
The package I am writing is for the Center for Tropical Forest Science, CTFS. This "center" is a collaboration of 15+ institutions world wide that are investigating properties of tropical forest dynamics, species diversity, species distributions. The investigation is composed of the same sampling design of the forest: a large 50 hectare plot (usually) in which every tree >= 10 mm in
2008 Jun 06
1
editing a data.frame
dear R users,
the data frame (read in from a csv) looks like this:
TreeTag Census Stage DBH
1 CW-W740 2001 juvenile 5.8
2 CW-W739 2001 juvenile 4.3
3 CW-W738 2001 juvenile 4.7
4 CW-W737 2001 juvenile 5.4
5 CW-W736 2001 juvenile 7.4
6 CW-W735 2001 juvenile 5.4
...
1501 1.00E-20 2001 adult 32.5
i would like to
2012 Jul 23
1
help building dataset
I'm having trouble building a dataset. I'm working with Census data from
Brazil, and the particular set I'm trying to get into right now is a
microdata sample which has 4 data files that are saved at .txt files full of
numbers. The folder also has lot of excel sheets and other text files
describing the data, and (I'm assuming) to help organize everything.
Unfortunately there
2010 Jun 21
2
Return value associated with a factor
I am using the code below to extract census tract information.
save.tract$state, save.tract$county and save.tract$tract are returned as
factors. In the last three statements, I need to save the actual value of
the factor, but, instead, the code is yielding the position of the factor.
How do I instead return the value of the factor?
By way of example, for Lon=-82.49574 and Lat=29.71495, the code
2004 Mar 03
1
partial autocorrelation for Rt vs. Nt-1, ......., Nt-h
Dear list, following a previous querry we are still stuck!
As pointed out by Erin Hodges the "ts" library includes a PACF function
which reports the partial correlation of population density at time t
against lagged population density.
However, what we are trying to calculate is the partial correlation between
rate of population change, Rt=log Nt/Nt-1, against lagged population