Displaying 7 results from an estimated 7 matches for "k_i".
Did you mean:
_i
2008 Jun 03
3
How to solve a non-linear system of equations using R
Dear R-list members,
I've had a hard time trying to solve a non-linear system (nls) of equations
which structure for the equation i, i=1,...,4, is as follows:
f_i(d_1,d_2,d_3,d_4)-k_i(l,m,s) = 0 (1)
In the expression above, both f_i and k_i are known functions and l, m and s
are known constants. I would like to estimate the vector d=(d_1,d_2,d_3,d_4)
which is solution of (1). Functions in R to estimate f_i-k_i are at the end
of this message.
Any help/suggestions/comments w...
2025 May 31
1
Simulating mid-points from a defined range
...ents, also assuming this is not homework. In addition:
Your use of "mid-point" is not a standard one (in my world), nor perhaps is that of "simulate".
Let me attempt to re-state your problem: You wish to choose 10-tuples of integers 0 <= k <= 100 satisfying
1) 0 <= k_i <= 100 for i = 1:10;
and
2) k_(i+1) - k_(i) >= 5 for i = 1:9.
Finally, you'd like 1000 of those 10-tuples.
[Here, "k_(i)" is the usual notation for order statistics.]
Is that the task?
If so, are there are other requirements on the k_i ?
The word "simulate" sugg...
2025 May 31
1
Simulating mid-points from a defined range
...In
> addition:
>
> Your use of "mid-point" is not a standard one (in my world), nor perhaps
> is that of "simulate".
>
> Let me attempt to re-state your problem: You wish to choose 10-tuples of
> integers 0 <= k <= 100 satisfying
>
> 1) 0 <= k_i <= 100 for i = 1:10;
> and
> 2) k_(i+1) - k_(i) >= 5 for i = 1:9.
>
> Finally, you'd like 1000 of those 10-tuples.
> [Here, "k_(i)" is the usual notation for order statistics.]
>
> Is that the task?
>
> If so, are there are other requirements on the...
2003 Oct 31
1
constrained nonlinear optimisation in R?
...the archives but have not found anything. I
need to solve a constrained optimisation problem for a nonlinear
function (“maximum entropy formalism”). Specifically,
Optimise: -1*SUM(p_ilog(p_i)) for a vector p_i of probabilities,
conditional on a series of constraints of the form:
SUM(T_i*p_i)=k_i for given values of T_i and k_i (these are
constraints on expectations).
Can this be done in R?
Bill Shipley
Associate Editor, Ecology
North American Editor, Annals of Botany
Département de biologie, Université de Sherbrooke,
Sherbrooke (Québec) J1K 2R1 CANADA
Bill.Shipley@USherbrook...
2025 May 31
1
Simulating mid-points from a defined range
If this is a real problem and not homework, can you tell us the
context? It is not at all clear (to me) what you mean by "simulate",
i.e. what your target distribution is, which may depend on/be defined
by the context.
Bert
"An educated person is one who can entertain new ideas, entertain
others, and entertain herself."
On Sat, May 31, 2025 at 11:52?AM Brian Smith
2006 Jul 24
1
Referring on the value of a counter in a loop
...;1" in the code above successively with the integers from 1 to 78, so
that I get my 78 files.
(equivalent to typing:
k_1<-answer[class==1]
write.table(k_1, "answer_1.txt")
k_2<-answer[class==2]
write.table(k_2, "answer_2.txt")
etc.)
I have tried
for (i in 1:78) k_i<-answer[class==(i)]
but this only generated the variable corresponding to the last value
(78) of the counter i, and not the files in between.
Thanks a lot for any help or pointers in the right direction. I am an
R beginner and I studied the help files (they got me up to here), but
I coul...
2012 Apr 15
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* disclapmix (0.1)
Maintainer: Mikkel Meyer Andersen
Author(s): Mikkel Meyer Andersen and Poul Svante Eriksen
License: GPL-2
http://crantastic.org/packages/disclapmix
disclapmix makes inference in a mixture of Discrete Laplace
distributions using the EM algorithm.
* EstSimPDMP (1.1)
Maintainer: Unknown
Author(s):