Displaying 20 results from an estimated 900 matches similar to: "Fitting a GLM: Problems with ns & date functions"
2005 Jun 14
1
using forecast() in dse2 with an ARMA model having a trend component
(My apologies if this is a repeated posting. I couldn't find any trace
of my previous attempt in the archive.)
I'm having trouble with forecast() in the dse2 package. It works fine
for me on a model without a trend, but gives me NaN output for the
forecast values when using a model with a trend. An example:
# Set inputs and outputs for the ARMA model fit and test periods
2007 Nov 20
1
Vectorization/Speed Problem
Hi,
I cannot find a 'vectorized' solution to this 'for loop' kind of problem.
Do you see a vectorized, fast-running solution?
Objective:
Take the value of X at each timepoint and calculate the corresponding value
of Y. Leading 0's and all 1's for X are assigned to Y; otherwise Y is
incremented by the number of 0's adjacent to the last 1. The frequency and
2012 Aug 31
1
virDomainMemoryPeek: bad behavior under workload
Greetings,
I am working on a platform for analysis automation.
I need to run several Virtual Environments concurrently and record
information about their behavior.
I wrote some months ago about the capability of reading the Memory
during the Environment's execution (in paused state).
What do I need is the complete linear memory image, byte per byte,
nothing special; I will give this output
2006 Jun 22
2
programming advice
Dear R users
I want to compute Kendall's Tau between two vectors x and y.
But x and y may have zeros in the same position(s) and I wrote the
following function to be sure to drop out those "double zeros"
"cor.kendall" <- function(x,y) {
nox <- c()
noy <- c()
#
for (i in 1:length(x)) if (x[i]!= 0 | y[i] != 0)
nox[length(nox)+1]<- x[i]
for (i in
2010 Oct 10
0
rearrange command in quantreg package
Dear all,
I want to use the "rearrange" command which is based on Chernozhukov et al
paper and is included in the quantreg package. So, I run a quantile
regression in which I included dummy variables for state and years in order
to estimate the respective fixed effects quantile regression. The problems
are the followings:
1. At example that is stated in the help****, I don't
2011 May 31
1
Issue with opening NoX thanks to OpenGL. (on a VPS)
So we got an Ubuntu 10.10 VPS, and go there with SSH putty, working with Xming as X server.
This is what we did so far, to host a dedicated nox server.
Code:
apt-get update
sudo apt-get install wine
sudo apt-get install xorg
wget *noxinstall url*
unzip noxinstall.zip
wine NoxInstall.exe (an installer and we put it in /root/Nox/)
Wine wouldn't recognice a CD, so a crack gets installed
2009 Feb 06
0
Nox used to work fine but now it asks for a CD
hi,
I'm using OpenSuSE 11.1 with wine version 1.1.9 downloaded from the repositories.
Nox is a game from Westwood that I used to play using wine until recently...
It required a CD to be played so I mounted it's image and linked it in to the dosdevices directory in ~/.wine. After doing that the game ran fine.
However, I was running out of space on my HOME partition so i used Gparted live
2000 Jun 15
0
[RHSA-2000:036-01] New emacs packages available
---------------------------------------------------------------------
Red Hat, Inc. Security Advisory
Synopsis: New emacs packages available
Advisory ID: RHSA-2000:036-01
Issue date: 2000-06-15
Updated on: 2000-06-15
Product: Red Hat Linux
Keywords: emacs vulnerability
Cross references: N/A
2005 Mar 02
1
Leaps & regsubsets
Hello
I am trying to use all subsets regression on a test dataset consisting
of 11 trails and 46 potential predictor variables.
I would like to use Mallow's Cp as a selection criterion.
The leaps function would provide the required output but does not work
with this many variables (see below).
The alternative function regsubsets should be used, but I am not able to
define the function in
2011 Apr 27
0
Rule-based regression models: Cubist
Cubist is a rule-based machine learning model for regression. Parts of the
Cubist model are described in:
Quinlan. Learning with continuous classes. Proceedings
of the 5th Australian Joint Conference On Artificial
Intelligence (1992) pp. 343-348
Quinlan. Combining instance-based and model-based
learning. Proceedings of the Tenth International Conference
on Machine Learning
2011 Apr 27
0
Rule-based regression models: Cubist
Cubist is a rule-based machine learning model for regression. Parts of the
Cubist model are described in:
Quinlan. Learning with continuous classes. Proceedings
of the 5th Australian Joint Conference On Artificial
Intelligence (1992) pp. 343-348
Quinlan. Combining instance-based and model-based
learning. Proceedings of the Tenth International Conference
on Machine Learning
2002 Dec 18
1
problem with 'gnls'
I'm working with data measured in a tunnel to estimate the
emission factor of heavy & light vehicles.
I tried to use 'gnls' and I get the following Error:
>> Error in "coef<-.corARMA"(*tmp*, value = c(174.267493382104, 173.412740072763 :
>> Coefficient matrix not invertible
Here is my R-code:
data <- d.plabutsch.neu
# calculating the starting
2008 Mar 26
1
Simulate ARX model.
I have obtained from transfer functions, the state space matrices for the following state space model.
x* = Ax + Bu
y = Cx + Du
I have A, B, C, and D, now I would like to take the exogenous inputs and simulate the data using the state space model. I know there is a simulate function in the package dse1, but I am unsure as to what type of TSmodel to create to put into it. Could anyone give me
2009 Feb 16
1
incl.non.slopes=FALSE does not work at predict.lm
Dear all,
I am trying to estimate the prediction from a fixed effects model and their
confidence intervals as well. Though I do not want to include in the
prediction and at the confidence intervals the intercept. For that reason I
used the argument incl.non.slopes=FALSE. But either if it is TRUE or FALSE
it does not have any difference and also the system does not provide any
warning. I really
2007 Apr 18
1
Changing axis lable text size in plots?
Dear list
I'm plotting ( boxplot() and plot() ) some data for a publication.
The editor would like the text labels on the plots in a larger font.
I'm doing something like this:
<snip>
jpeg(
filename = "D:/Martin/Work/CleanPath/RAF1%03d.jpg",
width = 1000,
height = 600,
pointsize = 12,
quality = 100,
bg = "white",
res = 96,
restoreConsole = TRUE
)
2008 Nov 19
0
Buggy trellis.focus() with xyplot in JavaGD ?
Hi:
(Tried to find a bug report about this issue, but was unable to find it, let
me know if this is a known issue)
I have been working on an interface to highlight xyplot panels on mouse
overs in JavaGD but I have stumbled with what seems to be a bug in
trellis.focus.
I am using JGR R 2.8 with lattice 0.17-15
Note: It's important to you use JGR to use the Java Graphics Device.
*** To
2009 Jul 21
2
installing Nox Multiplayer
I am trying to install an old game called Nox in Linux under WINE. I have tried running setup.exe from both the main directory as well as from the setup directory. The screen goes black and I get a box with "DirectX Error" as a title and the message is "Action not supported".
Can someone tell me how to fix that ... I see that others have gotten Nox to run with out this error
2010 Jul 12
2
Xyplot or Tin-R problem?
I ran the following script from xyplot Examples using Tin-R on
Windows and saw no plot produced.
EE <- equal.count(ethanol$E, number=9, overlap=1/4)
xyplot(NOx ~ C | EE, data=ethanol,
prepanel = function(x,y) prepanel.loess(x, y, span=1),
xlab="Compression Ratio", ylab="NOx (micrograms/J)",
panel = function(x,y) {
panel.grid()(h = -1, v=2)
2005 Jun 15
2
Plotting second axes outside xyplot
Hi all,
I'm trying to find a way to get xyplot to produce a second set of axes outside the right hand side of the graph. This is my progress so far:
EE <- equal.count(ethanol$E, number=9, overlap=1/4)
xyplot(NOx ~ C | EE, data = ethanol,
prepanel = function(x, y) prepanel.loess(x, y, span = 1),
xlab = "Compression Ratio", ylab = "NOx (micrograms/J)",
2012 Nov 16
1
Split data frame and create a new column
I need to split a data frame into 3 columns. The column I want to split
contains indices of lag (prefix L1 or L2 and suffix 01, 03, 04), station
name (shown in the sample data as capitalized G, P and S) and pollutant
name. Names with no ?L? prefix or 01/04 suffix are lag 0. Lag 01 is average
of lag 0 and 1, and 04 is average of 0 to 4 days. How can one do that in R?
I will ignore the other