similar to: Logistic regression X^2 test with large sample size (fwd)

Displaying 20 results from an estimated 7000 matches similar to: "Logistic regression X^2 test with large sample size (fwd)"

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).
2008 Nov 12
1
Crosstabs Output
Hi, I'm a new R user. I noticed that RKWard has a really nice output when it does crosstabs. It even includes the chi-squared values. However, I obviously can't simply copy this into my standalone R script. Does anyone know the code or a way for me to view the code. Secondly, if I am writing an R script I want to be able to view the output as a pdf even if my function is not a graph,
2002 Feb 13
3
xtabs
Hi, In Splus if I call the function crosstabs() the output is a contigency table; in each cell of the table is printed: N, N/RowTotal, N/ColTotal, N/Total. N is the number of observations in each cell. The same call to xtabs() in R will produce the contigency table but the only entry in each cell is N. How can I get the same relative frequencies that crosstabs() gives? Thanks, mike --
2004 Jul 01
1
xtabs
I'm running 1.9.1 on Mac OS X 10.1. My simple question is whether there is a crosstabs-like command (I know about "xtabs" which is much like "table") that computes not only cell counts but also row, column, and cell percents. Something like crosstabs(~x+y) in S-PLUS. Thank you.
2000 May 17
1
crosstabs
Hi all! What is the equivalent R function of SPLUS crosstabs? Thank you. Danar. Stat. Inst. Umea Univ. Umea, Sweden -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To:
2000 Oct 24
2
Crosstabs function
Is there a crosstabs function like the one found in S-Plus available in any of the R addon packages? I can't seem to locate anything other than the chisq.test, which is adequate but does not yield the output customarily required with any journal submission (in my field). (S-Plus, SPSS, SAS all provide examples of the required output). If there isn't such a function already
2008 Aug 01
1
Major difference in the outcome between SPSS and R statistical programs
Dear collegues, I have used R statistical program, package 'lmer', several times already. I never encountered major differences in the outcome between SPSS and R. ...untill my last analyses. Would some know were the huge differences come from. Thanks in advance, Ronald In SPSS the Pearson correlation between variable 1 and variable 2 is 31% p<0.001. In SPSS binary logistic
2003 Apr 24
3
Detailed contingency tables
Is there any existing function for creating contingency tables that will display counts, row, column, and cell percentages in the same tables....anything similar to crosstabs in S? Marc W. Zodet, MS Health Statistician Center for Cost and Financing Studies Division of Statistical Research and Methods 2101 East Jefferson Street, Suite 500 Rockville, Maryland 20852 Phone: 301-594-7072 Fax:
2000 Feb 03
1
Merge?
I see that feature freeze for a better than ever R has been announced. May I ask if there will be or could be "merge" function for data frames? I believe it would be very nice if this were "centrally" implemented (with regard to my humble steps to writing such a function and the related error and other precautions). I know from VR2R.pdf (courtesy Profs. Venables and Ripley)
2009 Apr 07
2
newbie query: simple crosstabs
I've been playing around with various table tools, trying to construct a fairly simple cross-tab. It shouldn't be hard, but for some reason it turning out to be (for me). If I want to see how many men and how many women agree with a agree/disagree question (coded 1,0), I can do this: >attach(mydata) >mytable <- table(male, q1.bin) # gender and a binary response variable
2004 Oct 18
0
I seem to be doing Dcv wrong
There is a paper (1) A new metric for categorical data, by S. H. Al-Harbi, G. P. McKeown, and V. J. Rayward-Smith, in Statistical Data Mining and Knowledge Discovery, ed. Hamparsum Bozdogan, CRC Press, 2004. This paper introduced a distance measure Dcv for clustering. I have _not_ read this paper myself, and do not as yet have access to a copy of it, but I'm trying to make sense of
2000 Nov 21
1
S function crosstabs
Hello there, I'm quite new with R. Does anybody know a true variant in R of the Splus function "crosstabs" to create contingency tables, with the possibility of assigning a weight variable? Thanx Tim -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2000 Jan 31
1
Crosstabs?
Is there an equivalent in R to the crosstabs command S-Plus? I've been searching for a while and can't seem to find anything. Thanks. Mark J. Lamias Department of Statistics Department of Political Science Survey Methodology Program/Survey Research Center Institute for Social Research - University of Michigan 426 Thompson Street, Room 315 Ann Arbor, Michigan 48104-2321 (734) 647-5381
2006 Jul 05
1
Crosstabs
Dear Users, I'm a complete novice to R. I need to do a crosstabs in R, but my data is almost completely alphanumeric (with some variables scaled). The Table routine does not seem to accept alphanumeric data. What should I do? Do I need to recode it? How should I do that? Thanks in advance, Wilfred
2002 Jul 11
0
lattice and crosstabs with empty cells
Suppose you have a dataframe with two factors, but not all the factor levels appear together. For instance: stuff<- structure(list(fac1 = structure(c(2, 1, 2, 2), .Label = c("down", "up"), class = "factor"), fac2 = structure(c(1, 2, 1, 2), .Label = c("left", "right"), class = "factor"), x = c(1, 1, 2, 2), y = c(1, 2, 2, 1)),
2009 Aug 21
1
intra-class correlation? coherence among multiple ordinal responses
I have a quick statistical question and hoped somebody has a tip for me without me having to go to the local statistician on Monday. I assess 4 statements from 90 subjects. Each of the 4 statements receives one of three responses (say -1, 0, or 1). I can use Cramer's V or Spearman correlations to assess the correlation between each pair of statements, but I am looking for a measure of
2007 Jun 15
1
complex contrasts and logistic regression
Hi, I am doing a retrospective analysis on a cohort from a designed trial, and I am fitting the model fit<-glmD(survived ~ Covariate*Therapy + confounder,myDat,X=TRUE, Y=TRUE, family=binomial()) My covariate has three levels ("A","B" and "C") and therapy has two (treated and control), confounder is a continuous variable. Also patients were randomized to
2001 Nov 14
1
xtable and table()
Greetings- A relatively small request, but here goes. I have some crosstabs, generated with table(), in R: > table(pg.df$grouptype,pg.df$age) 0 1 2 3 4 B 1 3 6 8 3 C 1 3 4 10 7 P 0 2 9 9 8 S 2 9 4 5 16 U 0 15 15 3 0 X 0 0 0 0 0 I would like to export these in latex format using xtable(). But it appears there's no appropriate method for
2011 Oct 25
1
Glmnet Logistic Variable Questions
We are workin on building a logistic regression using 1. We are doing a logistic regression with binary outcome variable using a set of predictors that include 8 continuous and 8 category predictors 2. We are trying to implement interaction between two variables (continuous and category or just continuous) The dataset is 200,000 rows and we are using glmnet, how can we model those two points ?
2012 Apr 04
0
crosstabs and histograms with flexible binning of dates
Hi, First, thank you to Duncan Mackay for getting me started processing dates with R. Unfortunately, I need to do a little more than I initially expected. I have 5K lines of data that look like this: ID AREA DATE 0001 Center 2010-10-15 0002 Center 2010-01-02 0003 NorthWest 2010-02-05 0004 SouthWest 2010-05-11 I would like to create a script to create crosstabs like