similar to: binomial distribution

Displaying 20 results from an estimated 2000 matches similar to: "binomial distribution"

2008 Jun 23
3
Simulating Gaussian Mixture Models
Hi, Is there any package that I can use to simulate the Gaussian Mixture Model , which is a mixture modeling method that is widely used in statistical learning theory. I know there is a mclust, however, I think it is a little bit different from my problem. Thanks very much.. regards. -------------------------- Peng Jiang ?? Ph.D. Candidate Antai College of Economics &
2008 Sep 16
5
How to find the index
Dear R experts, i have a vector z , i have to do something after z is sorted. how can i find the original index, i.e., before sorting, of a certain element in the sorted vector . thanks in advance regards ----------------------------------------------- Peng Jiang ?? ,Ph.D. Candidate Antai College of Economics & Management ???????? Department of Mathematics ??? Shanghai Jiaotong
2008 Jul 08
1
about EM algorithm
Hi, dear R experts . is there any package contain an universal EM procedure, that is , for arbitrary d.f. , not just the one in mclust . thanks in advance best regards ----------------------------------------------- Peng Jiang ?? ,Ph.D. Candidate Antai College of Economics & Management ???????? Department of Mathematics ??? Shanghai Jiaotong University (Minhang Campus) 800 Dongchuan Road
2008 Jul 03
2
what can we do when R gives no response
Hi, dear R experts , I am new. I met this problem when I am trying to learn how to use the nlminb() function. I tried the example which the document provides ( as the following code ) and R gives no response . I don't know whether it is running or not and it takes a very long time but still output nothing so I just close the session window. my question is is there any method
2008 Jun 24
2
How to solve empty cells in the contingency table?
Hi,Dear all R experts, I am trying to do the 2-way contingency table analysis by fitting the loglinear models. However, I found my table has several empty cells which are theoretically missing values.I have no idea of how to solve them coz we cannot compute the simulated p-value with zero marginals.Does someone have some suggestions? Please help me out, thanks a lot! Cheers, Yan
2008 Jun 28
2
String concatenation
Hi, Is the following function built in somewhere? concat = function(v) { res = "" for (i in 1:length(v)) res = paste(res,v[i],sep="") res } e.g. > concat(c("12","3","45")) [1] "12345" Cheers, Andy -- Andy Fugard, Postgraduate Research Student Psychology (Room F3), The University of Edinburgh, 7 George
2008 Jul 01
2
if one of 4 conditions is not satisfied
I'm trying to do realize the following: I have 4 condtions. If all conditions are satisfied I will paste("PASS") If any of these is not satisfied I will paste("FAIL"). But I have to paste the corresponding failure. ifelse is a good solution but for a 2 conditions. Maybe switch or something like this. Does anyone have an idea how to do? Thanks in advance. Adel -- View
2008 Jun 18
3
Cluster on both categorical and numerical data
Hello there. Is there any function in R that can do cluster on a set of data that has both categorical and numerical variables? thanks. siangli
2008 Jul 05
5
help about random generation of a Normal distribution of several variables
Hello. Somebody knows how can I generate a set of n random vectors of a normal distribution of several variables? For example, I want to generate n=100 random vectors of two dimensions for a normal with mean c(0,1) and variance matrix: matrix(c(2,1,1,3),2,2). Thanks in advance, Arnau.
2008 Jun 30
6
Plotting three time series on the same graph
Dear R Users, I would like to plot three time series on the same graph, two axis on the left and one axis on the right. The time series that I am graphing on the left do not share a similar scale: one has a range of 1:100 and the other a range of 25000:70000. How can I display the tick marks for both on the left hand side without superimposing them, i.e. one set of tick marks in black right
2008 Jun 30
0
Fwd: cannot install the package RMySQL
Hi, I first report the installing error to the r-sig-mac mailing list but it seems nobody ever encounter this annoying problem and I got no replies. so I am trying to forward it to this list, hope it never bothers. Anyone had the same problem, or what does the warning message mean ? Thank you in advance ! Begin forwarded message: > From: Peng Jiang <jp021@sjtu.edu.cn> > Date:
2010 Jan 20
3
problem with origin of a plot
Dear list, I have somewhat a small problem with a plot in R. I want to produce a plot with the two axis intersection being the exact values of ( 5,6). The code i am using is" BN<-c(14.95,9.03,10.42,9.3,9.52,7.73,6.35,6.73,5.54,5.42,6.24,5.98,6.21,5.83,7.14,5.79,5.57,7.43,9.19,10.17,9.79,9.56,9.87,9.33,10.56,10.08,9.49,8.49,7.34,6.14,5.98,7.27,5.56,
2012 Sep 26
1
Specifying a response variable in a Bayesian network
I'm trying to teach myself about Bayesian Networks and am working with the following data and the bnlearn package. I understand the conceptual aspects of BNs, but I'm not sure how to specify the response variables in R when constructing a dag plot. I've cecked ?hc and done numerous google searches without luck. Can anyone help? library("bnlearn")
2008 Nov 24
6
optimization problem
Dear list, hi ! I am a R beginner and I have a function to optimize . alpha = argmin{ f(x,alpha) } I want alpha to be in [0,1]. Is there any function that can work? I use nlm() but i can't fix the domain of alpha. thanks in advance _______________________ Jiang Peng, Ph.D. Candidate Department of Mathematics & Antai college of Economics and Management Shanghai Jiao
2011 Dec 07
1
removing specified length of text after a period in dataframe of char's
Dear all, I'm trying to remove some text after the period (a decimal point) in the data frame 'hi', below. This is one step in formatting a table. So I would like e.g. "2.0" to become "2" and "5.3" to be "5.3", where the variable digordered contains the number of digits after the decimal that I would like to display, in the same order in which
2008 Oct 09
1
YALAQ - Yet Another LApply Question
Hello, Two lapply questions (system info and sample data below): 1) Why does the first form of command1 add the name of y _after_ the str() output rather than before as does the second (preferred) form? # command1 version1 invisible(lapply(ls(pattern='bn'), function(y) cat(y, "\n", str(get(y)), "\n") )) # command1 version2 (preferred output)
1998 Dec 16
1
Deleting Roaming Profiles
Hello, If you don?t want (Who wants ?) to save roaming profiles under Winnt\Profiles, than you have to change, or create (if not exist) a registry string: Run regedt32.exe and locate the key entry: HKEY_LOCAL_MACHINE\Microsoft\Microsoft\Windows NT\CurrentVersion\Winlogon Add (or change) the following string: DeleteRoamingCache Standard value is 0, it has to be 1 All the Best. --
2008 Nov 03
1
a nlm question
Dear R listers, I posted this problem several days ago but it seems nobody answered. I use nlm to optimize a given function ,but it always generates the following warnings " Error in nlm(foo, theta.start) : non-finite value supplied by 'nlm' " I don't know why ,can anybody give me some hints ?? thanks in advance. regards .
2013 Oct 09
1
Using "cpquery" function from bnlearn package inside loop
Hi everyone, I'm attempting to use the bnlearn package to calculate conditional probabilities, and I'm running into a problem when the "cpquery" function is used within a loop. I've created an example, shown below, using data included with the package. When using the cpquery function in a loop, a variable created in the loop ("evi" in the example) is not
2010 Feb 05
1
Error 11: can not backup /var/lib/zope2.9
Moin, I wrote a small backup script that use rsync: r5backup (http://sourceforge.net/projects/r5backup/). It backup dozen of unix machines for many people. But when I try to backup /var/lib/zope2.9 I get an error 11. It does not matter if zope is running or not. I can't see an error meassge in the (verbose) logfile: [client] parse_filter_file(/etc/r5backup/profiles/boulder.exclude,0,3)