Displaying 4 results from an estimated 4 matches for "vardata".
2011 Feb 28
3
nls not solving
...got the error:
singular gradient matrix at initial parameter estimates
I thought it was due to a low number of points (6), but when I create a
dataset, I get the same problem. If I remove the parameter "a," then it can
find a solution. Does anyone know what I can do to fit this model?
vardata<- rnorm(73,mean=0,sd=5)
x<-0:72
a<-1
b<-50
k<-0.05
l<-5
startt<-c(a,b,k,l)
yf<-a+b*(1-exp(-k*(x-l)))
y<-yf+vardata
nmodel<-nls(y~a+b*(1-exp(-k*(x-l))),
start=list(a=1,b=50,k=0.05,l=5))
--
View this message in context: http://r.789695.n4.nabble.com/nls-not...
2012 Oct 13
1
DCC help
...ng times of market uncertainty.
my current rfile is below.
library(SparseM)
library(quantreg)
library(zoo)
library(nortest)
library(MASS)
library(fEcofin)
library(mvtnorm)
library(ccgarch)
library(stats)
library(foreign)
#dataset<-read.csv(file="xxxx",header=FALSE)
attach(dataset);
vardata=data.frame(dataset[,2],dataset[,4])
### DCC ###
#initial values
a1 <- c(0.003, 0.001, 0.001)
A1 <- diag(c(0.1,0.1,0.1))
B1 <- diag(c(0.1, 0.1, 0.1))
dcc.para <- c(0.01,0.98)
# Estimating a DCC-GARCH(1,1) model
dcc.results <- dcc.estimation(inia=a, iniA=A, iniB=B, ini.dcc=dcc.para,...
2011 Feb 25
2
nls
hi,
I would like to find the x value (independent variable) for a certain dependent value using the fitted model with nls.
with (predict) I can find y that corresponds to a list of x. I need the other way around. can it be done?
thanks,
afadda
2016 Sep 10
0
[PATCH] gm107: separate out sched decoding from regular ops
...ed_g80as_hack = 1,
.prep = gm107_prep,
+ .trootas = tabrootas,
+ .tsched = tabsched,
+ .schedpos = 0x20,
};
diff --git a/include/dis.h b/include/dis.h
index 5565170..a2366b9 100644
--- a/include/dis.h
+++ b/include/dis.h
@@ -41,6 +41,9 @@ struct disisa {
void (*prep)(struct disisa *);
struct vardata *vardata;
uint32_t (*getcbsz)(const struct disisa *isa, struct varinfo *varinfo);
+ struct insn *trootas;
+ struct insn *tsched;
+ int schedpos;
};
struct label {
--
2.7.3