Displaying 20 results from an estimated 800 matches similar to: "V-Cramer in svy"
2012 Aug 31
2
test Breslow-Day for svytable??
Hi all,
I want to know how to perform the test Breslow-Day test for homogeneity of
odds ratios (OR) stratified for svytable. This test is obtained with the following code:
epi.2by2 (dat = daty, method = "case.control" conf.level = 0.95,
units = 100, homogeneity = "breslow.day", verbose = TRUE)
where "daty" is the object type table svytable consider it, but
2012 Jun 28
1
SVY: variance inflation factor VIF with complex survey
Hello,
Seeking a way to get the variance inflation factor VIF for a model of regression in complex survey, I have understood that without this package (SURVEY) RGui VIF obtained as follows:
fit <- lm(mpg~disp+hp+wt+drat, data=mtcars)
vif(fit)
But I want to know if survey, Vif is obtained so
vif( svyglm(api00~ell+meals+mobility, design=dstrat))
Thank you, happy day
2012 May 31
1
svychisq??
Hello forum,
I
want to do a test of independence
with svychisq, but I
get an error, then this my code:
am18 <- read.spss("C:/Users/diana/Dropbox/Semestre
10/Tesis 10/Tesis Diana/AMcomuna18-29MAR2012.sav",
use.value.labels=TRUE, max.value.labels=Inf,
to.data.frame=TRUE)
b<-matrix(c(am18$N6_MANZANA),ncol=1)
c<-matrix(c(am18$PM1_1_PONDEMUESTRA),ncol=1)
2008 Oct 26
2
Two sample Cramer-von Mises test
Hall all,
Where can I find the two sample Cramer-von Mises test in R package?
Thank you.
Legendy
--
View this message in context: http://www.nabble.com/Two-sample-Cramer-von-Mises-test-tp20174229p20174229.html
Sent from the R help mailing list archive at Nabble.com.
2013 Feb 11
1
Simple frequencies using svy design
Hello,
excuse me if this is trivial. I have some survey data with the following
design
MyDesign<-(id=ident, weights=~fwgt, fcp=~nval1+nval2, data=hh_data1)
I would like to run simple frequency tables such as those provided by the
freq() function of rgrs to check the impact of the sampling design on my
Ns. Anyway I can do this? thanks, V
[[alternative HTML version deleted]]
2006 Jun 13
1
Cramer-von Mises normality test
Hi, this is my first help request so please bear with me.
I've been running some normality tests using the nortest package. For
some of my datasets the Cramer-von Mises normality test generates an
extremely high probability (e.g., 1.637e+31) and indicates normality
when the other tests do not. Is there something I'm misunderstanding
or potentially a bug in the code?
Below are the
2012 Jul 24
3
stepwise in svyglm???
Hello,
I want to know how to perform stepwise elimination of variables to svyglm
thanks
[[alternative HTML version deleted]]
2012 Aug 15
2
sensitivity and specificity in svyglm??
Hello,
As obtained from a table svyglm clasificaion, sensitivity and specificity. The funtion ConfusionMatrix () of the library (caret)
gives these results but not how to apply it to svyglm.
thanks
[[alternative HTML version deleted]]
2013 Feb 19
2
Cramer von Mises test for a discrete distribution
Hi,
?
I'm trying to carry out Cramer von Mises tests between pairs of vectors belonging to a discrete distribution (concretely frequencies from 0 to 200). However, the program crashes in the attempt. The problem seems to be that these vectors only have positive integer numbers (+ zero). When I add a random very small positive decimal to the non-decimal part everything works fine (files prm1
2011 Feb 22
0
Which function in R package "Spatstat" can help me to get the Cramer-von Mises statistic
Hi all,
When I detect the spatial point pattern, I want to use the Cramer-von Mises
statistic to assess the curve-wise significance of deviations from null
hypotheses. Who can tell me which function in R package "Spatstat" can do
this work?
Thanks a lot
Jeff
[[alternative HTML version deleted]]
2011 Feb 14
0
Spatstat - envelope, Thomas process and Cramer-von Mises
Hi all,
I am using "spatstat" to investigate the spatial structure of some plant
populations, and I want to detect these patters with IPP and a Thomas
process based on pair-correlation function. I know the function "pcfinhom"
is available to characterize the IPP, but I have no idea about how to use
the pcf with Thomas process? Additionally, generating simulation envelopes
2005 Nov 01
0
two sample Cramer-von Mises test
Hello list,
Is there any function in some package can calculate two sample Cramer-von
Mises test statistic? I searched around and only find one sample version
cvm.test() in nortest package.
thanks,
WC
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
2001 Nov 10
2
Goodness-of-fit on Burr distributed data
I simulate a uniform data and then transformed into Burr(1,3,1) data,
which is of pdf:
f(x)=[3*(x^2)] / [(1+x^3)^2], x>0
How can I perform a goodness-of-fit test (k-s,
anderson-darling,chisq,cramer-von mises,...) on it (should highly accept)
to get test-statistics & p-values?
Thanks!
Sincerely,
Shelton Jin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2008 Jul 14
2
how to correlate nominal variables?
Dear R-Users,
I need functions to calculate Yule's Y or Cram?rs Index, in order to
correlate variables that are nominally scaled?
Am I wrong? Are such functions existing?
Sincerely,
Timo
2002 Dec 10
1
Lognormal distribution
I am trying to fit a lognormal distribution to a set of data and test its
goodness of fit with regard to predicted values.
I managed to get so far:
> y <- c(2,6,2,3,6,7,6,10,11,6,12,9,15,11,15,8,9,12,6,5)
> library(MASS)
> fitdistr(y,"lognormal",start=list(meanlog=0.1,sdlog=0.1))
meanlog sdlog
1.94810515 0.57091032
(0.12765945) (0.09034437)
But I would
2009 May 28
3
R help
Dear Sir
I am new user of R.
I am interested in modeling hydrological extreme events. I found MSClaio2008 very interesting function. In this function four criterions for choosing distributions. Can we call these criterions as model selection techniques or goodness of fit techniques or both? Because goodness of fit techniques are usually performed after modle selection.
Can I found
2009 Nov 02
2
"object not found" within function
Hi,
I am trying to write a function to compute many cross-tabulations with the -svytable- command. Here is a simplified example of the structure of my code (adapted from the -svytable- help file):
data(api)
func.example<-function(variable){
dclus1<-svydesign(id=~1, weights=~pw,data=apiclus1, fpc=~fpc)
svytable(~ variable, dclus1)
}
When I call this function with:
2006 Jun 14
1
Bug in nortest cvm.test package (PR#8980)
I believe there to be a bug in the cvm.test module of the nortest
package authored by Juergen Gross. I do not know how to contact the
author directly.
I've been running some normality tests using the nortest package. For
some of my datasets the Cramer-von Mises normality test generates an
extremely high probability (e.g., 1.637e+31) and indicates normality
when the other tests do
2006 Aug 21
1
"vcov" error in svyby and svytable functions
Hi,
I'm trying to compute survey svytable statistic on subsets by using the
svyby function.
Here is the code:
b<-svyby(~V024+V751, by=~V025, design=strat2, svytable, round=TRUE)
The vars, V024, V751 and V025 are factors. The by var has 2 levels, and
hence there will be two subsets. strat2 is created by the svydesign function.
It's giving me the following error:
>
2012 Jun 21
4
crosstable and regression for survey data (weighted)
I have survey data that I am working on. I need to make some multi-way tables
and regression analyses on the data. After attaching the data, this is the
code I use for tables for four variables (sweight is the weight variable):
> a <- xtabs(sweight~research.area + gender + a2n2 + age)
> tmp <- ftable(a)
Is this correct? I don't think I need to use the strata and cluster