Hi all
I am trying to solve a combinatorial optimization problem. Basically, I can
reduce my problem into the next problem:
1.- Given a NxN grid of points, with some values in each cell
2.- Find the combination of K points on the grid such that, the maximum
mean value is obtained
I took the Tr
Dear R-users
I'm trying to use lasso in lars package for subset regression, I have a
large matrix of size 1000x100 and my aim is to select a subset k of the 100
variables.
Is there any way in lars to fix the number k (i.e. to select the best 10
variables)
library(lars)
aa=lars(X,Y,type="lasso"
corr_x #
cor(a_x,lag(col.W,a_x))
[,1]
[1,] 0.06929324
# ==
I don't know if I'm simulating correctly the CAR,
any help?
Thanks in advance
2008/2/15, Henrique Dallazuanna <[EMAIL PROTECTED]>:
>
> See spautolm
library, but this is not what
I'm looking for
Thanks in advance
Dae-Jin
--
______________
Dae-Jin Lee
Office/Despacho: 7.3.J04
Phone/Tlfno:+34 91 624 9175
Fax: +34 91 624 9430
Departamento de EstadÃstica
Av. Universidad 30, Ed. Juan Benet
28911 Leganés (Madrid), SPA
Hi all R users !
I'm using gamm function from Simon Wood's mgcv package, to fit a spatial
regression Generalized Additive Mixed Model, as covariates I have the
geographical longitude and latitude locations of indexed data. I include a
random effect for each district (dist) so the code is
fit <- g
5 matches
Mail list logo