similar to: using survey weights for correlations

Displaying 20 results from an estimated 1000 matches similar to: "using survey weights for correlations"

2008 Sep 04
2
printing name of object inside lapply
Dear list members, I am trying, within a lapply command, to print the name of the objects in list or data frame. This is so that I can use odfWeave to print out a report with a section for each object, including the object names. I tried e.g. a=b=c=1:5 lis=data.frame(a,b,c) lapply( lis, function (z) { obj.nam <- deparse(substitute(z)) cat("some other text",obj.nam,"and so
2007 Sep 19
1
SEM - standardized path coefficients?
Dear list members, In sem, std.coef() will give me standardized coefficients from a sem model. But is there a trick so that path.diagram can use these coefficients rather than unstandardized ones? Thanks Steve Powell From: John Fox <jfox_at_mcmaster.ca> Date: Wed 28 Feb 2007 - 14:37:22 GMT Dear Tim, See ?standardized.coefficients (after loading the sem package). Regards, John John
2007 Aug 21
2
standardized cronbach's alpha?
Hi list members Any easy way to get standardized cronbach's alpha for a scale, as in SPSS? Thanks Steve Powell proMENTE social research research | evaluation | training & consulting Kranj?evi?eva 35, 71000 Sarajevo mobile: +387 61 215 997 | office: +387 33 556 865 | fax: +387 33 556 866 Checked by AVG Free Edition. 17:44
2007 Nov 17
1
odf and unzip: unzip not found
hi list members I am trying to use odfWeave with R 2.5.1 on Windows XP. however when running e.g. odfWeave(demoFile, outputFile) I get: Error in odfWeave(demoFile, outputFile) : Error unzipping file In addition: Warning message: unzip not found in: system(zipCmd[2], invisible = TRUE) presumably my zip and unzip are not set up correctly but I dont know how to do that. I installed zip and
2007 Sep 24
3
Separate colour for comments in scripts
Hi, Is it possible to assign a separate colour for comments written with #, eg:- #this is a comment . I am looking to colour them differently from the program text in R-Editor (not console). Is it possible to do so? Eg. In Visual basic, the colour for remarks gets green automatically Regards Sumit [[alternative HTML version deleted]]
2007 Oct 05
2
Apply vector of labels to columns of data frame
Dear list members I would like to apply a vector of labels v=c("lab1","lab2","lab3") to a dataframe df=data.frame(1:3,1:3,1:3) using some kind of loop or apply function. Any ideas? Thanks Steve Powell Checked by AVG Free Edition. 17:03 [[alternative HTML version deleted]]
2010 Jun 22
1
"save scores" from sem
Dear expeRts, sorry for such a newbie question - in PCA/factor analysis e.g. in SPSS it is possible to save scores from the factors. Is it analogously possible to "save" the implied scores from the latent variables in a measurement model or structural model e.g. using the sem or lavaan packages, to use in further analyses? Best wishes Steve Powell www.promente.org | skype
2012 May 08
1
what folder to run write_PACKAGES in?
I set up a local repo for testing packages. My packages are not showing up from the repository when viewed by Linux clients. I suspect this is a web administrator/firewall issue, but it could be I created the repo wrongly. I am supposed to run write_PACKAGES separately in each R-version folder. Right? Maybe other novices can use these scripts, if they are not wrong :) Here's the file
2010 Mar 23
0
multi-stage sampling and hierarchical models: which packages?
Dear wizaRds, I have a dataset to analyse which is causing me problems. It is a sample of parents in schools. First we had a population table of the schools in the country in question divided into five regions, and in each region we have an urban/rural split. The population Ns in these ten cells are known. Then three schools were drawn from each cell according to the Lahirie method, i.e with
2007 Jul 12
1
ggplot doesnt work in loops?
Dear list members I am still a newbie so might be asking a stupid question, but I can't get ggplot to work in a loop (or a "while" statement for that matter). # to take a minimal example - mydata$varc = c(1,2,3) for (i in 1:1){ jpeg("test3.jpg") plot(mydata$varc) #ggplot(mydata, aes(x=mydata$varc)) + geom_bar() dev.off() } this produces
2011 Oct 24
4
Problem with svyvar in survey package
I am facing a problem with a function in survey package. The function svyvar gives the estimated population variance from a given sampling scheme. I am working with a data having more than four continuous variables. In order to have have population total for all those cont. variables I have written in the following format svyvar(~var1+var2+var3+var4+var5+var6,data) ; var1,var2,...,var6 are 6
2014 Aug 06
3
portableParalleSeeds Package violation, CRAN exception?
I'm writing to ask for a policy exception, or advice on how to make this package CRAN allowable. http://rweb.quant.ku.edu/kran/src/contrib/portableParallelSeeds_0.9.tar.gz Yesterday I tried to submit a package on CRAN and Dr Ripley pointed out that I had not understood the instructions about packages. Here's the part where the R check gives a Note * checking R code for possible
2012 Oct 16
1
Package survey: Compute standard deviations from complex survey designs
Hello, svyvar from the survey package computes variances (with standard errors) from survey design objects. Is there any way to compute standard deviations and their standard errors in a similar manner? Thanks a lot, Sebastian
2010 Mar 10
1
Strange result in survey package: svyvar
Hi R users, I'm using the survey package to calculate summary statistics for a large health survey (the Demographic and Health Survey for Honduras, 2006), and when I try to calculate the variances for several variables, I get negative numbers. I thought it may be my data, so I ran the example on the help page: data(api) ## one-stage cluster sample dclus1<-svydesign(id=~dnum, weights=~pw,
2007 Jul 16
5
how do I draw such a barplot?
Hi, I cannot figure out how to draw a certain plot: could someone help me out? I have this data.frame from a survey my.data that looks like something like this: col1 col2 col3 col4 1 5 5 4 5 2 3 5 3 1 3 2 3 4 5 4 3 1 1 2 5 5 5 4 5 6 4 2 5 5 .... Each row represents a single questionnaire
2003 Jul 21
1
Analysis of Complex Survey Data
Hi all I would like to perform a logistic regression analysis on some complex survey data with R, but am not sure if there are functions within R that will enable me to do so. Also, are there any extensions of the "cor" function that would enable me to incorporate survey weights when calculating correlation coefficients for bivariate data. Any help on this matter will be greatly
2008 Jan 23
2
survey: estimating a covariance matrix
Hello Does anybody happen to know if it is possible to use the survey package to estimate a covariance matrix from a complex survey? I have design weights and clusters (no strata), and want to get a covariance matrix with preferably the effective sample size or else an estimate of the variance-covariance matrix of the covariance matrix ("asymptotic covariance matrix"). Is this
2005 Dec 02
3
Trouble redirecting traffic on transparent bridge.
I have posted this question to the netfilter mailing list along with #ebtables, #iptables, and #netfilter. Nobody has really responded, so I''m led to believe that it is either incredibly complicated or *really* simple. Please, somebody throw me a bone here! Ok, on with the show... I have a bridge (br0) with two interfaces (eth1 and eth2). Neither br0, eth1, or eth2 have an
2011 Jan 22
2
effect size measure for dependent samples
Any advice on which package I can use for calculating effect sizes for two dependent samples? compute.es seems only to consider independent samples. Thanks in advance Steve Powell [[alternative HTML version deleted]]
2002 Sep 30
3
NT_STATUS_LOGON_FAILURE
I recently upgraded from RedHat 6.2 to 7.3. I had samba running fine so I could mount space on our windows network. Somehow this got broken in the upgrade. My linux box is called k466a and my username there is mcliff. On the windows network I am cliffm. If I do ~$ smbclient -L MCBRAGG -U cliffm added interface ip=128.210.132.45 bcast=128.210.132.255 nmask=255.255.255.0 Password: