search for: standarderrors

Displaying 20 results from an estimated 57 matches for "standarderrors".

Did you mean: standarderror
2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way : config/initializers/custom_exceptions.rb class RemoteLockerException < StandardError; end class RemoteLockerDenied < StandardError; end lib/instruction_request_job.rb class InstructionRequestJob < Struct.new(:style, :request_id) def perform .... > connector =
2006 Nov 02
2
Rescue don't work on web applications
Hi, I''ve a Rails application who starts a Ruby script . The script is made via Web -> database. Than you can select a script to start via a database list. Problem: In case of errors , I like to start a rescue showing the users the problems. render(:text => "<pre>" + CGI::escapeHTML(` begin /home/luc/radrails/cpe/public/startq_test.rb
2023 May 30
1
depmixs4 standardError() issue
Hello, I've been enjoying using the "Mixture and Hidden Markov Models in R" by Visser & Speekenbrink to learn how to apply these analyses to my own data using depmixS4. I currently have a fitted 4-state mixture model with three emissions variables and one binomial covariate (HS). I am trying to compute confidence intervals using the following code, where fmms4s is the model:
2007 May 19
1
clustered standarderrors using design package
Please help, I have a strange problem. I've got a balanced panel data set. I use dummy variable regression and I've got results with lm function. summary(lm(y ~ post + t19961 + t19962 + t19963 + t19964 + t19971 + t19972 + t19973 + t19974 + t19981+factor( id))) The problem is that I would like to get my standard errors clustered but then gets the following error message: f<-(lm(y ~
2006 May 26
13
win32-dir, unicode
Hi, I''ve got a preliminary version of the pure Ruby version of win32-dir in CVS. However, I was hoping to work out the Unicode issue. Run this: from = "C:\\test" to = "?????" Dir.mkdir(from) unless File.exists?(from) Dir.create_junction(to, from) It works, but my explorer (and dos) window shows the name garbled. I don''t think it''s a font
2023 Jun 25
1
depmixs4 standardError() issue
On Tue, 30 May 2023 17:43:31 +0000 Heather Lucas <hlucas2 at lsu.edu> wrote: > Hello, > > I've been enjoying using the "Mixture and Hidden Markov Models in R" > by Visser & Speekenbrink to learn how to apply these analyses to my > own data using depmixS4. > > I currently have a fitted 4-state mixture model with three emissions > variables and one
2005 Feb 23
3
bias of a boot statistic
Question: How can I get access to the bias value of a boot statistic? Details: Boot function: boot(data, statistic, R, sim="ordinary", stype="i", strata=rep(1,n), L=NULL, m=0, weights=NULL, ran.gen=function(d, p) d, mle=NULL, ...) When I create an object, containing the bootstrap statistic (object <- boot (....))I can call it and will get an output
2008 Oct 15
5
REXML vs libxml
Hi all, I''ve been looking at the performance of my fb app and one glaring issue seems to be with the parsing speed of rexml in processing the results. Has anyone looked into porting the facebooker parser from rexml to libxml? If not, any reason I shouldn''t try? Thanks! Yu-Shan. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Jan 22
0
Trying to spec ExceptionNotifiable behavior
Hello List. I''m trying to overwrite part of ExceptionNotifiable (ExceptionNotification plugin) to render customized error 500 pages based on browser agents. For this, I''ve created a fake controller that inherits directly from ActionController::Base: class FooExceptionController < ActionController::Base include ExceptionNotifiable # this action should not fail, used for
2006 Aug 04
5
Mongrel Cluster Compatibility
Is anyone using ferret with Mongrel/Mongrel-cluster? The first one or two times I access the ferret index it works fine, but then it throws a write lock error StandardError (: Error occured at <index_rw.c>:703 Error: exception 6 not handled: Could not obtain write lock when trying to write index ): I need to do more testing on this to narrow down the problem/solution but just wanted to
2008 Jun 12
1
how do I mock the Rails Logger with should_receive?
Hey Guys, I''m trying to mock the Rails Logger for the following code: ... rescue TimeoutError => error $logger.error("#{self.name} Timeout for #{path}: #{error}") and return rescue SocketError => error $logger.error("#{self.name} SocketError for #{path}: #{error}") and return rescue StandardError => error
2008 Jun 12
1
Does anyone know how to mock the Rails Logger then set expectations with should_receive?
Hey Guys, I''m trying to mock the Rails Logger for the following code: ... rescue TimeoutError => error $logger.error("#{self.name} Timeout for #{path}: #{error}") and return rescue SocketError => error $logger.error("#{self.name} SocketError for #{path}: #{error}") and return rescue StandardError => error
2018 Jul 07
1
Redirect output from python script with systemd
Hi all, I need to redirect an output from python script that runs as a systemd service. I have tried to redirect its output in Exec statement without luck. I have tried to use StandardOutput and StandardError options also, but outpu log goes to /var/log/messages. Any tip? Thanks. -- Greetings, C. L. Martinez
2006 May 07
0
Error messages in db/schema.rb
Hi I''ve discovered the following error messages in my db/schema.rb: # Could not dump table "pg_ts_dict" because of following StandardError # Unknown type ''regprocedure'' for column ''dict_init'' # Could not dump table "pg_ts_parser" because of following StandardError # Unknown type ''regprocedure'' for column
2006 Jun 23
1
Can not rescue ferret exception. What is wrong?
Hi, I have a big index and wildcard query raises an exception. That is all right. The problem is I can not rescue this exception and it bombs right to user page. Why? I am on Linux. Ferret 0.9.3 with C extentions. >> class A >> def self.b >> Book.index.search(''isbn:00*'') >> rescue >> puts ''ok'' >> end >> end =>
2016 Sep 13
1
R-intro: function 'stderr' and 'sd'
While you are editing that, you might change its name from 'stderr' to standardError (or standard_error, etc.) so as not to conflict with base::stderr(). Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Sep 13, 2016 at 8:55 AM, Martin Maechler <maechler at stat.math.ethz.ch > wrote: > >>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at
2010 Jul 26
2
Exception Pages when behind a proxy
I am not sure if this desired feature or not but when we are behind a local proxy ie. Nginx/Varnish then the new ShowException middleware doesn''t seem to properly detect the remote IP address and it appears as if every browser gets a local error page with a stack trace, etc. I''ve opened up a ticket on the rails bug tracker but I also would like to verify that this is in fact a
2010 Sep 24
1
Fitting GLMM models with glmer
...SURVT) cens=1 proc nlmixed data=liver; parms logsig2 = 0 b0 = -2.8 btrt = -0.54 bhrt =0.18; xb= log_s + b0 + btrt * treat + bhrt * heart+ bi; lambda=exp(xb); model cens ~ poisson(lambda); random bi ~ normal(0,exp(logsig2)) subject=INST; run; I obtained the same results for parameters estimates and standarderrors, by using: glmer(cens ~ treat + heart + offset(log(SURVT) + (1 | INST), data=liver, family=poisson) After that, the authors present the same model, but now bi = log(gi) where gi has the following gamma distribution: f(gi | theta1) = gi ^ (1/theta1 - 1) exp(-gi/theta1)/ GAMMA(1/theta1)(theta1^(1...
2006 Mar 11
3
website monitor?
hi all. i have a site powered by ROR. now, i try to find a monitor based on ruby. any one have any idea? regards. -- Posted via http://www.ruby-forum.com/.
2008 Feb 05
5
App upgrade steps from 1.2.4 to 2.0.2?
Hi all, experienced programmer but complete RoR newbie here, this is my first rails post/question so bear with me. I have a working RoR app on 1.2.4 and PostgreSQL, and my first efforts at running it in 2.0.2 show it does not cleanly upgrade without changes. Can anyone give me some hints/pointers as to what I''ll need to change for 2.0.2 and how do I identify it other than trial and