search for: researchmethodsinpsycholog

Displaying 20 results from an estimated 21 matches for "researchmethodsinpsycholog".

2011 Feb 08
1
Generate data from correlation matrix
...h would generate data from a pre-specified correlation matrix (as in the Stata command r2corr) or sampled from a population with a specific covariance/correlation. (I thought I'd check before I wrote something inelegant and slow.) Jeremy -- Jeremy Miles Psychology Research Methods Wiki: www.researchmethodsinpsychology.com
2010 May 15
1
Dataframe to word, using R2wd
...hat the table is - it seems to be nested tables. Converting to text gives one long column.) Using wdBody(MyDataFrame) or wdNormal(MyDataFrame) Is there another way to use R2wd to send the dataframe to word? Thanks (in advance) Jeremy -- Jeremy Miles Psychology Research Methods Wiki: www.researchmethodsinpsychology.com
2010 Dec 14
0
Merge() error
...np, bt to bt,np. The code always worked fine before, until someone 'helpfully' duplicated some of the variables across the data frames, so in addition to caseid, each also contains AuthorYr and StudyDesign. Thanks, Jeremy -- Jeremy Miles Psychology Research Methods Wiki: www.researchmethodsinpsychology.com [[alternative HTML version deleted]]
2011 Mar 05
2
testing power of correlation
Dear List, does anyone know how I can test the strength of a correlation? Cheers, Anna
2007 Jun 12
1
getting R2.4 (Win)
...windows installer, it doesn't seem to be available on CRAN (except the source, which needs compiling). Does anyone know if it's still available anywhere? Thanks, jeremy -- Jeremy Miles Learning statistics blog: www.jeremymiles.co.uk/learningstats Psychology Research Methods Wiki: www.researchmethodsinpsychology.com
2010 Feb 11
2
R ANOVA gives diferent results than SPSS
I guess my subject says it all. But I loaded a dataset in spss and used the foreign package to read and save it in R. Running an anova (using the aov command) gives a different F and p value in R than it does in SPSS. ANy idea what is going on? -- View this message in context: http://n4.nabble.com/R-ANOVA-gives-diferent-results-than-SPSS-tp1477322p1477322.html Sent from the R help mailing list
2010 Aug 19
1
meta-analysis in R
Dear Sir or Madam, I am trying to explore the citation bias by perfroming meta-analysis. I need to plot a forest plot on some other proportions other than the usual effect size OR,RR, RD. I still do not have any idea after searching google and reading relevant books. Can anyone kindly help? Thank you in advance. Best wishes weiwei [[alternative HTML version deleted]]
2010 Sep 30
2
can I add line breaks to the paste() function?
Can I add a line break to the paste() function to return the following: 'this is the first line' 'this is the second line' instead of 'this is the first line this is the second line' ?
2010 Oct 07
1
FDR
Dear R users, I am wondering about the following results: > p.adjust(c(0.05,0.05,0.05),"fdr") [1] 0.05 0.05 0.05 > p.adjust(c(0.05,0.04,0.03),"fdr") [1] 0.05 0.05 0.05 Why does p.adjust(..., "fdr") not adjust p-values, if they are constant? Does somebody have an explanation or can point to a reference? Thanks in advance, Will
2011 Apr 21
1
Rcmdr vs SPSS in hungarian
An embedded and charset-unspecified text was scrubbed... Name: nem el?rhet? URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110421/2b2b582b/attachment.pl>
2011 Apr 20
2
Rcmdr vs SPSS
An embedded and charset-unspecified text was scrubbed... Name: nem el?rhet? URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110420/4913654b/attachment.pl>
2010 Jun 28
2
Note on PCA (not directly with R)
Dear all, I am looking for some interactive study materials on Principal component analysis. Basically I would like to know what we are actually doing with PCA? What is happening within the dataset at the time of doing PCA. Probably a 3-dimensional interactive explanation would be best for me. I have gone through some online materials specially Wikipedia etc, however what I need a "movable
2010 Oct 21
4
how do I make a correlation matrix positive definite?
Hi, If a matrix is not positive definite, make.positive.definite() function in corpcor library finds the nearest positive definite matrix by the method proposed by Higham (1988). However, when I deal with correlation matrices whose diagonals have to be 1 by definition, how do I do it? The above-mentioned function seem to mess up the diagonal entries. [I haven't seen this complication, but
2011 Mar 27
2
Structural equation modeling in R(lavaan,sem)
I am a new user of the function sem in package sem and lavaan for structural equation modeling 1. I don?t know what is the difference between this function and CFA function, I know that cfa for confirmatory analysis but I don?t know what is the difference between confirmatory analysis and structural equation modeling in the package lavaan. 2. I have data that I want to analyse but I have some
2010 Mar 05
4
Nonparametric generalization of ANOVA
My interpretation of the relation between 1-way ANOVA and Wilcoxon's test (wilcox.test() in R) is the following. 1-way ANOVA is to test if two or multiple distributions are the same, assuming all the distributions are normal and have equal variances. Wilcoxon's test is to test two distributions are the same without assuming what their distributions are. In this sense, I'm wondering
2009 Nov 08
2
Simple 2-Way Anova issue in R
Hello, I'm new to R and have been following many guides including the two-way anova (http://www.personality-project.org/r/r.anova.html). Using that walkthrough including the supplied data I do str(data.ex2) and receive the appropriate types of data as follows: > str(data.ex2) 'data.frame': 16 obs. of 4 variables: $ Observation: int 1 2 3 4 5 6 7 8 9 10 ... $ Gender :
2010 Aug 20
7
which one give clear picture-pdf, jpg or tiff?
Hi, I need some opinion.  I would like to use graph that I generate from R code and save it into word document.  Which format is better? pdf, jpeg or tiff? Thank you. [[alternative HTML version deleted]]
2010 Jun 16
4
Is there a non-parametric repeated-measures Anova in R ?
Hello Prof. Harrell and dear R-help mailing list, I wish to perform a non-parametric repeated measures anova. If what I read online is true, this could be achieved using a mixed Ordinal Regression model (a.k.a: Proportional Odds Model). I found two packages that seems relevant, but couldn't find any vignette on the subject: http://cran.r-project.org/web/packages/repolr/
2010 Jun 30
3
Logistic regression with multiple imputation
Hi, I am a long time SPSS user but new to R, so please bear with me if my questions seem to be too basic for you guys. I am trying to figure out how to analyze survey data using logistic regression with multiple imputation. I have a survey data of about 200,000 cases and I am trying to predict the odds ratio of a dependent variable using 6 categorical independent variables (dummy-coded).
2009 Nov 25
4
Structural Equation Models(SEM)
Hi R-colleagues. In the sem-package i have a problem to introduce hidden variables. As a simple example I take an ordinary factor analysis. The program: cmat=c(0.14855886, 0.05774635, 0.08003300, 0.04900990, 0.05774635, 0.18042029, 0.11213013, 0.03752475, 0.08003300, 0.11213013, 0.24646337, 0.03609901, 0.04900990, 0.03752475, 0.03609901, 0.31702970)