Displaying 15 results from an estimated 15 matches similar to: "Query on finding root"
2023 Aug 27
1
Query on finding root
On Fri, 25 Aug 2023 22:17:05 +0530
ASHLIN VARKEY <ashlinvarkey at gmail.com> wrote:
> Sir,
Please note that r-help is a mailing list, not a knight! ??
> I want to solve the equation Q(u)=mean, where Q(u) represents the
> quantile function. Here my Q(u)=(c*u^lamda1)/((1-u)^lamda2), which is
> the quantile function of Davies (Power-pareto) distribution. Hence I
> want to
2009 Jul 30
1
lmer() and "$ operator is invalid for atomic vectors"
Hi all,
I am a bit mystified by this error message that I get when I try to apply
lmer() to a simple dataset with one between factor (age) and one within
factor (item): "$ operator is invalid for atomic vectors"
I'll just provide the code, because I don't see where the problem is:
library(lme4)
options(contrasts=c("contr.helmert","contr.poly"))
data =
2008 Jan 06
2
how to get residuals in factanal
In R factanal output, I can't find a function to give me residuals e.
I mannually got it by using x -lamda1*f1 -lamda2*f2 - ... -lamdan*fn, but the e
I got are not uncorrelated with all the f's.
What did I do wrong? Please help.
Yijun
____________________________________________________________________________________
Be a better friend, newshound, and
2006 Jul 22
1
Why the contrain does not work for selecting a particular range of data?
Dear:
Continuing the issue of 'ifelse'! I selecting the data whose 'x2'=1 for maximizing likelihood. I used two way to do this but the results are different.
1.Way one I use the data for x2=1 and run the program. It works for me. Tthe program is described as below:
function (parameters,y1,x11)
{
p<-parameters[1]
alpha1<-parameters[2]
beta1<-parameters[3]
2009 Jul 02
2
constrained optimisation in R.
i want to estimate parameters with maximum likelihood method with contraints (contant numbers).
for example
sum(Ai)=0 and sum(Bi)=0
i have done it without the constraints but i realised that i have to use the contraints.
Without constraints(just a part-not complete):
skellamreg_LL=function(parameters,z,design)
{
n=length(z);
mu=parameters[1];
H=parameters[2];
Apar=parameters[3:10];
2007 Dec 04
7
REST bug with form_for
Hi all, I am running on Windows XP sp2 with ruby 1.8.6, and rails
1.2.3
I am using REST, and have this in my view
<% form_for(:project,
:url => project_path(:user_id => @project.my_user, :id =>
@project),
:html => {:method => :put}) do |f| %>
The browser correctly gives
<form method="post" action="/users/2/projects/1">
2012 Nov 30
3
protentially serious R error
Hi guy,
I have recently encountered a problem while I was just trying to generate
some random numbers with the function "rnorm", the problem is shown below:
########case 1############
> rnorm(20*0.2)
[1] -1.2765922 -0.5732654 -1.2246126 -0.4734006
########case 2###########
*> rnorm(20*(1-0.8))
[1] -0.62036668 0.04211587 -0.91092165*
#########case 3############
> a<-0.2
>
2013 May 23
2
Looking for compiled version 1.9 of Samba
I am trying to assist a client who need a compiled version of Samba 1.9 for his SCO ODT 3.2 v4.2 environment. We are trying to connect an old version of DataFlex on SCO and need the bridge.
Anybody have an old compiled version?
Thanks
Paul Davis
Sr. Business Development Manager
CONNX Solutions - www.connx.com<http://www.connx.com/>
Direct - (425) 519-6670
Mobile - (425) 269-3956
2010 Aug 25
1
modify a nomogram
Hi,
I would like to emphasize ("zoom") the zone of a nomogram where the
probability are > 0.01
(nomogram built with nomogram, Design).
As a consequence, I don't need to draw the part of the "Total points"
axis with score < 60 equivalent in my case to a linear predictor < 4.5
- As far as I know, this is not possible with the arguments of the function.
- Changing
2001 Aug 29
1
problem in plot(), combining log="y" with type="s" (PR#1078)
I just noticed this behavior of plot(). If you combine: log="y", with type
="s", specify ylim, AND have plotting points outside of ylim, then the R
process hangs.
For example:
plot(1:10,seq(0.0001,1,length=10),ylim=c(0.01,1),type="s",log="y")
It will also hang if the original plot() command did not specify ylim, but
a subsequent
2008 Sep 27
1
quantile / centile
I'm wondering if there is a simple way to assign a quantile to a vector in a
data frame, much like one could in Stata using centile. Let's say I want 100
slices in my assignation. I can easily see what the limits of each slice by
using quantile:
quantile(my.df$my.var, probs=seq(0, 1, 0.01))
But how do I assign the appropriate value to each row/record in my data
frame? Clearly the
2017 Jun 04
0
Hlep in analysis in RWinBugs
Hi R User,
I was trying to use R for WINBUGS using following model and data (example), but I am new with WINBUGS and don't know how we perform the analysis. I wonder whether I can run the following the example data and Winbugs Model in R. Your help will be highly appreciated.
Sincerely,
SN PANDIT
===
library(R2WinBUGS)
#Model
model{
#likelihood
for(i in 1:N){
a1[i] ~ dnorm(a11[i],tau)
2017 Jun 04
0
Help in analysis in RWinBugs
Hi R User,
I was trying to use R for WINBUGS using following model and data (example), but I am new with WINBUGS and don't know how we perform the analysis. I wonder whether I can run the following the example data and Winbugs Model in R. Your help will be highly appreciated.
Sincerely,
SN PANDIT
===
library(R2WinBUGS)
#Model
model{
#likelihood
for(i in 1:N){
a1[i] ~ dnorm(a11[i],tau)
2020 Mar 27
2
Reliably mapping memcpy intrinsic
Similar to how `operator new(size)` can be overridden during linking, to
capture and customize all memory allocation operations, I'd like to be able
to capture all scenarios where memory is copied or moved. I've tried to use
`--wrap memcpy` with some success, however I've noticed that in some
instances (e.g. copying a small struct) the memcpy instruction in the IR is
replaced with a
2013 May 29
1
Looking for compiled version 1.9 of Samba - revised
Much thanks to all respondents. Since 1.9 is a very old version, I have the source code but am looking (close to begging) for someone who has a compiler to create an executable for me.
I would be glad to send along the source , if you could compile and return an executable. This is the better request than to ask someone for their compiler.
Thank you
Paul Davis
Sr. Business Development Manager