Displaying 20 results from an estimated 267 matches for "nh".
Did you mean:
anh
2012 Dec 08
4
read.table()
...to Rican 12-17 5.1975 0.24929 any
Cuban 12-17 3.7977 1.00487 any
C-S American 12-17 4.3665 0.55329 any
Dominican 12-17 1.8149 0.46677 any
Spanish (Spain) 12-17 6.1971 0.98386 any
Multi Hisp Eth 12-17 6.7006 1.12464 any
NH White 12-17 4.8442 0.08660 any
NH Black 12-17 3.6943 0.16045 any
NH AM-AK 12-17 9.6325 1.06100 any
NH HI-OPI 12-17 3.9189 1.08047 any
NH Asian 12-17 1.9115 0.28432 any
NH Multiracial 12-17 6.4255 0.51434 any...
2005 May 26
1
Survey and Stratification
...p in my efforts
and need an expert to help me along. Please help:
age<-matrix(c(rep(1,5), rep(2,3), 1:8, rep(3,5), rep(4,3), rep(5,5),
rep(3,3), rep(15,5), rep(12,3), 23,25,27,21,22, 33,27,29), ncol=6, byrow=F)
colnames(age)<-c("stratum", "id", "weight", "nh", "Nh", "y")
age<-as.data.frame(age)
## create survey design object
age.des1<-svydesign(ids=~id, strata=~stratum, weight=~Nh, data=age)
svymean(~y, age.des1)
## gives mean 25.568, SE 0.9257
age.des2<-svydesign(ids=~id, strata=~stratum, weight=~I(nh/Nh), data=age)...
2006 Jun 18
1
Post Stratification
...his route. It was great
talking with you and learning from you. Thank you. I am trying to work
through an artificial example in post stratification. This is my dataset:
library(survey)
age <- data.frame(id=1:8, stratum=rep( c("S1","S2"),c(5,3)),
weight=rep(c(3,4),c(5,3)), nh=rep(c(5,3),c(5,3)),
Nh=rep(c(15,12),c(5,3)), y=c(23,25,27,21,22, 77,72,74) )
pop.types <- table(stratum=age$stratum)
age.post <- svydesign(ids=~1, strata=NULL, data=age, fpc=~Nh) ## no
clusters, no strata
post <- postStratify(design=age.post, strata=~stratum, population=pop.types)
svy...
2005 Jul 07
1
rsync 2.6.4 - directory always updated
...lefs.config
.f freedom_lib/TC280C/LEF/define_lefs.config.org
.d...p... freedom_lib/TC280C/LH/
.f freedom_lib/TC280C/LH/TC280CLH.cellib.csv
.f freedom_lib/TC280C/LH/TC280CLH.pglib.csv
.f freedom_lib/TC280C/LH/readme.txt
.d...p... freedom_lib/TC280C/NH/
.f freedom_lib/TC280C/NH/TC280CNH.cellib.csv
.f freedom_lib/TC280C/NH/TC280CNH.cellib.csv.org
.f freedom_lib/TC280C/NH/TC280CNH.pglib.csv
.f freedom_lib/TC280C/NH/readme.txt
.d...p... freedom_lib/TC280C/product/
.f freedom_lib/TC280C/produ...
2001 Jun 05
2
a bug? (PR#968)
...80 10 0
578 M13 MT2 MT 180 10 1
579 M13 MT2 MT 180 10 1
580 M13 MT2 MT 180 10 1
581 M13 MT2 MT 180 10 1
582 M13 MT2 MT 180 10 1
583 M13 MT2 MT 180 10 1
584 M13 MT2 MT 180 10 1
585 M13 MT2 MT 180 10 0
586 M13 MT2 MT 180 10 0
587 M13 MT2 MT 180 10 0
588 M13 MT2 MT 180 10 0
589 M13 MT2 MT 180 10 0
590 NH01 NH1 NH 180 10 1
591 NH01 NH1 NH 180 10 0
592 NH01 NH1 NH 180 10 0
593 NH01 NH1 NH 180 10 0
594 NH01 NH1 NH 180 10 0
595 NH01 NH1 NH 180 10 0
596 NH01 NH1 NH 180 10 0
597 NH01 NH1 NH 180 10 0
598 NH01 NH1 NH 180 10 0
599 NH01 NH1 NH 180 10 0
600 NH01 NH1 NH 180 10 0
601 NH01 NH1 NH 180 10 0
602 NH...
2004 Mar 19
2
Odd behaviour of step (and stepAIC)?
I can only assume I'm betraying my ignorance here, but this is not what
I would expect.
I'm getting the following from a stepwise selection (with both step and
stepAIC):
> step(lm(sqrt(Grids)~ SE + Edge + NH), scope=~ (Edge + SE + NH)^2)
Start: AIC= 593.56
sqrt(Grids) ~ SE + Edge + NH
Df Sum of Sq RSS AIC
<none> 2147.0 593.6
+ Edge:NH 1 3.0 2143.9 595.1
+ SE:NH 4 23.2 2123.8 598.4
- NH 1 75.8 2222.8 601.6
- Edge 1 448.7 25...
2007 May 15
3
qr.solve and lm
Dear R experts,
I have a Matlab code which I am translating to R in order to examine and
enhance it.
First of all, I need to reproduce in R the results which were already
obtained in Matlab (to make sure that everything is correct).
There are some matrix manipulations and '\' operation among them in the
code.
I have the following data frame
> ABS.df
Pro syn...
2004 Jan 19
2
Serious bug in Samba 3.0.2pre1 !!!
...an ADS group is not valid or detected anymore to access a
samba share, in case only an ADS group is used a valid user on a Samba
share, because Kerberos is reporting: Username (null) is invalid on this
system.
Besides that, connecting to a share (service) reports with Samba 3.0.0-2
REALM\username (NH-TEST.NL\fo6), but with Samba 3.0.2pre1 connecting to
a share (service) reports only username (fo6)
Downgrading to Samba 3.0.0-2 solves this problem!
Subjoined the steps to reproduce the bug:
Windows 2003 native mode
Realm: NH-TEST.NL
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i6...
2008 Apr 22
1
subset and boxplots
R users,
This should be simple, but I cannot figure it out. I import test.csv, then
create a subset for "brook_dis". When I plot (week, R) I get a nice
boxplot, but along the x axis, there are weeks a, b, c along with h and nh.
Thank you ahead of time. keith
rm(list=ls())
cond.exp1<-read.csv("condition/test.csv",header=TRUE)
sub<-subset(cond.exp1, Species=="brook_dis")
attach(sub)
plot(week, R)
detach(sub)
Id Species week 7
bow a 10 bow a 12 bow a 19 bow a 23 bow a 24 bo...
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
...ikelihood, p. 194).
I label the cells in the table as follows
stim response
"y" "n" total
--------------------------------
y hit miss nsignal
--------------------------------
n false correct nnoise
alarm rejection
---------------------------------
Gsens<-function(nhit,nmiss,nfa,ncr)
{
# Edwards's G_I, measure of interaction, is measure of sensitivity
(xlogx(nhit)+xlogx(nmiss)+xlogx(nfa)+xlogx(ncr))-(xlogx(nhit+nmiss)+xlogx(nfa+ncr))-(xlogx(nhit+nfa)+xlogx(nmiss+ncr))+xlogx(nhit+nmiss+nfa+ncr)
}
BTW I can't figure out how to break the line at 80 cols....
2008 Sep 12
4
Custom build kernel patch fails big time.
...tfilter.h>
#include <linux/netfilter_ipv4.h>
+#include <net/inet_ecn.h>
#include <net/ip.h>
#include <net/xfrm.h>
@@ -23,6 +24,15 @@
EXPORT_SYMBOL(xfrm4_rcv);
+static inline void ipip_ecn_decapsulate(struct sk_buff *skb)
+{
+ struct iphdr *outer_iph = skb->nh.iph;
+ struct iphdr *inner_iph = skb->h.ipiph;
+
+ if (INET_ECN_is_ce(outer_iph->tos))
+ IP_ECN_set_ce(inner_iph);
+}
+
static int xfrm4_parse_spi(struct sk_buff *skb, u8 nexthdr, u32 *spi,
u32 *seq)
{
switch (nexthdr) {
@@ -103,11 +113,11 @@
xfrm_vec[xfrm_nr++...
2011 Aug 29
1
MuMIn Problem getting adjusted Confidence intervals
...and solutions in
JEB.
I created a global model to see if malaria prevalence (binomial
distribution) is related to any life history traits of 14 different birds
species, while controling for Family and genus in a GLMM:
global.model.Para<-lmer(cbind(Parahaemoproteus,FailPh)~factor(SS)+factor(NT)+NH+W+IT+factor(MS)+(1|Family/Genus),family=binomial,data=malaria)
I than standardize the input variables using the function standardize form
the arm package:
stdz.model.Para<-standardize(global.model.Para,standardize.y=FALSE)
But I get this message:
Warning messages lost:
In is.na(thedata):
is.n...
2009 Jul 02
1
Quantitative Risk Management by McNeil
...ing pakage for the book Quantitative
Risk Management by McNeil?
This package is writen in R.
I have run this package for fitting the data to Nornal Inverse Gaussian
distribution and fased with following problem.
> Return<-read.csv("data.csv")
> Transpose<-t(Return)
> fit.NH(Transpose, case="NIG", symmetric=FALSE, se=FALSE)
Error: cannot allocate vector of size 57 Kb
In addition: Warning messages:
1: In var.default(data) :
Reached total allocation of 222Mb: see help(memory.size)
2: In optim(par = theta, fn = negloglik, gr = NULL, datavector = data, :
Rea...
2008 Feb 27
2
Prevent drag and drop within Samba shares
...other directory in the root of the share.
My samba server is member of a native W2k3 server Active Directory and AD
users are able to access the Samba shares.
The share is configured like this in smb.conf:
[grp]
comment = Group Directory
path = /data/grp
valid users = @NH-HOTELES.COM\DEP_RHEL4_MEMBER
read only = No
inherit permissions = Yes
hide unreadable = Yes
The /data/grp directory looks like this:
drwxrws--- 2 root NH-HOTELES\dep_rhel4_adm 4096 Sep 11 2006 adm
drwxrws--- 4 root NH-HOTELES\dep_rhel4_fog 4096 Mar 9 2007 fog
If a u...
2007 Apr 18
4
[Bridge] [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged {I, AR}P packets
...ake sure the iptables PREROUTING
chain isn't traversed twice. The old mechanism isn't satisfactory when
the bridge port is a VLAN tagged device.
- add some code in vlan_dev.c::vlan_dev_hard_start_xmit():
skb->protocol = __constant_htons(ETH_P_8021Q);
skb->mac.raw -= VLAN_HLEN;
skb->nh.raw -= VLAN_HLEN;
When the logical VLAN device adds its VLAN header to the packet, I think
it should update the skb. The protocol then becomes VLAN, the Ethernet
header pointer should be updated correctly. Also, the network header
pointer should now point to the VLAN header.
This code is needed for...
2016 Nov 17
2
problem with normalizePath()
....0 assertthat_0.1 tools_3.3.2 haven_1.0.0
[6] tibble_1.2 Rcpp_0.12.7 rJava_0.9-8
Please advise.
Thanks,
Michael Laviolette PhD MPH
Public Health Statistician
Bureau of Public Health Statistics and Informatics
New Hampshire Division of Public Health Services
29 Hazen Drive
Concord, NH 03301-6504
Phone: 603-271-5688
Fax: 603-271-7623
Email: Michael.Laviolette at dhhs.nh.gov
[[alternative HTML version deleted]]
2007 Sep 06
3
Survey package
Good afternoon!
I'm trying to use the Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1
E.g: tipping
design <- svydesign (id=~1, strata= ~regiune + size_loc + age_rec_hhh + size_hh, data= tabel)
and then weights(design)
gives
2010 Oct 19
1
could not find function "hmatplot"
I need a picture like this:
http://rwiki.sciviews.org/doku.php?id=graph_gallery:graph38
http://rwiki.sciviews.org/doku.php?id=graph_gallery:graph38
but when I try compile it
require("hexbin")
data(NHANES)# pretty large data set!
good <- !(is.na(NHANES$Albumin) | is.na(NHANES$Transferin))
NH.vars <- NHANES[good, c("Age","Sex","Albumin","Transferin")]
# extract dependent variables and find ranges for global binning
x <- NH.vars[,"Albumin&quo...
2000 Jan 28
0
convolution bug (PR#408)
...nt conj should be set to FALSE.
The zero-padding should be on the right for linear convolution (don't ask me
why you call this type="open"; I suggest type="linear").
Here is what I expect linear convolution to do:
myconvolve<-function (x,h)
{
nx <- length(x)
nh <- length(h)
#zero pad
if(nx>nh)
{
x <- c(x,rep(0, nh-1))
h<-c(h,rep(0,nx-1))
}
else
{
h <- c(h,rep(0, nx-1))
x<-c(x,rep(0,nh-1))
}
x <- fft(fft(x) * fft(h), inv = TRUE)
Re(x)/length(x)
#I am not sure a...
2007 Nov 21
1
Load Balancing with secondary tables (not main as in the howto)
...[ exact PREFIX ]
[ table TABLE_ID ] [ proto RTPROTO ]
[ type TYPE ] [ scope SCOPE ]
ROUTE := NODE_SPEC [ INFO_SPEC ]
NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ]
[ table TABLE_ID ] [ proto RTPROTO ]
[ scope SCOPE ] [ metric METRIC ]
INFO_SPEC := NH OPTIONS FLAGS [ nexthop NH ]...
NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS
The question is, can I add load balancing over a secondary table in any
other way? Why ip route add doesn''t allow this?
Thanks in advance.
Note:
- Architecture:...