similar to: OT: A test with dependent samples.

Displaying 20 results from an estimated 9000 matches similar to: "OT: A test with dependent samples."

2006 Dec 26
3
McNemar test in R & SPSS
Hello, I am hoping someone can clarify why I might obtain a quite different value in R & SPSS for a McNemar test I ran. Firstly, here is the R syntax & output R OUTPUT > mctest <- as.table(matrix(c(128,29,331,430), + ncol =2, dimnames = list(group=c("preMHT","postMHT"), + assault=c("yes","no")))) > mctest assault
2010 Dec 28
1
Problem applying McNemar's - Different values in SPSS and R
Hi friends, I get different values for McNemar's test in R and SPSS. Which one should i rely on when the p values differ. I came across this problem when i started learning R and seriously give up on SPSS or any other proprietary software. Thank u in advance Output in SPSS follows *Crosstab* hsc Total ABN NE ABN tvs ABN Count 40 3 43 Row % 93.0% 7.0%
2009 Jul 19
1
Can I use "mcnemar.test" for 3*3 tables (or is there a bug in the command?)
Hello all, I wish to perform a mcnemar test for a 3 by 3 matrix. By running the slandered R command I am getting a result but I am not sure I am getting the correct one. Here is an example code: (tt <- as.table(t(matrix(c(1,4,1 , 0,5,5, 3,1,5), ncol = 3)))) mcnemar.test(tt, correct=T) #And I get: McNemar's Chi-squared
2005 Jan 24
1
mcnemar.test odds ratios, CI, etc.
Does anyone know of another version of the Mcnemar test that provides: 1. Odds Ratios 2. 95% Confidence intervals of the Odds Ratios 3. Sample probability 4. 95% Confidence intervals of the sample probability Obviously the Odds Ratios and Sample probabilities are easy to calculate from the contingency table, but I would appreciate any help on how to calculate the confidence
2010 Sep 14
1
Using McNemar's test to detect shifts in response from pre- to post-treatment
Hello Everyone,   I've been asked to check if there is a significant difference in the following:                     Pre        Post Group A     15/19     14/19 Group B     14/19     10/19   My sense is that I need to perform McNemar's test on these data because responses are correlated within patient from the pre-test to the post-test.   The question is how to do this. I'm a SAS user
2009 Jul 24
2
How to test frequency independence (in a 2 by 2 table) with many missing values
Hello dear R help group. My question is statistical and not R specific, yet I hope some of you might be willing to help. *Experiment settings*: We have a list of subjects. each of them went through two tests with the answer to each can be either 0 or 1. *Goal*: We want to know if the two experiments yielded different results in the subjects answers. *Statistical test (and why it won't
2006 Sep 18
1
Cochrans Q Test
Hi! I would like to conduct a Cochran`s Q Test in R, but have not found any suitable function. My first idea was: J <- as.table(matrix(c(6,16,2,4),ncol=2, dimnames = list("C" = c("Favorable","Unfavorable"),"Drug A Favorable"=c("B Favorable","B Unfavorable")))) L <- as.table(matrix(c(2,4,6,6),ncol=2, dimnames =
2013 Feb 01
2
Nested loop and output help
Hello Everyone, My name is Thomas and I have been using R for one week. I recently found your site and have been able to search the archives of posts. This has given me some great information that has allowed me to craft an initial design to an inquiry I would like to make into the breakdown of McNemar's test. I have read an intro to R manual and the posting guides and hope I am not violating
2009 Jun 22
2
Automatically Adding Categories
Greetings, I have two files which contain responses to a series of multiple choice questions. One file contains responses before an "intervention" and the other contains the responses afterward. There were three possible responses to each question: D, F, T (for Don't Know, False, and True). I would like to try McNemar's test to determine if there was any significant
2005 Jun 23
1
the dimname of a table
i have a data frame(dat) which has many variables.and i use the following script to get the crosstable. >danx2<-c("x1.1","x1.2","x1.3","x1.4","x1.5","x2","x4","x5","x6","x7","x8.1","x8.2","x8.3","x8.4","x11",
2006 Apr 13
1
about McNemar
Hello sir: How can I perform McNemar (paired chi square test) by using R? Thanks! ------------------------------ ******************************************* Xin Meng Capitalbio Corporation National Engineering Research Center for Beijing Biochip Technology BioPharma-informatics & Software Dept. Research Engineer Tel: +86-10-80715888/80726868-6438 Fax: +86-10-80726790 Email??xmeng
2008 Jul 25
2
Package Hmisc, functions summary.formula() and latex(), options pdig, pctdig, eps and prmsd
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080725/bcafe250/attachment.pl>
2006 Sep 26
2
treatment effect at specific time point within mixed effects model
All, The code below is for a pseudo dataset of repeated measures on patients where there is also a treatment factor called "drug". Time is treated as categorical. What code is necessary to test for a treatment effect at a single time point, e.g., time = 3? Does the answer matter if the design is a crossover design, i.e, each patient received drug and placebo? Finally, what would
2006 Oct 05
2
treatment effect at specific time point within mixedeffects model
Hi David: In looking at your original post it is a bit difficult to ascertain exactly what your null hypothesis was. That is, you want to assess whether there is a treatment effect at time 3, but compared to what. I think your second post clears this up. You should refer to pages 224- 225 of Pinhiero and Bates for your answer. This shows how to specify contrasts. > -----Original Message-----
2015 Jan 29
3
pregunta
Estimados Para analizar tres muestras cualitativas independientes se utiliza Cochran-Mantel-Haenszel test ?Cual script es el adecuado para analizar tres variables dependientes? en MCNEMAR solo se permite analizar dos variables cualitaticvas dependientes saludos José [[alternative HTML version deleted]]
2018 Mar 05
0
data analysis for partial two-by-two factorial design
Hi Bert and David, Thank you so much for willingness to spend some time on my problem!!! I have some statistical knowledge (going to get a master in applied statisitics), but do not have a chance to purse a phD for statistics, so I am always be careful before starting to do analysis and hope to gather supportive information from real statisticians. Sorry that I did not tell more info about
2018 Mar 05
5
data analysis for partial two-by-two factorial design
David: I believe your response on SO is incorrect. This is a standard OFAT (one factor at a time) design, so that assuming additivity (no interactions), the effects of drugA and drugB can be determined via the model you rejected: For example, if baseline control (no drugs) has a response of 0, drugA has an effect of 1, drugB has an effect of 2, and the effects are additive, with no noise we
2007 May 14
1
Nicely formatted summary table with mean, standard deviation or number and proportion
Dear all, The incredibly useful Hmisc package provides a method to generate summary tables that can be typeset in latex. The Alzola and Harrell book "An introduction to S and the Hmisc and Design libraries" provides an example that generates mean and quartiles for continuous variables, and numbers and percentages for count variables: summary() with method = 'reverse'. I
2013 Feb 17
2
nested random factor using lme produces errors
Hi, I am running a mixed-effect model with a nested-random effect. I am interested in gut parasites in moose. I has three different type of treatment that I applied to moose which are from different "families". My response variable is gut parasites and the factors are moose families which is nested within treatment. My data is balanced. To answer this question, I used the lme function
2009 Jun 01
1
using "cochran.test()" as a "mcnemar.test()" ?
Hello all I wish to perform a mcnemar.test() for a 5X5 matrix. Wikipedia tells me (http://en.wikipedia.org/wiki/Cochran_test) I should turn to cochran.test. The only place I found it was in the "outliers" package, but the command cochran.test() acts differently then mcnemar.test() , and doesn't take a table as input. Any ideas on how to use it ? #Example code: aa =