Displaying 20 results from an estimated 3000 matches similar to: "How can I do these simulations with R code"
2008 Oct 23
1
distribution fitting
Dear R-help readers,
I am writing to you in order to ask you a few questions about distribution
fitting in R.
I am trying to find out whether the set of event interarrival times that I
am currently analyzing is distributed with a Gamma or General Pareto
distribution. The event arrival granularity is in minutes and interarrival
times are in seconds, so the values I have are 0, 60, 120, 180, and
2007 Sep 10
1
MLE Function
I am just trying to teach myself how to use the mle function in R because it is much better than what is provided in MATLAB. I am following tutorial material from the internet, however, it gives the following errors, does anybody know what is happening to cause such errors, or does anybody know any better tutorial material on this particular subject.
>
2009 Sep 11
1
call Fortran from R
Dear R users,
I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10
machine).
Suppose I have a fortran code like this (this is only a toy model, my
working model is far more complex, but input/output is similar)
DOUBLE PRECISION FUNCTION model(times, alfa, beta)
DOUBLE PRECISION alfa, beta, times
model=beta*sin(times)+alfa*cos(times)
END FUNCTION
which
2005 Sep 06
2
(no subject)
my problem actually arised with fitting the data to the weibulldistribution,
where it is hard to see, if the proposed parameterestimates make sense.
data1:2743;4678;21427;6194;10286;1505;12811;2161;6853;2625;14542;694;11491;
?? ?? ?? ?? ?? 14924;28640;17097;2136;5308;3477;91301;11488;3860;64114;14334
how am I supposed to know what starting values i have to take?
i get different
2008 May 08
3
MLE for noncentral t distribution
I have a data with 236 observations. After plotting the histogram, I found that it looks like non-central t distribution. I would like to get MLE for mu and df.
I found an example to find MLE for gamma distribution from "fitting distributions with R":
library(stats4) ## loading package stats4
ll<-function(lambda,alfa) {n<-200
x<-x.gam
2011 Aug 04
1
GitHub - How to resolve this issue of preventing push to origin?
When I try to push my application to ''GitHub'' using ''Git'', I get the
following:
$ git push origin master
Enter passphrase for key ''/c/Users/Medicine - SWEng/.ssh/id_rsa'':
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
**EDIT:**
Output of running `git remote -v`:
$ git remote -v
heroku
2017 Jul 30
2
greek letters do not work in expression
> On Jul 30, 2017, at 8:25 AM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:
>
>
>
> On 30.07.2017 17:22, Milan Cisty wrote:
>> Dear all,
>> I appreciate suggestions for following problem. I wrote to RStudio:
>> plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
>> or the same happen when I wrote:
>> plot(c(1,20),c(1,20), xlab =
2005 Nov 22
1
spnego_gen_negTokenTarg failed: No credentials cache found
Hello everybody!
I keep on trying to make my samba installation to work. I have tried a
couple threads before but I have not been able to pinpoint the problem.
So, yesterday I made a second last attempt to solve the problem before
my boss forces me to install Windows2003 since it works out of the box.
The scenario is that I'm trying to use Samba (Suse 10) as a fileserver
that
2017 Jul 30
3
greek letters do not work in expression
Dear all,
I appreciate suggestions for following problem. I wrote to RStudio:
plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
or the same happen when I wrote:
plot(c(1,20),c(1,20), xlab = expression(alfa))
what happen is, that description under x label is exactly "alpha", not greek
letter alfa (?).
Please where should I search problem, or what information to sent to list for
2005 Sep 12
1
fit data with gammadistribution
hello
my data is
data2:2743 4678 21427 6194 10286 1505 12811 2161 6853 2625 14542 694
11491 14924 28640 17097 2136 5308 3477 91301 11488 3860 64114 14334
by calculating
shape<-(mean(data2))^2/var(data2)
scale<-var(data2)/mean(data2)
i get the idea what the parameters of the gammadistribution would be.
but if i try using the method mle() i get stock and i don't know, how to
2006 Apr 28
2
entries that match a regexp
Hi all,
I am trying to filter the element of a df that start with "TF", like
this:
alfa =
c(123221,"TF13124",41243,"TF1234",32414,"TF13124","TF14333",2134123,"TF1234")
beta =
2003 Oct 04
3
a bug of function plot (PR#4405)
Full_Name: Ximing Zhao
Version: R 1.7.1
OS: MacOs X
Submission from: (NULL) (64.136.27.51)
When I used function plot in R 1.7.1, I found two bugs.
My whole function is this:
*****************
drawexp<-function(X,x,c,b){
exp<-function28(X,x,c,b)
if(max(exp)>=max(dexp(x,rate=1))){
plot(x,exp, type="l",main= paste("Exponential ,n=",length(X),"
2017 Oct 20
3
nls() and loop
Hello I?m need fitt growth curve with data length-age. I want to evaluate
which is the function that best predicts my data, to do so I compare the
Akaikes of different models. I'm now need to evaluate if changing the
initial values changes the parameters and which do not allow to estimate
the model.
To do this I use the function nls(); and I randomize the initial values
(real positive number).
2017 Jul 30
0
greek letters do not work in expression
On 30.07.2017 17:22, Milan Cisty wrote:
> Dear all,
> I appreciate suggestions for following problem. I wrote to RStudio:
> plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
> or the same happen when I wrote:
> plot(c(1,20),c(1,20), xlab = expression(alfa))
Write "alpha", not "alfa".
Best,
Uwe Ligges
> what happen is, that description under x label is
2018 Oct 11
1
Ask for little change :)
Is it possible, that dovecot-lmtp, has in inserted "Received:" header
something about its version ie.
instead:
--8<---------------cut here---------------start------------->8---
Received: from alfa.kjonca by alfa.kjonca with LMTP id
n1O7D5Q3v1toSQAApvcrCQ (envelope-from <envelope at from>)
for <kjonca at localhost>; Thu, 11 Oct 2018 13:44:20 +0200
2010 Jul 24
1
Doubt about a population competition function
Hi,
I'm doing a function that describe two populations in competition.
that's the function that i wrote:
exclusao<-function(n10, n20, k1, k2, alfa, beta, t){
n1<-k1-(alfa*n20)
n2<-k2-(beta*n10)
if(t==0){plot(t, n10, type='b', xlim=range(c(1:t),c
(1:t)), ylim=range(n10, n20), xlab='tempo',
ylab='tamanho populacional')
points(t, n20, type='b',
2016 Sep 09
3
Recommendation about an usb wireless adapter to use it as HostAP
Hi all,
I would like to install/test CentOS 7.X as a hostap for my home. I am thinking to use an Alfa (http://www.alfa.com.tw) usb wireless adapter or TP-Link. BUt there is not much information in Alfa's or TP-Link's web sites about which of them can run as a HostAP. If I can find any adapter that supports ac with a throughput of 150 Mbps/300Mbps, it would be great.
Any recommendation?
2008 Oct 17
2
function help
Hi everyone,
I have dataset which I make a sample of it couple of times and each time I
get the mean and standard deviation of each row for each sample. I have a
function for that, which takes the name of the file and number of times to
sample and then returns the mean and standard deviation for each row in each
sample.
Sample=function(name, n){
2020 Jan 22
2
Good wifi NIC?
Good morning,
I'm looking for a good USB Wifi NIC that will work with the kernel modules
for a stock CentOS 8.1. I have an ALFA AWUS036ACH NIC but it looks like the
drivers need to compiler for the kernel and I'm having trouble with that.
So I'd like something that works, but not necessarily high performing, so I
can build the drivers for the ALFA NIC.
Thanks!
Jeff
2000 Nov 16
2
newbee question
Dear All
Where can I lookup good methods to compute
p from q=bin(m,n)p^n*(1-p)^(m-n) such that
q<=alfa, alfa small. Are there such libs,
code and source in R?
Best Regards
--
Jan Burse SIAM, EAWAG
Scheuchzerstr. 67 ?berlandstr. 133
8006 Z?rich 8600 D?bendorf
tel: +41-1-364 17 66 tel: +41-1-823 55 34