similar to: Declaring a density function with for loop

Displaying 20 results from an estimated 90 matches similar to: "Declaring a density function with for loop"

2012 Jul 11
4
MODE , VARIANCE , NTH PERCENTAILE
Hi, Here i have an matrix like this, ABC PQR XYZ MNO ------ ------- ------ -------- 3 6 7 15 2 12 24 15 20 5 1 2 25 50 15 35 i need to get the "MODE" - for each column-wise "VARIANCE" - for
2012 Jul 05
3
Maximum Likelihood Estimation Poisson distribution mle {stats4}
Hi everyone! I am using the mle {stats4} to estimate the parameters of distributions by MLE method. I have a problem with the examples they provided with the mle{stats4} html files. Please check the example and my question below! *Here is the mle html help file * http://stat.ethz.ch/R-manual/R-devel/library/stats4/html/mle.html http://stat.ethz.ch/R-manual/R-devel/library/stats4/html/mle.html
2012 Jul 11
0
declaring negative log likelihood of a distribution
Hi everyone! I already posted http://r.789695.n4.nabble.com/Declaring-a-density-function-with-for-loop-td4635699.html a question on finding density values of a new Binomial like distribution which has the following pmf: http://r.789695.n4.nabble.com/file/n4636134/kb.png Thank fully http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=124474 Berend Hasselman and
2012 Nov 25
5
bbmle "Warning: optimization did not converge"
I am using the Ben bolker's R package "bbmle" to estimate the parameters of a binomial mixture distribution via Maximum Likelihood Method. For some data sets, I got the following warning messages: *Warning: optimization did not converge (code 1: ) There were 50 or more warnings (use warnings() to see the first 50)* Also, warnings() results the following: *In 0:(n - x) : numerical
2012 Jul 17
0
Maximum Likelihood estimation of KB distribution
Hi, The following distribution is known as Kumaraswamy binomial Distribution. http://r.789695.n4.nabble.com/file/n4636782/kb.png For a given data I need to estimate the paramters (alpha and beta) of this distribution(Known as Kumaraswamy binomial Distribution, A Binomial Like Distribution). For that, in order to use *optim()*, I first declared the Negative Log-likelihood of this distribution as
2019 Aug 04
3
browsers slowing Centos 7 installation to a crawl
On Sun, 4 Aug 2019, Jonathan Billings wrote: > Are you sure you don?t have other processes or users running on the system? It only happens when you have a network connection? It might also be swapping heavily, check to see how much RAM you have. Check the output of ?free?. Pretty sure. I rebooted this morning. top - 17:32:20 up 15:47, 6 users, load average: 1.12, 2.55, 1.56 Tasks: 238
2019 Aug 04
4
browsers slowing Centos 7 installation to a crawl
My video problems mentioned in a previous thread are gone, though I do not know why. Now my problem is that whenever I have a browser open and an internet connection, my Centos 7 slows to a crawl. Chromium seems to be the least bad. Sometimes it slows to the point that I cannot even move the mouse. Even switching between virtual terminals takes a while sometimes. When I get there, top generally
2009 Jul 15
0
DECLARING A PANEL VARIABLE???
Hi I am working on a panel data, my data are clustered/grouped by the variable "yearctry", I am running the regression below, but I cant make the regression recognise "yearctry" as the panel variable in the regression myProbit<- glm(s ~ age + gender + gemedu + gemhinc + es_gdppc + imf_pop + estbbo_m, family = binomial(link = "probit"), data = adpopdata) Can
2010 Mar 27
0
declaring migration bankruptcy
I joined a project recently that has 2 years worth of migrations. It is about to go into production and I am wondering if we should consider clearing out most of the history. A poor decision made early on has caused the project to have about 20 custom plugins (all of which really belong in the application). One task involved in moving the code out of plugins involves all the migrations. The
2009 Jun 19
0
[LLVMdev] Forward-declaring defs in TableGen
Is there a way to forward-declare a def in TableGen and then define it? For example: def foo : Foo; def bar : Bar { let FooThing = foo; } def foo : Foo { let BarThing = bar; } This causes a multiple-definition error in TableGen. -Dave
2010 Apr 08
2
[LLVMdev] Declaring constant global variables
Hiya, I want to declare a constant global variable as: @.str = private constant [4 x i8] c"%f\0A\00", align 1 ; <[4 x i8]*> [#uses=1] I guess I should firstly declare an arrayType object, then declare a GlobalVariable object. I have two problems: 1. What element type I should set for the arrayType? 2. How to set the constant value as :c"%f\0A\00" Cheers, Zheng
2010 Apr 08
0
[LLVMdev] Declaring constant global variables
On Thu, Apr 8, 2010 at 12:18 PM, Zheng Wang <jason.wangz at gmail.com> wrote: > Hiya, > > I want to declare a constant global variable as: > > @.str = private constant [4 x i8] c"%f\0A\00", align 1 ; <[4 x i8]*> [#uses=1] > > I guess I should firstly declare an arrayType object, then declare a > GlobalVariable object. > > I have two problems:
2010 Apr 08
1
[LLVMdev] Declaring constant global variables
Can I do this in my own pass module? Because the string is actually depended on the type of a value object. On 8 April 2010 20:29, Eli Friedman <eli.friedman at gmail.com> wrote: > On Thu, Apr 8, 2010 at 12:18 PM, Zheng Wang <jason.wangz at gmail.com> wrote: >> Hiya, >> >> I want to declare a constant global variable as: >> >> @.str = private constant
2013 Jul 12
0
[LLVMdev] How to recognize the declaring code scopes of stack variables
On Thu, Jul 11, 2013 at 8:19 PM, Eric Lu <eirc.lew at gmail.com> wrote: > When parallelize the loop with OpenMP like models, I need to know what > variables will be shared among different threads. I imagined you'd want to recognize loops, not scopes. Sounds like a backend kind of optimization type thing, just detecting values that don't escape the loop. (this would catch cases
2013 Jul 12
0
[LLVMdev] How to recognize the declaring code scopes of stack variables
On Thu, Jul 11, 2013 at 9:33 PM, Eric Lu <eirc.lew at gmail.com> wrote: > Hi, David > yes, it is similar to your description. And do you know any methods to do > this in LLVM IR? I don't know the mid-level optimizers especially well - I doubt there's a thing that does exactly what you need - but a combination of existing passes/analyses might be able to tell you what you
2019 Jul 03
0
Re: [libnbd] How close are we to declaring a stable API?
On 6/29/19 5:25 AM, Richard W.M. Jones wrote: > As the subject says, how close are we to being able to declare a > stable API for libnbd? > > I believe these are the main topics: > > * Do we need to have an extra thread for writing? I'm unclear about > whether b92392b717 (which allows the state machine to break during > reply processing) means we definitely
2012 Jun 18
1
S4 Reference Classes: declaring public and private methods
Dear list, is there a way to declare public and private methods in S4 Reference Classes? If not, are there plans to add such a feature? You'll find a small code example of what I mean at Stackoverflow: http://stackoverflow.com/questions/11073253/oop-with-r-is-there-a-way-to-declare-public-and-private-methods-s4-reference-c Thanks a lot, Janko Thyson
2015 Jun 12
0
RFC: Declaring "foo.bar" as nonS3method() ?!
And my non-cross-posted cross-posting: "Dear Martin, Thank you for addressing this issue. Introducing a nonS3method() directive in NAMESPACE seems a reasonable solution. It could replace export() for functions with "."s in their names. Best, John" On Fri, 12 Jun 2015 10:12:07 +0200 Martin Maechler <maechler at stat.math.ethz.ch> wrote: > This is a topic '
2015 Jun 12
0
RFC: Declaring "foo.bar" as nonS3method() ?!
On 12/06/2015 4:12 AM, Martin Maechler wrote: > This is a topic ' "apparent S3 methods" note in R CMD check ' > from R-package-devel > https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000126.html > > which is relevant to here because some of us have been thinking > about extending R because of the issue. > > John Fox, maintainer of the
2015 Jun 12
0
declaring nonS3method
If Martin's proposal for declaring non-S3 methods in NAMESPACE is feasible, it would be very helpful. The packages we support have multiple examples of unfortunately named functions non-S3 functions, so creating a route for migrating them into compliance would be great. best, -skye On 06/12/2015 03:00 AM, r-package-devel-request at r-project.org wrote: > Message: 11 > Date: Fri,