Displaying 20 results from an estimated 2000 matches similar to: "Fitting with error on data"
2006 Aug 07
8
Rails Recipes question - authenticating users
Didn''t think I''d be back so quick with another question but here goes:
In this recipe for the signin or login (as I call it) there are these
two lines if the user authenticates correctly:
session[:user] = user.id
redirect_to :action => session[:intended_action],
:controller => session[:intended_controller]
So I''m not seeing anything in the way of an explanation
2016 Jul 23
2
Config and other areas of struggle
Confused me for ages.. until one day!
Which out of the listed machines (on the router) is the one you are needing the port forwarded to?
Forward that machine to the port you require, I would have used a lower port number 8010 or another unused port.
From: Damien Sykes-Lindley
Sent: Saturday, July 23, 2016 9:39 AM
To: Icecast streaming server user discussions
Subject: Re: [Icecast] Config
2001 Apr 19
2
Multiple linear regression
Dear R-users,
I've a question regardiing multiple linear regression.
Is it possible to regress a function of the type
y=b0+b1*x1+b2*x2
constraining the partial derivatives dy/dx1 and dy/dx2 to be greater
than 0 ???
Thank you very much for any possible suggestion.
Best regards
Marco
--
Marco Pagani - PhD Student
Dipartimento di Scienze della Terra - Sezione Geofisica
Universita' degli
2007 Nov 06
10
Test case for file import
Hi Friends,
I need to write the testcase for fileimport.
Pls give me any idea
--
Posted via http://www.ruby-forum.com/.
2004 Mar 29
1
Right shift for normality
Hello,
My data is discrete, taking values between around -5 and +5.
I cannot give bounds for the values. So I consider it as
numerical data and not categorical data.
The histogram has a 'normal' shape, so
I test for normality via a chisquare statistic (by calculating the expected
values by hand).
When I use the sample mean and variance, the normality hypothesis has to be
rejected.
2007 Nov 01
8
Specifying mixins
Hi folks,
Can anyone share some accumulated wisdom about the best way to spec
mixins in general, and (Jamis Buck-style) ActiveRecord "concerns" in
particular?
The standard situation here is that there''s a bunch of functionality,
related by concept if not by implementation, that one wants to inherit
in many different classes (e.g. ActiveRecord models) without having to
2010 Sep 25
2
Uncertainty propagation
I have a small model running under R. This is basically running various
power-law relations on a variable (in this case water level in a river)
changing spatially and through time. I'd like to include some kind of error
propagation to this.
My first intention was to use a kind of monte carlo routine and run the
model many times by changing the power law parameters. These power laws were
2006 Feb 27
1
gauss.hermite function
Hi,
I am trying to find a function that returns simply the weights and
points of an n point gauss hermite integeration, so that I can use them
to fit a non-standard likelihood.
I have found some documentation for the function 'gauss.hermite' written
by jim lindley, but can't find the actual binary on CRAN
I'm aware there are lots of functions like glmm, glmmML etc to fit mixed
2010 Nov 04
1
(no subject)
hello,i'm roesda from indonesia
I have trouble when they have to perform parameter estimation by MLE method
using the R programming.because, the distribution that will be used instead
of not like the distribution that already known distributions such as gamma
distribution, Poisson or binomial. the distribution that i would estimate
the parameters are the joint distribution between the
2016 Jul 23
2
Config and other areas of struggle
I think some fundamental misunderstanding thing is perhaps going on.
What is the icecast server that I can see here: http://home.dayme.me:28888 supposed to be streaming?
And
If you use the local IP of that icecast server on another local machine (or same machine) can you then see the admin page?
Go back to first line:
What is the icecast server that I can see here: http://home.dayme.me:28888
2016 Jul 23
3
Config and other areas of struggle
Hi Damien (where Dan come from??)
I use 81.174.146.88:28888
Bet your router does not have loopback
So if you are using sam broadcaster it needs the icecast settings input to it, so it can forward to the icecast server.
If you use the local IP address of the icecast server you will see what I see.
Regards
From: Damien Sykes-Lindley
Sent: Saturday, July 23, 2016 10:29 AM
To: Icecast streaming
2016 Jul 23
2
Config and other areas of struggle
I’m listening to you both,
Its working, but not for you locally, could be a firewall issue on your PC?
perhaps changing the port to 8010?
If other servers can be seen on the WAN from your internal network it could be a port conflict, or firewall issue.
Alan
From: Damien Sykes-Lindley
Sent: Saturday, July 23, 2016 1:12 PM
To: Icecast streaming server user discussions
Subject: Re: [Icecast]
2006 Aug 07
2
Ugggh..another recipes question
sorry, because it seems that I need more explanation on this Rails
Recipes authorization -
I finally got the code working but after using the login I get this
back from Rails-
Routing Error
No url can be generated for the hash {}
I''m guessing it''s coming from the redirect-
def login
if request.post?
session[:user] = User.authenticate(params[:first_name],
2006 Aug 14
2
ajax - layout problem.
Hi guys
Here is my problem...
Using Ajax to update a div with link_to_remote. Problem is I have a layout
defined in my class, so, the div gets the layout when I call the method, how
di I tell a method to ingore the layout?
Cheers.
Pieter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 09
1
Accessing the name of a controller''s module?
If I''m redirecting to a log in page, and saving the controller and
action name in the session hash, how do I also save the controller
module?
After the log in is completed, I can''t redirect back to the originally
directed page because it''s in a different controller module. For the
controller action name I can use the ActionController instance method
controller_name(),
2006 Jul 10
3
Are user-made modules supposed to work?
Is there a reason why modularizing your controllers doesn''t work? I
tried the following:
ruby script/generate scaffold Admin::Bug
But it just won''t work. I get a routing error when trying to access
/admin/bugs/ :
Recognition failed for "/admin/bugs/"
P.S. If I create the model/controller individually it still doesn''t seem
to work.
A bit of help
2008 Jan 19
5
"should_not ==" vs "should !="
describe "should_not == vs. should !="
it do
5.should_not == 6
end # passes
it do
5.should != 6
end # fails
end
# I''m running the rspec 1.1.2 gem with the corresponding Textmate bundle
# The second failure surprises me.
# Is != not supported?
# I''d like to hear what you all think.
-------------- next part --------------
An HTML attachment was
2007 Jan 20
2
Conditional pluralize without the number
Hi.
Assume you have an array of person names. I want to generate results in
my view that look like this:
Abby is your friend
or
Abby, Bob, and Carol are your friends.
So I''d like to say:
<%= friends.to_sentence %>
<%= pluralize(friends.count, "is") %>
your <%= pluralize(friends.count, "friend") %>
But because pluralize puts in the
2008 Jun 03
5
Autotest/RSpec 1.1.4/Rails 2.1 Infinite Loop?
I just got back from RailsConf, and upgraded on of my development apps
to 2.1, and now autotest is going into an infinite loop. It runs tests
continuously instead of waiting for files to be saved before rerunning.
Has anybody else seen this, or know how to get around it?
Thanks,
Andrew
2008 Oct 15
2
dynlm and lm: should they give same estimates?
Hi,
I was wondering why the results from lm and dynlm are not the same for what I think is the same model.
I have just modified example 4.2 from the Pfaff book, please see below for the code and results.
Can anyone tell my what I am doing wrongly?
Many thanks,
Werner
set.seed(123456)
e1 <- rnorm(100)
e2 <- rnorm(100)
y1 <- ts(cumsum(e1))
y2 <- ts(0.6*y1 + e2)
lr.reg <- lm(y2