Displaying 4 results from an estimated 4 matches for "newdistance".
Did you mean:
ge_distance
2009 Feb 08
5
glmmBUGS: logistic regression on proportional data
Hello,
I am trying to run a logistic regression with random effects on
proportional data in glmmBUGS. I am a newcomer to this package, and
wondered if anyone could help me specify the model correctly.
I am trying to specify the response variable, /yseed/, as # of successes
out of total observations... but I suspect that given the error below,
that is not correct. Also, Newsect should be a
2006 Mar 21
2
Sorting by computed temporary field
...think of:
- Make a new find_and_sort method that adds a new @distance member
element and sorts the new collection. Would something like this work?
def find_and_sort(event_id)
@rides = Ride.find(:all, :conditions => {"event_id = ?", event_id})"
for ride in @rides
ride.newdistance = distance_between_zips(session[:user].zip_code,
Event.find(event_id).zip_code);
end
uhm.... sort @rides by newdistance
end
What if I want to also remove items from @rides before they are
displayed if that newdistance is too large or some other condition?
uhm... I''m stumped...
2005 May 18
1
'fitdistr' and two views of the same data?
Hello,
I have detailed (with pictures and whatnot) my question on my weblog at
http://www.cs-ed.org/blogs/mjadud/archives/2005/05/a_question_abou.html
The short version of the question is this:
When I ask 'fitdistr' to try and fit my distribution as a "weibull"
distribution, it comes up with some rather wacky parameters.
If I take the same distribution, and do something
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