Displaying 20 results from an estimated 1000 matches similar to: "anyone konw Polyclass package in R?"
2006 Jul 01
4
Start Model for POLYCLASS
Dear all,
I have a question on how to set up the starting model in POLYCLASS and
make sure the terms in the starting model retained in the final
POLYCLASS model.
In the function POLYMARS, this can be done using the STARTMODEL option.
See below for example, I started with model
y= b0 + b1*X1 + b2*X2 + b3*X4 + b4*X5 + b5*X2*X5 + e
> m00 <- matrix(c(
1, NA, 0, NA, 1,
2,
2007 Jan 10
3
Fractional brownian motion
Dear All;
I have used fbmSim to simulate a fbm sequence, however, when I tried to
estimate the Hurst effect, none of the nine procedures gave me an answer
close enough to the real value, which is 0.5 (n=1000). So, would you please
advice,
1. which is the best method to estimate the H among the 9 mehods, R/S,
higuchi or Whittle?
2. how to choose the levels (default=50), minnpts, cutoff values or
2008 Mar 07
1
Trouble with R CMD check
Friends,
I changed one line of a package at the source level and then rebuilt it.
When I run R CMD check, I get an error:
installing R.css in C:/polsplineRS.Rcheck
---------- Making package polsplineRS ------------
adding build stamp to DESCRIPTION
making DLL ...
making hareall.d from hareall.c
making heftall.d from heftall.c
making lsdall.d from lsdall.c
making lspecall.d from lspecall.c
2001 Apr 27
1
INSTALL Problems
Dear All,
I have tried to install the tensor package (from:
http://cran.r-project.org/src/contrib/PACKAGES.html#tensor ), using the
comand:
"
shell("Rcmd INSTALL tensor")
"
then I got the following mensage:
----------------------------------------------------------------------------------
make: Entering directory `/d/bin/cran/rw1022/src/gnuwin32'
make DLLNM= EXTRADOCS= \
2001 Oct 08
1
Package Install Problem under Win98
Hi,
I have tried to install 'tensor' as a new package in these phases:
1.
via 'Install package from local Zip-File' in Rgui/Windows98:
install.packages("D:/R/_Pakets12MB/tensor.zip", .lib.loc[1], CRAN = NULL)
2.
Looking at the library folder, there was now a new entry 'tensor'
including some files e.g.
\library\tensor\R\tensor.R
3.
Then I have done
2004 Nov 17
1
need help on R
Hi,
I am working on a modeling project for PMI-Australia and interested in
using R, especially POLYMARS or PLYCLASS. I use SAS /PC on WINDOWS for
the statistical analyses including Modeling. I got R downloaded to the
system but can't figure out how to interface with SAS so that I could
use SAS datasets already in place.
Also I could not find POLYMARS on the library packages. I need to know
1999 Jul 20
2
tensor() function and sets
Hi Everyone,
To complete the outer() and kronecker() functions in the base, may I
suggest the following tensor() function, which allows the multiplication
of arrays through sets of conformable dimensions. I am happy to write a
help page if required.
The code also needs a setdiff() function which prompts me to ask: what
about simple set functions? I expect many of us have written our own
2006 Nov 07
1
gamm(): nested tensor product smooths
I'd like to compare tests based on the mixed model representation of additive models, testing among others
y=f(x1)+f(x2) vs y=f(x1)+f(x2)+f(x1,x2)
(testing for additivity)
In mixed model representation, where X represents the unpenalized part of the spline functions and Z the "wiggly" parts, this would be:
y=X%*%beta+ Z_1%*%b_1+ Z_2%*%b_2
vs
y=X%*%beta+ Z_1%*%b_1+ Z_2%*%b_2 + Z_12
2012 Jul 17
2
Problem creation tensor
Hi guys,
I need some help to analyzing my data.
I start to describe my data: I have 21 matrices, every matrix on the
rows has users and on columns has items, in my case films.
Element of index (i, j) represent the rating expressed by user i about item j.
I have a matrix for each of professions.
An example of a this type of matrix is:
item 1 item 2 item 3 item4
id
2012 Jul 30
2
mgcv 1.7-19, vis.gam(): "invalid 'z' limits'
Hi everyone,
I ran a binomial GAM consisting of a tensor product of two continuous
variables, a continuous parametric term and crossed random intercepts on a
data set with 13,042 rows. When trying to plot the tensor product with
vis.gam(), I get the following error message:
Error in persp.default(m1, m2, z, col = col, zlim = c(min.z, max.z), xlab =
view[1], :
invalid 'z' limits
In
2008 Dec 03
1
Taking slices with tensorA
I've set up a simple tensor with indices 'a' and 'b'.
> ftable(B)
b u v w x y
a
a1 0.001868954 0.403345197 0.030088185 0.137252368 0.142634612
a2 0.396935972 0.945219795 0.068828465 0.314180585 0.446338719
a3 0.752412200 0.748810918 0.125532631 0.471686930 0.345062348
a4 0.191103000 0.536607533 0.257740399
2008 Jul 29
1
tensor product of equi-spaced B-splines in the unit square
Dear all,
I need to compute tensor product of B-spline defined over equi-spaced
break-points.
I wrote my own program (it works in a 2-dimensional setting)
library(splines)
# set the break-points
Knots = seq(-1,1,length=10)
# number of splines
M = (length(Knots)-4)^2
# short cut to splineDesign function
bspline = function(x) splineDesign(Knots,x,outer.ok = T)
# bivariate tensor product of
2009 Sep 08
4
Count number of different patterns (Polytomous variable)
Hi there,
Does anyone know a method to calculate the number of different patterns
in a given data frame. The variables are of polytomous type and not
binary (for the latter i found a package called "countpattern" which
unfortunately only functions for binary variables).
V1 V2 V3
0 3 1
1 2 0
1 2 0
So, in this case, i would like to get "2" as output.
Thanks
2005 Jan 07
2
help with polytomous logistic regression
Hi!
I'm trying to do some ploytomous logistic regression using multinom() in the nnet package, but am a bit confused about interpretation of the results
Is it possible to get the following quantities:
I: maximum likelihood estimates to test for fit of model and significance of each predictor
(I would like to produce a table of the following type)
Analysis of Variance: MLE (values are
2009 Mar 11
1
matrix multiplication, tensor product, block-diagonal and fast computation
Dear R-users,
I am searching to the "best" way to compute a series of n matrix
multiplications between each matrix (mXm) in an array (mXmXn), and each
column of a matrix (mXn).
Please find below an example with four possible solutions.
The first is a simple for-loop which one might avoid; the second
solution employs the tensor product but then manually selects the right
outcomes. The
2012 Apr 02
1
gamm: tensor product and interaction
Hi list,
I'm working with gamm models of this sort, using Simon Wood's mgcv library:
gm<- gamm(Z~te(x,y),data=DATA,random=list(Group=~1))
gm1<-gamm(Z~te(x,y,by=Factor)+Factor,data=DATA,random=list(Group=~1))
with a dataset of about 70000 rows and 110 levels for Group
in order to test whether tensor product smooths vary across factor levels. I was wondering if comparing those two
2011 Sep 20
2
Multivariate spline regression and predicted values
Hello,
I am trying to estimate a multivariate regression of Y on X with
regression splines. Y is (nx1), and X is (nxd), with d>1. I assume the
data is generated by some unknown regression function f(X), as in Y =
f(X) + u, where u is some well-behaved regression error. I want to
estimate f(X) via regression splines (tensor product splines). Then, I
want to get the predicted values for some new
2001 Nov 05
2
Item Response Analysis
Hello,
Would someone have ever heard or developed any Item Response Models library
for R ? Of course, a Rasch model can be estimated through glm() but it is not
the case for more complex (polytomous) response models.
Similarly I would be interested in any R implementation of nonlinear
multivariate analyses a la GIFI (HOMALS, PRINCALS, OVERALS).
Thanks a lot in advance,
Yvonnick Noel, PhD.
2010 Jul 02
4
Some questions about R's modelling algebra
Hi all,
In preparation for teaching a class next week, I've been reviewing R's
standard modelling algebra. I've used it for a long time and have a
pretty good intuitive feel for how it works, but would like to
understand more of the technical details. The best (online) reference
I've found so far is the section in "An Introduction to R"
2007 Jan 18
5
how to get the index of entry with max value in an array?
Hi all:
A short question:
For example, a=[3,4,6,2,3], obviously the 3rd entry of the array has the maxium value, what I want is index of the maxium value: 3. is there a neat expression to get this index?
Thank you!
Best,
Feng
[[alternative HTML version deleted]]