similar to: Problem with Poisson - Chi Square Goodness of Fit Test - New Mail

Displaying 20 results from an estimated 300 matches similar to: "Problem with Poisson - Chi Square Goodness of Fit Test - New Mail"

2008 Sep 08
0
Poisson Distribution - Chi Square Test for Goodness of Fit
Dear R-help,   Chi Square Test for Goodness of Fit     Problem Faced :   I have got a discrete data as given below (R script)   No_of_Frauds <-c 1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,2,2,2,1,1,2,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,2,1,1,1,1,1,1,1,3,2,1,1,1,2,1,1,2,1,1,1,1,1,2,1,3,1,2,1,2,14,2,1,1,38,3,3,2,44,1,4,1,4,1,2,2,1,3)   I am trying to fit
2008 Aug 29
0
Poisson Distribution - problem with Chi Square Goodness of Fit test
Chi Square Test for Goodness of Fit   I have got a discrete data as given below (R script)   No_of_Frauds<-c(1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,2,2,2,1,1,2,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,2,1,1,1,1,1,1,1,3,2,1,1,1,2,1,1,2,1,1,1,1,1,2,1,3,1,2,1,2,14,2,1,1,38,3,3,2,44,1,4,1,4,1,2,2,1,3)   I am trying to fit Poisson distribution to this data using R.  
2008 Aug 29
0
Please ignore earlier mail - [ Poisson - Chi Square test for Goodness of Fit]
Dear R-help, ? ? Chi Square Test for Goodness of Fit ? I have got a discrete data as given below (R script) ? No_of_Frauds<-c(1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,2,2,2,1,1,2,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,2,1,1,1,1,1,1,1,3,2,1,1,1,2,1,1,2,1,1,1,1,1,2,1,3,1,2,1,2,14,2,1,1,38,3,3,2,44,1,4,1,4,1,2,2,1,3) ? I am trying to fit Poisson
2006 Jul 10
1
Query:chi-squre test
Hi, I have calculated chi-square goodness of fit test,Sample coming from Poisson distribution. please copy this script in R & run the script The R script is as follows ########################## start ######################################### No_of_Frauds<- c(4,1,6,9,9,10,2,4,8,2,3,0,1,2,3,1,3,4,5,4,4,4,9,5,4,3,11,8,12,3,10,0,7) lambda<- mean(No_of_Frauds) # Chi-Squared
2011 Sep 01
1
vector output loop or function
Dear all Sorry for simple question: I want to put the following option into look as number of X is large 1000 variables X1 <- sample(c(1,2, 3, 4),10, replace = T, prob = c(0.4, 0.2, 0.2, 0.2)) cv1 <- round(runif(2, 1, 10)) # X2 is copy of X1 X2 <- X1 # now X2 is different in cv1 random positions X2[cv1] <- 5 cv2 <- round(runif(2, 1, 10)) # X3 is copy of X2 X3 <- X2
2010 Oct 08
1
MANCOVA
Hi, I have been using R to do multiple analyses of variance with two covariates, but recently found that the results in SPSS were very different. I have check several books and web resources and I think that both methods are correct, but I am less familiar with R, so I was hoping someone could offer some suggestions. Oddly simple ANOVA is the same in SPSS and R. Including covariates improves the
2006 Oct 22
1
disaggregating table
Hi all, This should be easy, but I can't seem to figure it out. I have a table like this named newtable a1 a2 a3 a4 Cnts Score 1 1 0 0 4 3.28 1 0 1 1 2 2.63 I want the following: a1 a2 a3 a4 Cnts Score 1 1 0 0 4 3.28 1 1 0 0 4 3.28 1 1 0 0 4 3.28 1 1 0 0
2013 Jan 18
0
problem that arises after using the new version of "BRugs"
Respected Sir, With reference to my mail to you and the reply mail by you dated 9th and 16th January, 2013, I am sending the reproducible code in the attached document named " MODIFIED ANS ". I am also attaching the txt file named "hazModel", which is required to save in my documents folder to run the program. The file also contains the error message
2016 Oct 25
0
[GIT PULL v2 4/5] processor.h: Remove cpu_relax_lowlatency users
With the s390 special case of a yielding cpu_relax implementation gone, we can now remove all users of cpu_relax_lowlatency and replace them with cpu_relax. Signed-off-by: Christian Borntraeger <borntraeger at de.ibm.com> --- drivers/gpu/drm/i915/i915_gem_request.c | 2 +- drivers/vhost/net.c | 4 ++-- kernel/locking/mcs_spinlock.h | 4 ++--
2009 Dec 26
3
How to manipulate tables
I am sorry to be bothering the list so much. I made a table of counts of flight arrivals by hour: cnts=tapply(Arrival4,list(Hour),table). There are up to 15 arrivals in a bin. > cnts $`0` 1 2 3 4 5 6 7 8 9 10 13 1 2 5 9 2 7 5 4 2 4 1 $`1` 1 2 3 4 3 2 2 1 $`2` 1 3 2 2 . . . My first problem is how to get this table filled in with the 0 slots. E.g., I want $`0` 1 2
2004 Jan 14
1
cca in vegan
Hello all, I'm hoping this is a simple problem. I'm trying to do cca of my data. I have my plant data and environmental data as 2 separate files. I have 3 years of data, stacked vertically, within these files. I want to conduct the cca for each year and am trying to create separate year files using the following: cnts94 <- cnts[1:27,] env94 <- env[1:27,] when I run
2006 Jun 16
0
The qurey about kolmogorov-smirnov test & adding the trendline to graph
I am hereby forwarding the data & method use to calculate the Kolmogorov-Smirnov goodness of fit test made manually by me in R launguage which deffers with the actual inbuilt formula as shown below. Further I have plot the graph in R. In that graph how to add trendline (i.e. straight line passing through maximum points in plot) to a Plot. R script is as follows please run this script to see
2017 Nov 07
1
Pathview xml issue
Hi, I'm using GAGE/pathview to analyze my RNA-seq and phospho-protein data. The following error occurs after this command line below: >pv.out.list <- sapply(path.ids2[1:3], function(pid) pathview( gene.data = cnts.d, pathway.id = pid, gene.idtype="SYMBOL",kegg.native = F, same.layer = T, species = "hsa", kegg.dir = "test", out.suffix = "up"))
2011 Oct 06
1
counts in quantiles in and from a matrix
Hello, I'm trying to get the count of values in each row that are above and below quantile thresholds. Thanks! Example: > x = matrix(1:30,5,6) > x [,1] [,2] [,3] [,4] [,5] [,6] [1,] 1 6 11 16 21 26 [2,] 2 7 12 17 22 27 [3,] 3 8 13 18 23 28 [4,] 4 9 14 19 24 29 [5,] 5 10 15 20 25 30 > qtl = t(apply(x, 1,
2004 Mar 12
0
tftpd error message (File not found)
Hi, when i look in my syslog i see. (syslog) Mar 12 04:40:49 linuxdev in.tftpd[15218]: RRQ from 10.1.5.121 filename scx.elf.gz Mar 12 04:40:49 linuxdev in.tftpd[15218]: sending NAK (1, File not found) to 10.1.5.121 here my client has asked for a file, and tftpd has said that it does not exist in its path (or cannot access it). looking in the tftpd.c (from 0.36) i see that on line 779 this
2012 Jan 12
1
Questions about attacks on Xen
I have some questions about attacks on Xen. I am preparing a paper for an operating system we have built on top of Xen and I want to ensure we have certain facts straight. Among the things I have read include "Xen and the Art of Virtualization" and the XOAR paper. First, what power does Dom0 have? Of course I know that Dom0 manages the other domains and has direct access to hardware. I
2001 Feb 16
2
Serial Port Access
Hi,. I have some legacy applications for MSDOS / 95 and a new NT version of an application that i would like to use. I have un-commented the lines in wine.conf about serial access but i cant seem to get any MSDOS or win32 application to talk, is this currently supported in (the lateset) wine ? regards --- Matthew J Fletcher NPD Firmware When did ignorance become a point of view ? ---
2009 Jul 16
1
Theil test help
Hello, I have a series of questions that I hope will be simple to answer. Basically I would like a code to do the following so that I can compute the distribution free test for the slope of a postulated regression line (Theil test). As I am testing the null hypothesis that slope = 0 against the general alternative the slope does not equal 0, it should be pretty straight-forward. I have a data
2010 Dec 15
0
package JM -- version 0.8-0
Dear R-users, I'd like to announce the release of the new version of package JM (soon available from CRAN) for the joint modeling of longitudinal and time-to-event data using shared parameter models. These models are applicable in mainly two settings. First, when focus is in the survival outcome and we wish to account for the effect of a time-dependent covariate measured with error.
2010 Dec 15
0
package JM -- version 0.8-0
Dear R-users, I'd like to announce the release of the new version of package JM (soon available from CRAN) for the joint modeling of longitudinal and time-to-event data using shared parameter models. These models are applicable in mainly two settings. First, when focus is in the survival outcome and we wish to account for the effect of a time-dependent covariate measured with error.