search for: weig

Displaying 4 results from an estimated 4 matches for "weig".

Did you mean: wei
2008 Jan 11
1
Adding weights to ecdf
I would like you consider that the function ecdf could be extended in the following way to handle weights when computing Empirical distribution Functions. There exist particular cases that supports this kind of extension, see for example: Rao, C. R., 1997. Statistic and True. Putting chance to work. World Scientific Publishing. Cox, D. R., 1969. Some Sampling Problems in Technology. New Developmen...
2013 Mar 15
1
quadprog issues---how to define the constriants
Hi list: This is my first time to post my question on the list. Thanks for your help. I am solving a quadratic programming using R. Here is my question: w = arg min 0.5*w'Mw - w'N s. t. sum(w) = 1; w>0 note: w is weight vector, each w_i must >=0, and the sum of w =1. Here is my R code: A <-matrix(c(2.26,1.26,1.12,1.12,2.27,1.13,1.12,1.13,2.2),3,3); B <- c(0.007459281,0.007448885,0.007447850); M <-nrow(A); Amat <- cbind(rep(1,M), diag(M)); bvec <- c(1,rep(0,M)) ; meq <- 1; min...
2005 Oct 09
1
enter a survey design in survey2.9
...two regions / Urbain and rural. this are strata in Rural : PSU are subdivision , SSU are EA and TSU are households in Urban : PSU are EA , SSU are households. I use svydesign function as follow : esi<-svydesign(id=~subdiv+EA+HHID,strata=~REGION+AREATYP,fpc=~FPC1+FPC2FPC3,weig=~pw,nest=T) FPC1: number of subdivision in each strata FPC2: number of EA in each subdivision FPC3: number of HH in each EA. pw : sampling weights but I have this error message : erron in data.frame(strata, 1:i,...) I dont understand why ! Can someone help me ? Sincerly....
2003 Jul 24
0
negative binomial
...e. I have tried to go through the help files in R and Venables & Ripley 4th Edition but I couldn’t find appropriate solution for my problem. Please could you give me idea of how to go about it? Thanks BPM Attached is the part of the out put: fit <- glm.nb PFD~SEX+RES+TRAV+TRAVH+HEIGHT+WEIG+MUA+TEM+FEVV+VOM+HEA....,data=data) Error: NA/NaN/Inf in foreign function call (arg 1) In addition: Warning message: iteration limit reached in: theta.ml(Y, mu, n, limit = control$maxit, trace = control$trace > --------------------------------- Want to chat instantly with your online...